svg-to-geojson icon indicating copy to clipboard operation
svg-to-geojson copied to clipboard

Multiple Moveto commands per path

Open GustvandeWal opened this issue 6 years ago • 0 comments

When using multiple Moveto commands per path, the line doesn't seem to stop but instead it seems that it moves on to the very first point of the path (the Moveto point you always start with), and only then goes to create the rest of the following shape. The result is a hotspot of (in my case) hundreds of lines at [0, 0], pointing to every shape on the map.

Looking it up, it seems that the problem has to do with the way svg-to-geojson differentiates exterior and interior rings.

Is this a bug or simply not a feature?

GustvandeWal avatar Apr 24 '18 02:04 GustvandeWal