perliedman / ocad2geojson

JavaScript OCAD file reader and exporter for GeoJSON, SVG and Mapbox Style Spec
https://www.liedman.net/ocad2geojson/
GNU Affero General Public License v3.0
39 stars 4 forks source link

Line symbol gap handling is incomplete #8

Open perliedman opened 4 years ago

perliedman commented 4 years ago

OCAD's line symbols define a large number of properties to control how gaps in lines are handled. The reader reads all of them:

But Mapbox/GeoJSON/SVG exporters currently only use mainLength and mainGap, ignoring the other. I suspect this is why symbol element positions do not always match up positions in an map exported from OCAD.