Skip to content

POSM extraction error #3

Open
Open
@jofomah

Description

@jofomah

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions