Solved

xml to point

  • 15 May 2023
  • 5 replies
  • 12 views

Badge +4

Hello everyone

 

I have coordinate values in xml data. I want to generate points from these values. I tried some methods but failed. Can you help me?

icon

Best answer by nielsgerrits 16 May 2023, 10:43

View original

5 replies

Userlevel 6
Badge +32

One way to do this is to use a XMLFragmenter to create features from the objects with lat/lon in it.

  • Creater to initiate.
  • XMLFragmenter
    • Elements to match
      • PreviousRecordingData/Markers/Marker
      • PreviousRecordingData/Recordings/PreviousRecording
    • Merge Attributes From Input Feature
      • No
    • Flatten Options
      • Enable Flattening
  • AttributeExposer
    • Latitude
    • Longitude
  • VertexCreator
    • X = Longitude
    • Y = Latitude
  • CoordinateSystemSetter
    • EPSG:4326
Badge +4

One way to do this is to use a XMLFragmenter to create features from the objects with lat/lon in it.

  • Creater to initiate.
  • XMLFragmenter
    • Elements to match
      • PreviousRecordingData/Markers/Marker
      • PreviousRecordingData/Recordings/PreviousRecording
    • Merge Attributes From Input Feature
      • No
    • Flatten Options
      • Enable Flattening
  • AttributeExposer
    • Latitude
    • Longitude
  • VertexCreator
    • X = Longitude
    • Y = Latitude
  • CoordinateSystemSetter
    • EPSG:4326

merhaba nielsgerrits

Thank you very much for your answer, I followed the steps, but I could not reach the result, if possible and if you have time, can you make a WB? My xml file is attached

Userlevel 6
Badge +32

merhaba nielsgerrits

Thank you very much for your answer, I followed the steps, but I could not reach the result, if possible and if you have time, can you make a WB? My xml file is attached

Sure :)

Badge +4

merhaba nielsgerrits

Thank you very much for your answer, I followed the steps, but I could not reach the result, if possible and if you have time, can you make a WB? My xml file is attached

hi nielsgerrits

Thank you very much, I understand what I missed :)

 

Userlevel 6
Badge +32

merhaba nielsgerrits

Thank you very much for your answer, I followed the steps, but I could not reach the result, if possible and if you have time, can you make a WB? My xml file is attached

Nothing beats a working example :) happy I could help.

Reply