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

Shapely-1.5.12 issue? #48

Open
Revo86 opened this issue Mar 1, 2016 · 0 comments
Open

Shapely-1.5.12 issue? #48

Revo86 opened this issue Mar 1, 2016 · 0 comments

Comments

@Revo86
Copy link

Revo86 commented Mar 1, 2016

I'm struggling with imposm, after I've entered the following command:

$ ~/venv/bin/imposm --concurrency 2 --read --overwrite-cache --write -d osm -U openstreetmap -m /home/openstreetmap/OSM/imposm-mapping-bus-2.py --deploy-production-tables ~/nordrhein-westfalen-latest.osm.bz2

Enabling Shapely speedups.
Traceback (most recent call last):
  File "/home/openstreetmap/venv/bin/imposm", line 9, in <module>
    load_entry_point('imposm==2.6.0', 'console_scripts', 'imposm')()
  File "/home/openstreetmap/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 353, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/openstreetmap/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2321, in load_entry_point
    return ep.load()
  File "/home/openstreetmap/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2048, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/home/openstreetmap/venv/local/lib/python2.7/site-packages/imposm/app.py", line 39, in <module>
    import imposm.mapping
  File "/home/openstreetmap/venv/local/lib/python2.7/site-packages/imposm/mapping.py", line 18, in <module>
    import imposm.geom
  File "/home/openstreetmap/venv/local/lib/python2.7/site-packages/imposm/geom.py", line 51, in <module>
    SHAPELY_SUPPORTS_BUFFER = shapely.geos.geos_capi_version >= (1, 6, 0)
AttributeError: 'module' object has no attribute 'geos_capi_version'

What am I missing? Do I need another GEOS version?

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