Azgaar 2019-09-03 14:07:09 +03:00
parent ac78d3bdf2
commit 4fc34eb748

@ -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. 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) ![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.