Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POSM extraction error #3

Open
jofomah opened this issue Oct 7, 2015 · 0 comments
Open

POSM extraction error #3

jofomah opened this issue Oct 7, 2015 · 0 comments

Comments

@jofomah
Copy link

jofomah commented Oct 7, 2015

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant