chrissmith

GeometryService Buffer Union results error

Discussion created by chrissmith on Jun 9, 2010
Latest reply on Jul 26, 2011 by coreyalix01
Hi

I am developing a silverlight app that uses the Rest geometry service to buffer and union the results

The following call works...(two overlapping polygons)
ArcGIS/rest/services/Geometry/GeometryServer/buffer?inSR=102100&outSR=102100&bufferSR=102100&distances=150&unit=9001&unionResults=true&geometries={"geometryType":"esriGeometryPolygon","geometries":[{"rings":[[[4760.63429102416,6695169.72251856],[6535.0182566172,6695140.63425683],[5555.71344500574,6693657.13290855],[4915.77168692301,6694190.41770695],[4760.63429102416,6695169.72251856]]]},{"rings":[[[6215.04737757584,6693773.48595547],[5924.1647602655,6694520.08467324],[6292.61607552526,6695024.28120991],[7145.87175296891,6694617.04554567],[6215.04737757584,6693773.48595547]]]}]}&f=json&

but if a third overlapping polygon is added it just returns an empty javascript object {} ...
ArcGIS/rest/services/Geometry/GeometryServer/buffer?inSR=102100&outSR=102100&bufferSR=102100&distances=150&unit=9001&unionResults=true&geometries={"geometryType":"esriGeometryPolygon","geometries":[{"rings":[[[4760.63429102416,6695169.72251856],[6535.0182566172,6695140.63425683],[5555.71344500574,6693657.13290855],[4915.77168692301,6694190.41770695],[4760.63429102416,6695169.72251856]]]},{"rings":[[[6215.04737757584,6693773.48595547],[5924.1647602655,6694520.08467324],[6292.61607552526,6695024.28120991],[7145.87175296891,6694617.04554567],[6215.04737757584,6693773.48595547]]]},{"rings":[[[6408.07694930826,6694260.45725222],[6572.15136340347,6694079.49282491],[7066.78746471993,6693843.03263989],[7549.35927088233,6694289.41156059],[7568.66214312882,6694651.34041522],[6408.07694930826,6694260.45725222]]]}]}&f=json&

The arcgis server logs contain the following error...
Method failed.HRESULT = 0x80040267 : This is a FACILITY_ITF error that is specific to the interface that returned this error. See the documentation of the interface that returned this error for information about this HRESULT.

Any help appreciated

Thanks

chris

Outcomes