Skip to main content
Solved

xml to point

  • May 15, 2023
  • 5 replies
  • 87 views

bayram
Contributor
Forum|alt.badge.img+5

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?

Best answer by nielsgerrits

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.

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.

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

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

bayram
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • May 15, 2023

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


nielsgerrits
VIP
Forum|alt.badge.img+62

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 :)


bayram
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • May 16, 2023

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 :)

 


nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • May 16, 2023

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.