colorado71
Well-known member
TUTORIAL: How to use Topo Maps in Trainz
A. USING OF GLOBAL MAPPER
1. Configuration of Global Mapper
Install Global Mapper on your computer. Download custom_shaders rar from
http://trainz.uv.ro/tutorial/files/custom_shaders.rar
Unpack the archive and copy the file custom_shaders.txt in the installation folder of Global Mapper.
Run Global Mapper and select the option spectrum_trainz from “shader” bar on the program’s tool bar.
2. Georeference your topo map
Select the map (scanned map, satellite image, topo map etc.) you want to reproduce in trainz. You must know the geographical coordinates (latitude and longitude) of two points on it, so you can georeference it with Global Mapper.
From the File Menu of Global Mapper select “Rectify (Georeference) Imagery” click OK and select your image. Open it and the dialog box “Image Rectifier” will appear. Zoom the image over the first point of which coordinates you know, select it, insert its latitudinal and longitudinal position as __/__/___ (for example 21/38/45) and press “add GCP to list.” Proceed in the same manner with the second point. Save the image as GeoTIFF.
3. Select your future trainz map
a) Open the map thus created with GlobalMapper. From the File Menu select “Export Raster and Elevation Data” – “Export GeoTIFF.” In the dialog box which appear select “Export Bounds” and press “Draw a Box.” Select the area of your future trainz map and save it as GeoTIFF.
b) From the File Menu select “Download Online Imagery/Topo/Terrain Maps” (or simple open the DEM map for the area of your image map). Select the server from which you want to download the digital elevation map (http://seamless.usgs.gov/ or http://srtm.csi.cgiar.org/ for example) and then press OK. From the File Menu select “Export Raster and Elevation Data” – “Export DEM,” then select “Export Bounds” in the dialog box, and finally, press “Reset to Last Exported Bounds.”
B. USING OF MICRODEM
1. Open your DEM in Microdem. Modify Display Parameter, Grid and Map Area as in Wewain’s Tutorial from
http://freepages.misc.rootsweb.ancestry.com/~wewain/trainz/Surveyor/Baseboard/Topology/TerrainGeneration/Computer-generatedTerrain.htm
and save the Targa (.tga) file.
2. Open your GeoTIFF image in Microdem and Modify Grid and Map Area in the same manner as in the Wewain’s Tutorial, and save the Targa (.tga) file.
C. USING OF HOG
Put the two .tga files in Hog folder and proceed as in the Wewain’s Tutorial.
D. USING OF IRFANVIEW
If you receive from hog the message “Error: Size don’t match the size of elevation data image,” open the elevation data image .tga file and note the current size from Image – Information.
Open the other file and from Image – Resize/Resample – Set New Size modify the size to match with that of the elevation data image.
Return to the USING OF HOG.
E. IMPORT YOUR NEW MAP IN TRAINZ
Proceed as in the Wewain’s Tutorial.
Note:
For US you ca use topo maps from
http://www.mapcruzin.com/usgs-drg-topo-topographics-maps/usgs-drg-topographic-maps.htm
with homonym 7.5 min dems from
http://www.webgis.com/terr_us75m.html
A. USING OF GLOBAL MAPPER
1. Configuration of Global Mapper
Install Global Mapper on your computer. Download custom_shaders rar from
http://trainz.uv.ro/tutorial/files/custom_shaders.rar
Unpack the archive and copy the file custom_shaders.txt in the installation folder of Global Mapper.
Run Global Mapper and select the option spectrum_trainz from “shader” bar on the program’s tool bar.
2. Georeference your topo map
Select the map (scanned map, satellite image, topo map etc.) you want to reproduce in trainz. You must know the geographical coordinates (latitude and longitude) of two points on it, so you can georeference it with Global Mapper.
From the File Menu of Global Mapper select “Rectify (Georeference) Imagery” click OK and select your image. Open it and the dialog box “Image Rectifier” will appear. Zoom the image over the first point of which coordinates you know, select it, insert its latitudinal and longitudinal position as __/__/___ (for example 21/38/45) and press “add GCP to list.” Proceed in the same manner with the second point. Save the image as GeoTIFF.
3. Select your future trainz map
a) Open the map thus created with GlobalMapper. From the File Menu select “Export Raster and Elevation Data” – “Export GeoTIFF.” In the dialog box which appear select “Export Bounds” and press “Draw a Box.” Select the area of your future trainz map and save it as GeoTIFF.
b) From the File Menu select “Download Online Imagery/Topo/Terrain Maps” (or simple open the DEM map for the area of your image map). Select the server from which you want to download the digital elevation map (http://seamless.usgs.gov/ or http://srtm.csi.cgiar.org/ for example) and then press OK. From the File Menu select “Export Raster and Elevation Data” – “Export DEM,” then select “Export Bounds” in the dialog box, and finally, press “Reset to Last Exported Bounds.”
B. USING OF MICRODEM
1. Open your DEM in Microdem. Modify Display Parameter, Grid and Map Area as in Wewain’s Tutorial from
http://freepages.misc.rootsweb.ancestry.com/~wewain/trainz/Surveyor/Baseboard/Topology/TerrainGeneration/Computer-generatedTerrain.htm
and save the Targa (.tga) file.
2. Open your GeoTIFF image in Microdem and Modify Grid and Map Area in the same manner as in the Wewain’s Tutorial, and save the Targa (.tga) file.
C. USING OF HOG
Put the two .tga files in Hog folder and proceed as in the Wewain’s Tutorial.
D. USING OF IRFANVIEW
If you receive from hog the message “Error: Size don’t match the size of elevation data image,” open the elevation data image .tga file and note the current size from Image – Information.
Open the other file and from Image – Resize/Resample – Set New Size modify the size to match with that of the elevation data image.
Return to the USING OF HOG.
E. IMPORT YOUR NEW MAP IN TRAINZ
Proceed as in the Wewain’s Tutorial.
Note:
For US you ca use topo maps from
http://www.mapcruzin.com/usgs-drg-topo-topographics-maps/usgs-drg-topographic-maps.htm
with homonym 7.5 min dems from
http://www.webgis.com/terr_us75m.html
Last edited: