ahigh2

GeometryService Failures and Strange Results

Discussion created by ahigh2 on Jun 5, 2014
Hi,

I've taken the Geometry Operations - Distance sample from the 10.1.1 SDK samples and changed it in two ways, both of which provide strange or no results.

First:

Inputs are two user created polylines.
The output is a valid distance between the lines assuming they don't intersect. If they intersect, it provides a value that seems strange and incorrect. I would expect a distance of  "0" but instead I get a positive integer value that is either very large or very small depending on the length of the first line segment.

Second:

Inputs are a user created polyline and a user created polygon.
Distance operation doesn't fail it just times out after about 30 seconds and doesn't do anything.

Is this a known issue and is there a workaround?

Thanks,
Aaron

Outcomes