Skip to content

Latest commit

 

History

History
104 lines (63 loc) · 3.07 KB

README.md

File metadata and controls

104 lines (63 loc) · 3.07 KB

FH5-Cartography

Adobe Illustrator

Create FH5 map into a real map. Also known as a "fantasy map".

Use this as a sample project if you wanna create your won fantasy map, most important thing for converting a SVG to geoJSON is to have a clean SVG no points that start and end at the same point. (Clean up... in Illustrator fixes this), no curves make sure you add anchors and then simplify again.

To do

WIP, please consider contributing.

Layer Trace lvl

Tracing quality of layers. Most important to have perfect is the road tracing, least important are Polygons for Geography

Perfectly (Game verified as good as possible)

  • Nothing

Good (Best we can do from satellite image)

  • Nothing

Quick (So we have data to work with quick but usable)

  • Roads (WIP. 99% roads traced, intersections WIP, Bridges WIP)
  • Geography (WIP, Water done, Greens WIP, Others still need to be done)
  • Buildings (very simple for now)
  • Bridges (50% done)

Goal

Create SVG of FH5 map and convert it to a valid geoJSON or similar format to use as a basmap in QGIS or similar.

SVG TO GEOJSON

Illustrator - Object - Path - Clean up

Add Lines below directly in SVG tag root

<MetaInfo xmlns="http://www.prognoz.ru">
	<Geo>
		<GeoItem X="2148" Y="1435" Longitude="0.1" Latitude="-0.1" />
		<GeoItem X="0" Y="0" Longitude="-0.2" Latitude="0.1" />
	</Geo>
</MetaInfo>

https://github.com/Phrogz/svg2geojson

$ npm install -g svg2geojson
$ svg2geojson file.svg          # Writes file.geojson
$ svg2geojson file.svg --layers # Writes file.geojson, file-layer1Name.geojson, …
# See svg2geojson --help for more parameters

Tools Used:

Adobe Illustator 23.1

QGis 3.22.1-Białowieża

JOSM 18303

Inkscape 1.1.1

svgtogeojson

svg2geojson

Current Progress picture

23/11 Screen Shot 2021-11-24 at 4 52 56 AM

21/11 Screen Shot 2021-11-21 at 5 53 56 PM

Artboard 1

20/11 image

19/11

Notes

Things you cant have in your svg is lines with less than 2 vertices

You can clean up the singlepoints in Illustrator with Clean up...

To add vertices later to lines so you can still draw lines with 2 vertices. QGIS -> vector -> geometry tools -> densify