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

Partial QGIS (QML) support #13

Closed perliedman closed 4 years ago

perliedman commented 4 years ago

Adds support for exporting styles in QML format, for use in QGIS.

Currently lines and areas are supported. Pattern fills, texts, line symbols and a lot of other features are currently missing.

mpickering commented 4 years ago

Is there a specification somewhere for the QML format?

perliedman commented 4 years ago

That is a very good question! I was sort of surprised that I could not easily find a spec, given that QGIS is open source and has a quite large community with lots of tools built around it.

My current approach has more or less been to reverse engineer the format by saving the styles I want in QGIS and examining the resulting XML. That is of course far from ideal.