From ac78d3bdf21d8fe7f3e30ae916ac1fd71f70382d Mon Sep 17 00:00:00 2001 From: Azgaar Date: Tue, 3 Sep 2019 13:53:59 +0300 Subject: [PATCH] continue based on https://github.com/tvogt/Fantasy-Map-Generator/wiki/Loading-into-QGIS --- GIS-data-export.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/GIS-data-export.md b/GIS-data-export.md index 482dcda..266f1f6 100644 --- a/GIS-data-export.md +++ b/GIS-data-export.md @@ -19,4 +19,27 @@ Download and installation instructions can be found [here](https://qgis.org). Th * https://www.qgistutorials.com/en/ * https://www.youtube.com/watch?v=kCnNWyl9qSE * https://www.youtube.com/watch?v=ltsKFhYQy_4 -* https://www.youtube.com/watch?v=kCnNWyl9qSE \ No newline at end of file +* https://www.youtube.com/watch?v=kCnNWyl9qSE + +# Loading into QGIS +Fantasy Map Generator allows to export some data in GIS-compatible format. + +## Cell Data +In the Save... menu of the Generator there is an option _.json_ to save the cell data into as a GeoJSON file. These can be imported into QGIS by choosing _Layer_ -> _Add Layer..._ -> _Add Vector Layer..._ + +![Steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/add_vectorlayer.png) + +Choose the saved .geojson file. It should be set up correctly as well, but doesn't show much. For the biomes, a prepared style can be found here [**LINK TO FILE**]. Load it for the new layer you just created and the biomes should show up. + +![Steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/add_vectorlayer2.png) + +There is additional cell information such as population, height (for a heightmap), but also states, provinces, culture, etc. exported, all of which can be used in QGIS to render this information. + +## Burg Data +Burg data can be downloaded as _.csv_ file using the button in the _Burgs Editor_ . The downloaded file contains position information (longitude, latitude and height) for burgs. These can be imported into QGIS by choosing _Layer_ -> _Add Layer..._ -> _Add Delimited Text Layer..._ + +![Steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/add_csv.png) + +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)