Page 1 of 1
Cloning a route in TS2024

Posted:
Tue Aug 27, 2024 10:29 pm
by Terrier060
I have been away for some time and find that when I clone a route in TS2024 Classic the origin comes in incorrectly and I cannot import Googlemap overlay or topographic data in the right place. Does anyone else have the same problem and is there a way for correcting the origin in the software please.
Re: Cloning a route in TS2024

Posted:
Wed Aug 28, 2024 10:58 pm
by AndiS
I never did this, but for a start, I would look into the folder of the route (that is the one with the long number containing dashes as a name). There ought to be a file named Routes.bin or Route.xml or something like that.
A case-insensitive text search for "origin" should bring up the interesting part of the file.
Since you just copy an existing route, you just need to locate the lines about the origin in the source route and in your clone and make sure that they are the same.
Re: Cloning a route in TS2024

Posted:
Thu Aug 29, 2024 6:02 pm
by Terrier060
Hi AndiS
Thanks for the help.
When I opened my route there is a Source file which I opened (see attachment). It is in Contents>Routes, and as you say has a RouteProperties.xml file which I opened.
Again as you say there is an origin section:
<Origin>
<sGeoPosition>
<Lat d:type="sFloat64" d:alt_encoding="174850FC18B34940" d:precision="string">51.3992</Lat>
<Long d:type="sFloat64" d:alt_encoding="C4B12E6EA3410AC0" d:precision="string">-3.28205</Long>
</sGeoPosition>
</Origin>
<MapOffset>
<sMapCoords>
<Easting d:type="sFloat64" d:alt_encoding="141A6A3A4029D3C0" d:precision="string">-19621</Easting>
<Northing d:type="sFloat64" d:alt_encoding="5C82922CCCB85541" d:precision="string">5.69426e+06</Northing>
</sMapCoords>
I replaced this section with the correct Long and Lat from my original route, but the Google Map data still came in at the wrong position??
When I clone it seems to take the origin on the ground texture set that I choose!!
Any thoughts would be appreciated.
Ed
Re: Cloning a route in TS2024

Posted:
Thu Aug 29, 2024 6:27 pm
by Terrier060
Brilliant AndiS
It worked! What I didn't realise when I did it a couple of days ago, is that you have to exit the program and open it again, but it seems to take a while (I cooked my supper and tried it half an hopur later!)
Ed
Re: Cloning a route in TS2024

Posted:
Fri Aug 30, 2024 9:33 am
by AndiS
Glad it worked right away.
Otherwise, you would have had to look for something on "UTM zone" in that file. The value should be 30U for most of England and Wales. However, I am not sure that this field still exists in these files. There were some changes on that in the course of (distant) history.
Yes, you always have to close and restart all programs for all sorts of fundamental changes in the data. That holds for most pieces of software. Changing the route origin is not something you do on a routine basis, so the software needs a bit of a kick and quite some time to recompute whatever coordinates depend on the route origin.
Re: Cloning a route in TS2024

Posted:
Fri Aug 30, 2024 9:16 pm
by Terrier060
Thanks again for your help AndiS. The google Map and DEM data all come in correctly.
Ed