images

Azgaar 2019-09-07 12:25:29 +03:00
parent 4407b1b5a7
commit bd390c4d0e

@ -31,29 +31,29 @@ 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)
![Steps](https://azgaar.files.wordpress.com/2019/09/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)
![Steps](https://azgaar.files.wordpress.com/2019/09/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)
![Steps](https://azgaar.files.wordpress.com/2019/09/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)
![Steps](https://azgaar.files.wordpress.com/2019/09/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://azgaar.files.wordpress.com/2019/09/merge-by-attribute.png)
![Steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/dissolve.png)
![Steps](https://azgaar.files.wordpress.com/2019/09/dissolve.png)
Note that QGIs automatically turns a polygon layer into a multipolygon layer for this.
@ -67,6 +67,6 @@ When working with cells, you need to make sure that neighbor cells are changed a
To get that painted look, you want to use textures to fill, especially for biome data. Simply set up the symbology to use a Raster Fill Image, pick your texture and make sure to set the Coord mode to "Viewport":
![steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/symbology.png)
![steps](https://azgaar.files.wordpress.com/2019/09/symbology.png)
![steps](https://raw.githubusercontent.com/tvogt/Fantasy-Map-Generator/geodata/wikidata/texturing.png)
![steps](https://azgaar.files.wordpress.com/2019/09/texturing.png)