Cloning a route in TS2024

Cloning a route in TS2024

Postby Terrier060 » Tue Aug 27, 2024 10:29 pm

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.
Terrier060
Fit for Firing Duties
 
Posts: 48
Images: 7
Joined: Tue Feb 17, 2015 11:47 pm
Has thanked: 9 times
Been thanked: 21 times

Re: Cloning a route in TS2024

Postby AndiS » Wed Aug 28, 2024 10:58 pm

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.
AndiS
Top Link Driver!
 
Posts: 765
Joined: Wed Apr 09, 2014 5:48 pm
Has thanked: 270 times
Been thanked: 316 times

Re: Cloning a route in TS2024

Postby Terrier060 » Thu Aug 29, 2024 6:02 pm

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
Attachments
Source file.jpg
Terrier060
Fit for Firing Duties
 
Posts: 48
Images: 7
Joined: Tue Feb 17, 2015 11:47 pm
Has thanked: 9 times
Been thanked: 21 times

Re: Cloning a route in TS2024

Postby Terrier060 » Thu Aug 29, 2024 6:27 pm

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
Terrier060
Fit for Firing Duties
 
Posts: 48
Images: 7
Joined: Tue Feb 17, 2015 11:47 pm
Has thanked: 9 times
Been thanked: 21 times

Re: Cloning a route in TS2024

Postby AndiS » Fri Aug 30, 2024 9:33 am

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.
AndiS
Top Link Driver!
 
Posts: 765
Joined: Wed Apr 09, 2014 5:48 pm
Has thanked: 270 times
Been thanked: 316 times

Re: Cloning a route in TS2024

Postby Terrier060 » Fri Aug 30, 2024 9:16 pm

Thanks again for your help AndiS. The google Map and DEM data all come in correctly.
Ed
Terrier060
Fit for Firing Duties
 
Posts: 48
Images: 7
Joined: Tue Feb 17, 2015 11:47 pm
Has thanked: 9 times
Been thanked: 21 times


Return to Route Creation

Who is online

Users browsing this forum: No registered users and 1 guest