Phrogz / svg2geojson

Converts an SVG file with added geo-referencing tags into one or more GeoJSON files.
MIT License
57 stars 30 forks source link

Our deepest apologies, but quadratic curveto commands (Q) are not yet supported. #19

Open yuletide opened 1 year ago

yuletide commented 1 year ago

Bummer. Here's the svg:

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="36" height="72"><path fill="red" stroke="black" d="M18.07 24.12L18.07 24.12Q24.68 24.12 28.44 29.95L28.44 29.95Q31.68 34.80 31.68 42.61L31.68 42.61Q31.68 48.48 29.74 52.91L29.74 52.91Q26.16 61.14 17.93 61.14L17.93 61.14Q11.57 61.14 7.77 55.72L7.77 55.72Q4.32 50.77 4.32 42.61L4.32 42.61Q4.32 33.82 8.30 28.79L8.30 28.79Q12.09 24.12 18.07 24.12ZM17.93 29.14L17.93 29.14Q14.06 29.14 11.88 33.19L11.88 33.19Q9.95 36.74 9.95 42.61L9.95 42.61Q9.95 48.02 11.53 51.43L11.53 51.43Q13.71 56.11 18 56.11L18 56.11Q21.94 56.11 24.12 52.07L24.12 52.07Q26.05 48.52 26.05 42.68L26.05 42.68Q26.05 36.60 24.05 33.12L24.05 33.12Q21.90 29.14 17.93 29.14Z"/></svg>