Open MichielMortier opened 1 month ago
Hi, I've had the same issue for 3 weeks. The problem is with MultiLineString. I made a PR (#241) but unfortunately, there has been no response yet. For now, I just explode the MultiLineString into multiple LineStrings, but it can be really slow if your data has many big MultiLineStrings.
Summary
When converting GeoJSON files containing a mix of
LineString
andMultiLineString
geometries to FlatGeoBuf format usingogr2ogr
, tippecanoe fails to process the resulting FlatGeoBuf file.Details
Problem Description:
I am encountering an issue when feeding FlatGeoBuf files that contain both
LineString
andMultiLineString
geometries into tippecanoe. The conversion from GeoJSON to FlatGeoBuf usingogr2ogr
completes successfully, but tippecanoe fails to process the resulting FlatGeoBuf file and returns the following error:Example GeoJSON: The following GeoJSON content works directly with tippecanoe but fails after converting to FlatGeoBuf:
Steps to Reproduce:
ogr2ogr
:Expected Behavior: tippecanoe should successfully process the FlatGeoBuf file and generate the corresponding MBTiles file.
Actual Behavior: tippecanoe returns the error:
Environment:
Additional Information: I suspect that the mix of
LineString
andMultiLineString
geometries within the same FlatGeoBuf file might be causing the issue. Any guidance or suggestions on how to resolve this would be greatly appreciated.Thanks!
KR Michiel