Hausdorff and symmetric distances displayed after integration.
Added --insert_visual_variable argument for adding the CSV data column to the GeoJSON file.
Added -c flag for comparing 2 GeoJSON files.
Scale up equal area output maps, since F4Carto considers points at < 0.0001 distances the same point.
To generate an equal area map with the data embedded, run ./bin/cartogram ../sample_data/belgium/belgium.geojson ../sample_data/belgium/belgium_population2019.csv --insert_visual_variable --output_equal_area. The generated file can then be read into QGIS (Layer -> Add Layer -> Add Vector Layer) and exported as a Shapefile (right-click on the map layer on the bottom-left Layer panel > Export > Save Feature As). Note: when generating a Shapefile this way, do not change the CRS settings.
To compare two maps, run ./bin/cartogram ../sample_data/belgium/belgium.geojson ../sample_data/belgium/belgium_population2019.csv -c ./belgium_cartogram.geojson. The first file should be the original map, and the file after the -c flag should be the cartogram. No integrations will be done when the -c flag is used.
--insert_visual_variable
argument for adding the CSV data column to the GeoJSON file.-c
flag for comparing 2 GeoJSON files.To generate an equal area map with the data embedded, run
./bin/cartogram ../sample_data/belgium/belgium.geojson ../sample_data/belgium/belgium_population2019.csv --insert_visual_variable --output_equal_area
. The generated file can then be read into QGIS (Layer -> Add Layer -> Add Vector Layer) and exported as a Shapefile (right-click on the map layer on the bottom-left Layer panel > Export > Save Feature As). Note: when generating a Shapefile this way, do not change the CRS settings.To compare two maps, run
./bin/cartogram ../sample_data/belgium/belgium.geojson ../sample_data/belgium/belgium_population2019.csv -c ./belgium_cartogram.geojson
. The first file should be the original map, and the file after the-c
flag should be the cartogram. No integrations will be done when the-c
flag is used.