Select to view content in your preferred language

IntersectAsync , does it return attributes with the graphics

667
2
Jump to solution
07-16-2012 04:30 PM
RickHendrickson
Occasional Contributor
Hello When you using the IntersectAsync geometry service class method does it return attributes of the graphics that it intersects. I have a some soils graphics that I need to 'clip' with a boundary. So I thought this would work, it seems to work correctly and return the correct graphics but I don't think there are any attributes left.

Anyone know?

Thanks
Rick
0 Kudos
1 Solution

Accepted Solutions
DominiqueBroux
Esri Frequent Contributor
Intersect REST API is working with the geometries only. The attributes are not sent to the server (and so are not returned).

However the Intersect API returns all geometries in the same order than the input geometries (the geometries that don't intersect having a null extent).
So you should be able to retrieve the attributes from the input graphics.

View solution in original post

0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Intersect REST API is working with the geometries only. The attributes are not sent to the server (and so are not returned).

However the Intersect API returns all geometries in the same order than the input geometries (the geometries that don't intersect having a null extent).
So you should be able to retrieve the attributes from the input graphics.
0 Kudos
RickHendrickson
Occasional Contributor
OK, thanks that makes sense. I'll give it a shot.
Rick
0 Kudos