Error message in adding a route file

Put your support requests here
Message
Author
pienky
Posts: 7
Joined: 24 Dec 2016 17:40

Error message in adding a route file

#1 Post by pienky »

Hi and thanks in advance for any help.

I am trying to import a route file from street maps...it is taking all the files except for the rail files I made...for this one, I'm getting the error message...undetermined entity reference "selstation" Any help would be greatly appreciated.

I have made other routes using street maps and they all worked fine...this is the first time I'm having this issue.

Thanks again,
Larry
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Re: Error message in adding a route file

#2 Post by geophil »

Is this a gpx file you are trying to open in TransDEM? If yes, does it have non-standard xml node names?
pienky
Posts: 7
Joined: 24 Dec 2016 17:40

Re: Error message in adding a route file

#3 Post by pienky »

Yes, it is a gpx file...and hmmm I don't know...I am trying to do the North Jersey Coast Line...I did from Bayhead to Long Branch...everything went fine...then did from Long branch to Rahway...everything imports...such as water, roads, highways...everything except for the rail file...thats where I get the error message...The only thing I see different is that there are government tracks connected along this part of the route, would that be stopping me from doing this.

Where would I see if it had non-standard XML node names?

Thanks for the quick reply geophil
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Re: Error message in adding a route file

#4 Post by geophil »

A typical gpx file will look like this:

Code: Select all

<?xml version="1.0" encoding="iso-8859-1" ?>

<gpx xmlns="http://www.topografix.com/GPX/1/1" creator="Ziegler-Tools" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" >
  <metadata>
    <bounds minlon="-2.126535011862" minlat="52.228095671379" maxlon="-2.055707827995" maxlat="52.309898055332" />
  </metadata>
  <trk>
    <name>1</name>
    <trkseg>
      <trkpt lon="-2.055789000004" lat="52.309813000000" >
        <ele>154.726000</ele>
      </trkpt>
      <trkpt lon="-2.055788000004" lat="52.309811000000" >
        <ele>151.299000</ele>
      </trkpt>
      <trkpt lon="-2.055787000004" lat="52.309811000000" >
        <ele>145.942000</ele>
      </trkpt>
    </trkseg>
  </trk>
</gpx>
There may also be route points <rtept> instead of or in addition to track points <trkpt>. A few other nodes are valid as well, but TransDEM will ignore those.
pienky
Posts: 7
Joined: 24 Dec 2016 17:40

Re: Error message in adding a route file

#5 Post by pienky »

Thanks for your quick reply,

I found this one line in the code:

<link href="http://www.njtransit.com/rg/rg_servlet.srv?hdnPageAction=TrainStationLookupFrom&selStation=158">
</link>

Would this be enough to give that error message...and if it was will I be able to delete it and have it work.
pienky
Posts: 7
Joined: 24 Dec 2016 17:40

Re: Error message in adding a route file

#6 Post by pienky »

geophil, I answered my own question...I deleted the line...actually found it twice...and it now works.

Thanks again for all your help. It is truly appreciated.

Next time I'll know to look for that.
pienky
Posts: 7
Joined: 24 Dec 2016 17:40

Re: Error message in adding a route file

#7 Post by pienky »

I'm sorry, I spoke too soon <sighs>

I was able to upload all the sections, rail, roads, water...now it seems like the create UTM Tile Objects to the map isn't highlighted.

I'm sorry to be asking so many questions, but I am new at this...Is there something I'm missing...I loaded the dems and then brought in the different map sections...Maybe something I'm forgetting?

Thanks in advance
pienky
Posts: 7
Joined: 24 Dec 2016 17:40

Re: Error message in adding a route file

#8 Post by pienky »

UPDATE::: I just redid the whole route...and this time it came out ok...But if you could answer my question anyway I would appreciate that. When you close down TransDEM what do you need to reload to get it all to work correctly...

Thanks again geophil I appreciate all of your time and effort
geophil
Posts: 1516
Joined: 05 Jan 2011 16:45
Contact:

Re: Error message in adding a route file

#9 Post by geophil »

pienky wrote:<link href="http://www.njtransit.com/rg/rg_servlet.srv?hdnPageAction=TrainStationLookupFrom&selStation=158">
</link>
An isolated '&' is an invalid character that causes the XML parser to abort. TransDEM uses the XercesC library for XML parsing which is very strict. '&' is reserved and must be "escaped", as the ampersand actually represents the escape character. To embed '&' into XML code, the XML generator must produce "&".
pienky wrote:I was able to upload all the sections, rail, roads, water...now it seems like the create UTM Tile Objects to the map isn't highlighted.
For UTM tiles you will have to load your raster data: maps and ortho-images, and, for efficient map tile filtering, your vector data. The DEM is not needed. When creating UTM tiles in 3D, the necessary terrain formation is taken from the generated Trainz route, not from the DEM.
pienky
Posts: 7
Joined: 24 Dec 2016 17:40

Re: Error message in adding a route file

#10 Post by pienky »

I'm trying to load my raster maps...but it seems like you can only load one at a time...is there a file that is a compilation of all the maps...I'm not seeing it if there is...

Thanks in advance
Post Reply