"World-origin" container

From TrainzOnline
Jump to: navigation, search

Parent Class

The World-origin container is a top-level Map asset (KIND Map assets) entry in its config.txt file. It defines the base altitude of the map boards, the latitude and longitude of the world-origin corresponding to international definitions of a Geographic coordinate system.

  • The world-origin is set using the World Tools in tab [[F6]]. When seen in the Config.txt file, they will appear as unquoted Comma-separated values.

Supported Tags

  1. latitude — Three digit comma-separated values: (like 38,22.65,-1)
    1. Degrees of arc,
    2. Minutes (decimal),
    3. and an integer sign multiplier ('+'1='North', '-1'='South' latitudes)
  2. longitude — Three digit comma-separated values: (like 118,42.875,-1)
    1. Degrees of arc,
    2. Minutes of arc,
    3. and an integer sign multiplier ('+'1='East', '-1'='West' longitudes)
  3. altitude of map base, altitude given as an integer offset in metres, will be added to Map's altitude in Surveyor.
  • Example Setting the altitude to 100

Example world-origin container

This example is from the well known TRS2004 'Tidewater Point Railroad' Map by TrainzProRoutes distributed with TRS2006 as Tidewater South and Tidewater North. The location is somewhat north and west of Washington, D.C. in the USA. Note the sign multiplier in the western Hemisphere is "-1" indicating west rotation. (Western Hemisphere)

world-origin {
     latitude                                                               38,53.4,1
     longitude                                                             77,1.1998,-1
     altitude                                                                0
Personal tools