Open TommasoDb opened 1 year ago
Please reduce your data to the problematic case. The error already tells you that relation 176651 is the problematic one. Extract it from your data file using osmium-tool. Then rerun the import and check that the error is still there.
I created a new osm file with osmium only containing the relation 176651. The import works well in this case. Data: germany_relation_176651.zip
Hint: the file I'm trying to import has been generated by osmconverter by clipping the file europe-latest.osm.pbf with this poly file: germany_buffer_30km.zip.
I used this command:
osmconvert europe-latest.osm.pbf -B=germany_buffer_30km.poly -o=germany_buffer_30km.pbf
I already suspected that it has something to do with clipped data but I really need a test case to provide a fix. Smaller than planet imports are simply not a use case for me.
You could also try and cut the extract with osmium instead of osmconvert. Maybe it creates more consistent data.
Command
wmt-makedb cycling import
does not work because of the errorGeometry type (GeometryCollection) does not match column type (LineString)
.I would like to share the test data but the size of the file is 5GB. Can I upload it somewhere?
Whole error message: