these days a partner asked me how he can gather meaningful (x,y) geodecimal coordinates from a PTV xServer2 request which is based on geodecimal coordinates. He requires them to feed some external navigation system for some guided navigation. As you may know we return a so-called BCR text aka RouteResponse.guidedNavigationRoute
This text contains the desired coordinates but these are based on PTV Mercator - no matter what the underlying route request's coordinate format is.[CLIENT]
ROUTENAME=xServer 2 - guided navigation route export
MAP_VERSION=unknown
[COORDINATES]
STATION1=937170,6270123
STATION2=935947,6270123
[VISITED]
STATION1=0
STATION2=0
[Station2Segmentcenters]
Point1=937193,6270115,151
Point2=937133,6270058,238
Point3=936612,6269767,241
Point4=936508,6269690,237
Point5=936035,6269565,6
So here's what you need to know to transform them into geodecimal:
- xServer.NET Forum: Classes for coordinaten Transformation (e.g. Mercator to Geodecimal)
- Generic peace of code: https://rextester.com/WGC52360