mgastner / cartogram-cpp

Cartogram generator in C++
MIT License
8 stars 4 forks source link

Output valid geojson #132

Closed phongulus closed 2 years ago

phongulus commented 2 years ago

Minor changes that should yield valid cartogram GeoJSON files. The validity of the GeoJSON files can be checked at this link: https://www.itb.ec.europa.eu/json/geojson/upload.

The ordered_json type was also used to make sure the GeoJSON key value pairs are written in the correct order. QGIS is sensitive to this.