Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using the intersect service from the ArcGIS Geometry service. referring :

I have modified it to make it work with polylines it works fine to intersect a polyline with a polygon but does not return anything when I try intersecting a polyline with a polyline?

share|improve this question

closed as off-topic by PolyGeo Aug 16 at 22:48

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Are both datasets in the same spatial reference?
Are you including the spatial reference for the polylines?
The intersection.method returns the envelope or null if they don't intersect.

share|improve this answer
HI , Thank you for replying, Yes both the dataset are in the same spatial reference, and yes I a including the spatial reference for polyline intersect, I a not using ArcObjects , I am using the geometry service of ArcGIS [link]… .. Please guide –  user9961 Sep 5 '12 at 5:24
I think I would need more information to be of help as not returning anything is the expected behavior for no intersection. If you run this from the arcgis interface do you get any return? –  Brad Nesom Sep 5 '12 at 15:34

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