Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Has anyone already use IGeometryServer2 or IGeometryServer within C# code ? I'm looking for a sample since I have not succeeded in using it.

I have already selected:
One Polyline (IPolyline) : for cutting
One Polyline (IGeometry) : the shape to be cut

Thanks in advance.

Best regards,

share|improve this question
It looks like you asked it here so I will link your question from the ESRI forums… – dkroy Jul 26 '11 at 3:44

Here is an example of IGeometryServer usage:

share|improve this answer
That's from ArcGIS Server 9.3 he wanted samples from 10.0. – dkroy Jul 26 '11 at 3:56
Didn't read the post title closely. – Gady Jul 26 '11 at 15:41

Esri's website seems to have everything you need. Here is the API Reference for the IGeometryServer2.Cut Method. They also have a whole section on migrating your code from 9.3 to 10.0 that also may be of use to you. The site also has the sample code of the GeometryServer with 10.0 that you requested.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.