Take the 2-minute tour ×
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 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 id of the left and right polygon.

Is there a way to do that in ArcGIS?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

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.

share|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 ...

share|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

 
discard

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.