A tool to convert "Stadtplan-Dateien (*.sgs) Map File Format" from Roleplaying City Map Generator 5.4 to shape files
- Install Roleplaying City Map Generator 5.4 : http://www.stargazersworld.com/2009/02/27/roleplaying-city-map-generator/ or Search it on google!
- For mac users install winery to use the Generator : http://wineskin.urgesoftware.com/tiki-index.php
- For lunix users, wine should be juste fine! http://www.winehq.org/
- Install Python 2.X : http://python.org/download/
- Install GDAL : http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
- Install GDAL-Python : http://trac.osgeo.org/gdal/wiki/GdalOgrInPython
- Install WxPython : http://www.wxpython.org/download.php#stable
- The converter will save as Google Mercator (EPSG:900913)
For mac user Install
Your should be able to run the converter.
If you don't know what to use to view shape files use QGIS : http://www.qgis.org/
Run Roleplaying City Map Generator 5.4
Generate a city
In the menu "City map" use save to create à sgs file
Execute city_convert_window.py with python
Use the open button to get your sgs file.
Use the (x, y) fields to set the position of you city (The coordinates must be meters as in EPSG:900913)
Press convert and go check the folder named after the sgs file name in the sgs file directory
If a folder with the same name alredy exists, the converter add a number after the folder's name, incrementing until it's free to use
Thanks to the opensource community
Thanks to the OGC and OSGEO
Thanks to my gamemaster Nicklaus for those awesome games
Thanks to adube for this tutorial that started it all : https://github.com/adube/birthright-map/blob/master/README-raster.markdown
Thanks to ziggy, the author of http://blog.hawkbats.com/2012/11/17/stadtplan-dateien-sgs-map-file-format/