I'm using the release version 3.1 of the web edition. I am getting a strange error on at some points when I call GetFeaturesWithinDistanceOf. Here is my line of code:
var features = layer.QueryTools.GetFeaturesWithinDistanceOf(e.Position, GeographyUnit.Meter, DistanceUnit.Meter, double.Parse(Configuration.GetConfigurationElement("GISSearchRadius")), columnNames);
The GISSearchRadius is .3, and e.Position =
- e.Position {ThinkGeo.MapSuite.Core.PointShape} ThinkGeo.MapSuite.Core.PointShape
+ base {ThinkGeo.MapSuite.Core.PointShape} ThinkGeo.MapSuite.Core.PointBaseShape {ThinkGeo.MapSuite.Core.PointShape}
CanRotate true bool
X 2460352.5213927007 double
Y 5734096.3710874338 double
Z 0.0 double
The error only occurs on one layer in a certain area. The error I get is:
"The shape you provided does not pass our simple validation.The shape you provided does not pass our simple validation."
What validation am I breaking???? The API should tell me what validation I have broken.