Skip to content

OSM-Catalan/manuel

Repository files navigation

Description

Tool to generate reports of OpenStreetMap

Example: generate report of the total length of residential and living_street highways in OpenStreetMap without name.

Installation

pip install .

Previous steps

Tools needed

Data preparation

  • Create database (dbname, dbuser, dbpass) with the postgis and hstore extensions
  • Edit report.conf to set your conection data (dbname, dbuser, dbpass), area name and area/subarera admin_levels
  • Download data: http://download.geofabrik.de/index.html
  • Load data to database:
osm2pgsql -s --cache-strategy sparse -G --hstore -E 4326 -l -C 2048 -S report.style -d dbname data-planet.osm.pbf -H localhost -U dbuser -W

Usage

  • Execute
manuel towns/report.conf

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •