Hello im using fme json fragmenter to get the coordinate X and Y from the attribute response body, im getting the coordinate in the field _result but in to line with the json index 0 and 1, do you know how i can get the coordinate for each feature?
Question
Hello im using fme json fragmenter to get the coordinate X and Y from the attribute response body, im getting the coordinate in the field _result but in to line with the json index 0 and 1, do you know how i can get the coordinate for each feature?
The best way may be to change the way to read the json file.
If you want to process these results, you can use an AttributeManager with option 'Enable Adjacent Feature Attributes' enabled, looking at 1 subsequent feature. Next, use some conditional values. When json_index = 0, _results from this feature contains longitude, and _resultsfrom the next feature contains latitude.
The best way may be to change the way to read the json file.
If you want to process these results, you can use an AttributeManager with option 'Enable Adjacent Feature Attributes' enabled, looking at 1 subsequent feature. Next, use some conditional values. When json_index = 0, _results from this feature contains longitude, and _resultsfrom the next feature contains latitude.
thank you it working with the attribute manager i didnt know this option
The best way may be to change the way to read the json file.
If you want to process these results, you can use an AttributeManager with option 'Enable Adjacent Feature Attributes' enabled, looking at 1 subsequent feature. Next, use some conditional values. When json_index = 0, _results from this feature contains longitude, and _resultsfrom the next feature contains latitude.
Hi, good to hear it works. There is always more to learn about FME 😃
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.