You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "filename.py", line 14, in <module>
for o in osmium.FileProcessor(Path('filename.py')).with_locations().with_filter(osmium.GeoHandler()):
^^^^^^^^^^^^^^^^^
AttributeError: module 'osmium' has no attribute 'GeoHandler'. Did you mean: 'BaseHandler'?
I think osmium.GeoHandler() filter does not exist, osmium.filter.GeoInterfaceFilter() should be used instead.
Using osmium 4.0.2 on Python 3.12.8.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The example code does not work for me in https://github.com/osmcode/pyosmium/blob/master/docs/user_manual/03-Working-with-Geometries.md#python-geo-interface
I think
osmium.GeoHandler()
filter does not exist,osmium.filter.GeoInterfaceFilter()
should be used instead.Using osmium 4.0.2 on Python 3.12.8.
The text was updated successfully, but these errors were encountered: