Select to view content in your preferred language

Polygon Split Algorithm

915
4
06-01-2010 02:05 AM
BrianBorg
Emerging Contributor
I am using Silverlight API 1.2 and have ArcGIS Server 9.3.1. I want to implement a polygon splitting algorithm on the client side. Since the geometry service of 9.3.1 does not support splitting, is there any algorithm available.

Thanks
0 Kudos
4 Replies
BrianBorg
Emerging Contributor
any help  please?
0 Kudos
DominiqueBroux
Esri Frequent Contributor
This doesn't look that easy to implement on the client side.
I think it would be easier you to write your own service on the server side to do that task. (I guess you can't use the existing cut geometry Service in 10).
0 Kudos
BrianBorg
Emerging Contributor
Thanks, this means that I'll have to write an arcobjects webservice. I am relatively new to arcobjects but managed to code editing webservices. What objects/interfaces should I look at in ArcObjects?
0 Kudos
DominiqueBroux
Esri Frequent Contributor
Here is an ArcObject snippet for cutting a polygon by a polyline:
http://help.arcgis.com/en/sdk/10.0/arcobjects_cpp/componenthelp/index.html#//001v0000001n000000

Then you will have to send geometry back and forth between the server and the Silverlight client application.
http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/03/11/Sending-geometry-between-Silverlig... is showing how to use a WCF service to perform that.
0 Kudos