Skip to main content
Question

Geojson file - how to copy the array of features to a new Geojson file?

  • August 20, 2024
  • 1 reply
  • 42 views

nicola.webb
Contributor
Forum|alt.badge.img+6

I am new to FME. I have a geojson file with an array of features - for example under functionalClass i have 6 different modes of transport and under category I have 5 different types of roads. I want to create a new geojson file but using an existing geopackage (with only the attribute field called roadName as a  value) but I need the new geojson file to have the same array of features as the first one. What would be the best way to create this? 

 

I have consider the feature readers and writers, JsonTemplater and JsonFormatter. But I am a bit lost on where to start or what transformer is the best to use in this case? Or is there an easy way to extract the arrays in FME so I can build csv files and just map them using an attributemapper transformer?

 

Thank you for your time.   

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • August 20, 2024

Are you able to share an example of the input datasets and an example of what output you’re after?