From 4fc34eb748266e109172e1672f935256b3e0c7fb Mon Sep 17 00:00:00 2001 From: Azgaar Date: Tue, 3 Sep 2019 14:07:09 +0300 Subject: [PATCH] continue based on https://github.com/tvogt/Fantasy-Map-Generator/wiki/Processing-in-QGIS --- GIS-data-export.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/GIS-data-export.md b/GIS-data-export.md index 266f1f6..17cc233 100644 --- a/GIS-data-export.md +++ b/GIS-data-export.md @@ -43,3 +43,14 @@ Burg data can be downloaded as _.csv_ file using the button in the _Burgs Editor Choose the exported .csv file. It should all be set up correctly automatically, so just check that x and y are correctly set to the longitude and latitude fields. ![Steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/add_csv2.png) + +# Processing in QGIS +To create a political/religious/provinces/culture/etc. map use _Vector_ -> _Geoprocessing Tools_ -> _Dissolve..._ and select the .geojson file as input and the attribute you want to merge by (e.g. "state"). QGIS will merge all the polygons that share the same attribute so that you end up with one multipolygon per state/culture/religion/etc. + +![Steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/merge-by-attribute.png) + +![Steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/dissolve.png) + +Note that QGIs automatically turns a polygon layer into a multipolygon layer for this. + +Simply repeat this step for all the layers that you want to use (once for states, once for provinces, etc.). This will give you one layer in QGIS per attribute, and you can then style and hide/show the layers as needed. \ No newline at end of file