Geoprojection: internal coordinates?
Posted: 09 Sep 2019, 12:00
Hi Goku and all,
Working on routes in the Netherlands, using the standard map projection of MSTS and Open Rails gives quite a skew in routes that are globally oriented from north to south or vice-versa.
I found out about the option to move the center of the map projection to a central location in the route in this topic. However, when I try to use this, I get tangled up in the internal coordinates (the third and fourth parameter of the TSREGeoProjection () TRK parameter.
Is there a way we can calculate the correct value for these parameters? I have not found documentation about these parameters yet, and trying to convert the Lat/Long by copying the "ConvertToInternal(double lat, double long, IGHCoordinate* out)"-function in the code to create a converter does not seem to give the right solution.
Regards,
Robert
Working on routes in the Netherlands, using the standard map projection of MSTS and Open Rails gives quite a skew in routes that are globally oriented from north to south or vice-versa.
I found out about the option to move the center of the map projection to a central location in the route in this topic. However, when I try to use this, I get tangled up in the internal coordinates (the third and fourth parameter of the TSREGeoProjection () TRK parameter.
Is there a way we can calculate the correct value for these parameters? I have not found documentation about these parameters yet, and trying to convert the Lat/Long by copying the "ConvertToInternal(double lat, double long, IGHCoordinate* out)"-function in the code to create a converter does not seem to give the right solution.
Regards,
Robert