Question

Setting the Input Geometry Parameter for ESRI MapServer Reader

  • 26 February 2019
  • 1 reply
  • 3 views

Badge

I need a little help finding the correct format to enter a spatial envelope Input Geometry. Looking at the following link It looks like I need to put the following information into the Input Geometry Parameter (xmin, ymin, xmax, ymax). I tried this with no records being returned. Is there a trick to pre-filter spatial data from an ArcGIS Server service.

http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/arcgisfeatures/ft-parameters-r.htm


1 reply

Badge +16

You'll need EsriJSON, which for a rectangle will look like (subject to spatial reference):

 

'{"rings":[[[1990899.8181999996,542444.47700000182],[1990899.8181999996,552689.28990000114],[1997326.9540000036,552689.28990000114],[1997326.9540000036,542444.47700000182],[1990899.8181999996,542444.47700000182]]],"spatialReference":{"wkid":26945,"latestWkid":26945}}'

Reply