Skip to main content
Question

Setting the Input Geometry Parameter for ESRI MapServer Reader

  • February 26, 2019
  • 1 reply
  • 45 views

Forum|alt.badge.img

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

bruceharold
Contributor
Forum|alt.badge.img+17
  • Contributor
  • February 26, 2019

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}}'


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