Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

n1ngu/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

Languages

  • HTML 95.6%
  • Python 4.4%

AltStyle によって変換されたページ (->オリジナル) /