Skip to main content
Question

Generating Features for Each Vertex from JSON Line

  • June 17, 2026
  • 1 reply
  • 24 views

arash_hokm
Contributor
Forum|alt.badge.img+8

Hi everyone,

I have a JSON file that represents a line geometry containing 5 vertices (points). I would like to create a separate feature (record) for each vertex so that I can then generate vertices and rebuild the line geometry from them.

I tried using the ListExplorer to extract the X and Y coordinates as attributes. However, the issue is that X and Y are only extracted for a single feature, and the other vertices are not created as separate records.

Could you please take a look at the attached image for better understanding of my workflow?

Any suggestions on how to correctly create a feature for each vertex would be greatly appreciated.

Thank you

1 reply

nielsgerrits
VIP
Forum|alt.badge.img+66

Can you share a sample of the JSON file, the how to depends on the file structure and can be anything.

The transformers I use when parsing JSON are usually JSONFragmenter and JSONExtractor. I never used a reader to do that.