Another Route Marker Problem
Moderator: Moderators
Another Route Marker Problem
Hi guys, I am having problems getting my Google Earth marker files into the game. I first tested it last night and managed to get the first few markers in the game following the tutorial "A Beginners Guide To Route Preparation". I then wanted to do a whole routes worth of markers so did it all on Google Earth, saved the KML file, converted it with RSTools, edited the csv file with Spreadsheet to remove the third column and moved the 2 files to the RouteMarkers folder. This is where the problems start, when trying to create the next part with the Asset Editor I am getting the same message that a lot of people are getting "Unexpected number of parameters in CSV file". Having read through the various threads on the topic I realise that this is a problem with the content of the CSV file, most probably a " in there somewhere. On reopening the csv files to have a look, every line seems to have a " at the start and end, is this the problem and how do I rectify it. Or am I better off just trying to map the route using the Google Maps Route Planner as mentioned in the help section of RSTools?
DPSimulation - http://www.dpsimulation.org.uk/ - Free High Speed Downloads of TS2012 Content
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
- paulz6
- Very Active Forum Member
- Posts: 2255
- Joined: Tue Oct 18, 2005 4:22 pm
- Location: Disused Railway Lineside Shack
Re: Another Route Marker Problem
If you've converted the files using RS tools, there is no need to manipulate the csv file.
Re: Another Route Marker Problem
But I thought I had to manipulate it to make 2 files, or can I just put the 1 file in both areas on the asset editor?
DPSimulation - http://www.dpsimulation.org.uk/ - Free High Speed Downloads of TS2012 Content
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
- paulz6
- Very Active Forum Member
- Posts: 2255
- Joined: Tue Oct 18, 2005 4:22 pm
- Location: Disused Railway Lineside Shack
Re: Another Route Marker Problem
RS Tools will convert a KML file into a RS importable csv file. This should be placed in your source RouteMarkers folder. The only other file required is a XML blueprint file in the same directory referring to the csv file. This is then to be exported using the asset editor, which will create a load of files in the assets RouteMarkers folder. One of the created files is a dcsv file. You can run RS tools DCSV Precision function on this to correct the low resolution rounding performed by the RS export.
Re: Another Route Marker Problem
Even with just using the one file that RSTools creates I am still getting the unexpected number of paramaters message. I have removed all traces of CSV files that I had done, gone back into Google Earth, resaved the KML file and converted it using RSTools and it is still the same, I presume it could be something to do with names that I have possibly used when placing the markers in google earth so I am going back in there now for a look.
DPSimulation - http://www.dpsimulation.org.uk/ - Free High Speed Downloads of TS2012 Content
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
- paulz6
- Very Active Forum Member
- Posts: 2255
- Joined: Tue Oct 18, 2005 4:22 pm
- Location: Disused Railway Lineside Shack
Re: Another Route Marker Problem
You might get problems with comma's in your marker names! I don't know if spaces may cause a problem. They did in MSTS so I developed a habit of not using them.
The csv content for a named marker file looks like below:
-0.09089475569467709,53.56331763797468,Signal
-0.07623543699334334,53.57347378465868,AWSRamp
The csv content for a series marker file looks like below:
-0.2745059880077321,53.60643405142773
-0.2740706583741712,53.60669262020279
-0.2742625487933594,53.60696132749516
The csv content for a named marker file looks like below:
-0.09089475569467709,53.56331763797468,Signal
-0.07623543699334334,53.57347378465868,AWSRamp
The csv content for a series marker file looks like below:
-0.2745059880077321,53.60643405142773
-0.2740706583741712,53.60669262020279
-0.2742625487933594,53.60696132749516
- paulz6
- Very Active Forum Member
- Posts: 2255
- Joined: Tue Oct 18, 2005 4:22 pm
- Location: Disused Railway Lineside Shack
Re: Another Route Marker Problem
And come to think of it, named and series markers have differing number of parameters. Are you trying to create a series marker from a named marker file, or vice versa?
Re: Another Route Marker Problem
Done it!! There were two commas which I had stupidly inputted even though I knew they shouldn't be included. Sorted now, thanks for the swift replies mate.
DPSimulation - http://www.dpsimulation.org.uk/ - Free High Speed Downloads of TS2012 Content
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates
DPSimulation Blog - http://dpsimulation.blogspot.co.uk/ - News, Views & Development Updates