Skip to main content
Question

Here Maps XML to CSV


harish
Contributor
Forum|alt.badge.img+10

I have Here Maps Data in XML format. I want to extract the data to CSV in FME. If I am directly adding XML there are issues in reading the file. Currently I am using an XML Flattener tool built using python. Is there any option in FME to do this?

3 replies

geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • June 10, 2024

Can you provide some sample data?

Can you show us what you have already tried?


harish
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • June 10, 2024

Find the sample data


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • June 10, 2024

Thank you for the sample data.

In this data set all attributes of one object (a 'Place’) are combined in in one text line. It is quite easy to access the data using the XMLFlattener transformer. You will have to process the results further, by exposing and optionally renaming the relevant attributes.

(Note: The rejected features are <Placelist> and </Placelist>, these contain no relevant data in this approach).

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings