Skip to main content
Question

nested geojson extraction

  • March 28, 2019
  • 2 replies
  • 36 views

ladeef
Contributor
Forum|alt.badge.img+1

Hi all, I'm trying to query an API and convert a json file which contains nested geojson as a trip route. My final output is going to be a shapefile or feature class ESRI.

 

I'd like to have each "route" associated with the trip_id, duration, distance etc.

here is the response below, each route is a series of point files, I'm thinking I need to convert this to some sort of line to make this work. Any ideas?

 

what I have so far:

 

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.

2 replies

alexbiz
Influencer
Forum|alt.badge.img+31
  • Influencer
  • March 29, 2019

Hey @lladefian,

I took your json, and did the following :

I attach the workspace with this answer. (FME 2018.1.0.0 b18520)

89271.fmw

Please tell me if that help you!

Regards,

Alex


ladeef
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • April 1, 2019

Hey @lladefian,

I took your json, and did the following :

I attach the workspace with this answer. (FME 2018.1.0.0 b18520)

89271.fmw

Please tell me if that help you!

Regards,

Alex

thanks a bunch, list exploder was the tool I was missing, next time I'll try to add the data as text.