Closed clement-igonet closed 4 years ago
Can you try now (with version 0.1.16)?
Traceback (most recent call last):
File "./zzz.py", line 5, in <module>
import osm2geojson
File "/usr/local/lib/python3.7/dist-packages/osm2geojson/__init__.py", line 3, in <module>
from .main import xml2geojson, json2geojson, xml2shapes, json2shapes, shape_to_feature
File "/usr/local/lib/python3.7/dist-packages/osm2geojson/main.py", line 14, in <module>
with open(polygon_features_file) as data:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/osm2geojson/polygon-features.json'
Ok, problem with polygon-features.json
fixed. Update and try to reproduce problem with "Failed to mark ref as used"
osm2geojson version 0.2.0
For overpass-turbo query
[out:json][timeout:60];
rel(1710944);
out body;
>;
out skel qt;
got a json response and running python3 -m osm2geojson infile.json outfile.geojson
prints out a lot of Failed to mark ref as used {'id':...
Calling xml2geojson function, I get a lot have messages (flooded) like this:
Here are my data from as osm file made with JOSM:
Does it mean something is wrong in my data ?