Skip to main content
Question

nested geojson extraction


ladeef
Contributor
Forum|alt.badge.img

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:

 

2 replies

alexbiz
Enthusiast
Forum|alt.badge.img+13
  • Enthusiast
  • 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
  • Author
  • Contributor
  • April 1, 2019
abizien wrote:

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.


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