GithubHelp home page GithubHelp logo

posm's Introduction

posm

Extract tools for OSM data

See the POSM Wiki for instructions.

posm's People

Contributors

dodobas avatar norkans7 avatar nicpottier avatar icrni avatar

Stargazers

Tang Zheng'en avatar

Watchers

 avatar James Cloos avatar  avatar  avatar  avatar

posm's Issues

POSM extraction error

Hi,

Am install POSM and tried to extract Cameroon's osm data, i am using OSM file i got from http://download.geofabrik.de/africa/cameroon.html.

i used configuration instructions at https://github.com/nyaruka/posm/wiki

when i got to https://github.com/nyaruka/posm/wiki#a-fresh-start, and followed the steps, i got the following error:

DEBUG Command: python generate_geojson.py --rm --all --settings settings.yaml INFO Converting to geojson ... exported_geojson.zip ERROR Converting to geojson has not exited cleanly! ERROR INFO Found feature R192830 ... Traceback (most recent call last): File "generate_geojson.py", line 328, in <module> main(settings=settings, cli_args=args) File "generate_geojson.py", line 193, in main feature0.GetGeomFieldRef(1) File "/home/jofomah/posm_env/local/lib/python2.7/site-packages/osgeo/ogr.py", line 2818, in __getattr__ raise AttributeError(key) AttributeError: GetGeomFieldRef

if i run: python generate_geojson.py --rm 192830 --settings settings.yaml

i get:

WARNING Feature 192830 is missing ... INFO Creating archive in the current directory... ERROR Problem creating ZIP archive...

[Suggestion] Fixing wiki

I'm following the steps in the wiki, and in this section:

ubuntu specific fix to install GDAL in the virtual_env

is better if you add that it will work if they activate the virtualenv with source bin/activate

iso codes

@dodobas - first amazing works! I've been dreaming of this. I've only seen one group do this but alas they kept the code to do it closed source.

Question on the imports before I dig into it too much. Does OSM include [ISO-3166](http://www.iso.org/iso/country_codes.htm] country codes in the data? If so, it might be worth adding that to the data that's extracted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.