Tag Info

New answers tagged

0

The fix is defining a filterType parameter in the OpenLayers.Control.GetFeature constructor: new OpenLayers.Control.GetFeature({ filterType: OpenLayers.Filter.Spatial.INTERSECTS, ... The default filterType is OpenLayers.Filter.Spatial.BBOX that results correctly in an uncertain Filter() query in SQL Server, when a spatial index is set. If ...


1

There are a couple of reasons why what you're trying to do here won't work. As dpp pointed out, you need to delete / reinsert changed coordinates on the index once something moves around. Otherwise, the index has no way of knowing that its cached metadata is dirty. Items cannot be inserted into an STRTree once it has been built, so it's not suitable for ...



Top 50 recent answers are included