Skip to main content
Question

Translate xml TransXchange data to another format

  • June 20, 2017
  • 3 replies
  • 51 views

Forum|alt.badge.img

Has anyone had experience with the TransXchange transport information format used in the UK ?

I'm unable to get the xml reader in Workbench to read/ translate the data into another format (i want to import into a GIS)

This is the schema:

ttp://www.transxchange.org.uk/schema/2.4/TransXChange_general.xsd

 

and the following the error message

 

Opening the XML reader with source dataset 'F:\\FME_processing_data\\Carto_jobs\\TravelineCymru\\NewAdventureTravel63-Brecon-Sennybridge-Ystradgynlais2_TXC_2016510-0220_PWAO063.xml'

The uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_aixm.xml' is being used to map from URI to URI

The uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_citygml.xml' is being used to map from URI to URI

The uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_inspire.xml' is being used to map from URI to URI

The uri-map document 'C:\\Program Files\\FME2017\\xml\\urimap\\gml_urimap.xml' is being used to map from URI to URI

Unable to configure the XML module to read the XML dataset. No <xrs:switch> item in the xrs document 'C:\\Program Files\\FME2017\\xml\\xrs\\xrs.xml' matched the XML dataset 'F:\\FME_processing_data\\Carto_jobs\\TravelineCymru\\NewAdventureTravel63-Brecon-Sennybridge-Ystradgynlais2_TXC_2016510-0220_PWAO063.xml'

The XML format could not be determined by examination. Try entering a feature path into the "Elements to Match" parameter, specifying an xfMap, selecting an XRS, or using a more specific reader

The XML Module halted on error, see the logfile for details

Cheers,

Bruce

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

revesz
Contributor
Forum|alt.badge.img+21
  • Contributor
  • 122 replies
  • June 21, 2017

Hi,

Have you selected the nodes to import in Parameters/Elements to Match? If you click on the button with ... you can select the XML nodes in the tree structure, eg.: TransXChange/Routes/Route

I tried this sample XML and it works.


Forum|alt.badge.img
  • Author
  • 3 replies
  • June 22, 2017

Hi, and thanks for this.

I've managed to extract the "Track" information, and starting to create vertices from the easting and northing attributes.

A work in progress, but I'm getting there ;-)


  • 3 replies
  • May 3, 2018

Hi @beedge144 did you manage to get the Operating Profile days out? It comes up as an attribute like: OperatingProfile.RegularDayType.DaysOfWeek.Wednesday with no value..