Skip to main content
Question

Set ArcGIS Server Feature Service via FeatureReader with Spatial Filter via attribute


caracadrian
Contributor
Forum|alt.badge.img+23

I created a Custom transformer that contains a FeatureReader set as Esri ArcGIS Server Feature Service.

I want to set Spatial Filter via an attribute. For this I created a conditional attribute (DE-9IM) with values TT*TT**** for Intersects and ********* for <No Spatial Filter>. If the case is that there is no filter, a conditional WHERE CLAUSE activates.

The problem is if the case is that there is no spatial filter the FeatureReader returns no data.

What is the corect DE-9IM value for <No Spatial Filter>?

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • July 13, 2022

This may be over thinking it, but if there is no option for <No Spatial Filter> you could make a HTTP call to the service to extract its bounds, then use that geom as the spatial filter


caracadrian
Contributor
Forum|alt.badge.img+23
  • Author
  • Contributor
  • July 14, 2022
hkingsbury wrote:

This may be over thinking it, but if there is no option for <No Spatial Filter> you could make a HTTP call to the service to extract its bounds, then use that geom as the spatial filter

That would be overthinking it 😀

FeatureReader actually has a Conditional Value option for Spatial Filter, but I want to set it up via attribute:

Spatial Filter conditional valueAnd it doesn't display correctly...

After fiddling around with this for an entire day I just want to find the DE-9IM solution.


Reply


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