Question

Define json precision?

  • 15 November 2017
  • 1 reply
  • 6 views

Badge +2

Hello,

I am wondering if there is a way to define precision for json files generated with the ESRIJSON writer. I am reading from a 10.1 ESRI File Geodatabase, writing to ESRIJSON and get 4 digits after the decimal, where I'm looking for 10. The coordinate system of the reader is web mercator (meter) - I know 10 digits is unnecessary but am trying to match the format of other files. Using the ArcGIS geoprocessing tool 'Features to json' gives me the 10 digit precision.

FME 2012, ArcGIS 10.1 SP1.

Any help would be appreciated.

Thanks


1 reply

Badge +7
Hi @timboberoosky thanks for your question!

 

I ran a simple Shapefile -> EsriJSON conversion in FME 2017.1 and got the expected 9 decimal places. This leads me to believe that an upgrade may give you the results you're looking for.

 

If that's not possible, would you be able to provide some sample data and a workspace? Perhaps there is a workaround possible.

 

Thanks,

 

Nathan

 

Reply