I have two shapefiles: one contains streets of a city and one contains blocks (i.e. polygons bounded by the streets). I would like to have the streets attributed with the IDs of the left and right polygons.

Is there a way to do that in ArcGIS?


Quoted from the Identity tool on the Analysis toolbar:

"Checking or setting the Relationship parameter to KEEP_RELATIONSHIPS will write additional spatial relationships between the Input Features and the Identity Features to the output feature class. If the inputs are lines and the Identity Features are polygons, there will be two additional fields, LEFT_poly and RIGHT_poly."

I think you can get what you need with this tool. It needs an ArcInfo license.

| improve this answer | |
  • OK,I will check that out on Monday,when I have access to arcgis, but from the docs it seems that it should do the trick. – Bartosz Radaczyński Aug 7 '10 at 18:19
  • Yup, this got me almost what I wanted. It split up the segments into separate ones, each having one attribute for a polygon, but from that I joined them and got exactly what I needed. – Bartosz Radaczyński Aug 16 '10 at 9:07

You could use a buffer on your street shapefile and do a spatial query / join on the block shapefile. I am not an ArcGis specialist so I can't give you a more detailed answer unfortunately ...

| improve this answer | |
  • That is what I tried first, but could not get the results that I wanted. – Bartosz Radaczyński Aug 16 '10 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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