Skip to main content
Solved

xml to point


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

bayram wrote:

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.

View original
Did this help you find an answer to your question?

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

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
nielsgerrits wrote:

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+54
bayram wrote:

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
bayram wrote:

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+54
  • Best Answer
  • May 16, 2023
bayram wrote:

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.


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