Updated Creating shape files in QGIS for map data (markdown)

FinCenturion 2022-11-18 21:40:04 +02:00
parent 0c3094ad6f
commit 64b98a2db6

@ -2,10 +2,21 @@
This guide will enable you to create data that the developers can use to enable support for a new map. We will use QGIS, an open-source GIS program to generate this data from various open sources. You need to have QGIS installed, preferably a 3.x+ version with GRASS processing toolbox.
https://www.qgis.org/en/site/forusers/download.html
Here is some basic information about what a .SHP shapefile is:
https://en.wikipedia.org/wiki/Shapefile
**The support of shapefiles is new for version 6.0 and enables you to use a dedicated GIS program to create data where the game should and should not allow frontline units and ships to be. QGIS is a very powerful program and you can arrive at the end product in a near infinite number of ways. In this guide one possible workflow is outlined that tries to take as many factors into account for problem free spawning. It will still be up to the campaign designer to use judgement where to place the frontlines to avoid troublesome behaviour.**
Here are the basic steps you need to take
## 1) Map projection
Some basic concepts about map projections can be learned here:
https://en.wikipedia.org/wiki/Map_projection
For DCS you need to know that the DCS maps use a UTM projection (meaning coordinates is measured in meters as opposed to degrees, basically), and we need to find out the UTM tile for the map we are working on.
https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system
Find the correct projection for the map. We already have the center meridian meaning we can figure out the proper UTM projection (https://github.com/pydcs/dcs/blob/master/tools/export_map_projection.py).
`CENTRAL_MERIDIANS = {