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 a feature layer with land parcels as polygons. Polygons (land parcels) are either adjacent in all its around sides by other polygons but some of them have a road a which is not actually a feature layer representing roads but is just an empty space between parcels. In this case, parcels have access to roads. The question is how can I automattically check if a polygon has access onto a road using VBA and AcrObjects.

Thanks Deme

share|improve this question
add comment

1 Answer

I think the fastest would be building a topology for your data and then validating the data on the same.

If you see the Topology Poster, you will find a polygon rule which says "Must not have gaps"...you can use this rule to build topology and then validate your data against it. All the dirty areas will have the polygons with gaps, and that's what you need.

Refer the AO code here.

Cheers!

share|improve this answer
    
Thanks for the suggestions. –  Demetris Jun 1 '11 at 7:05
    
Just curious, is this a one time activity or a repetitive one? –  ujjwalesri Jun 1 '11 at 7:13
    
It is a one time activity to check all the parcels and fill a field with yes/no. –  Demetris Jun 1 '11 at 13:03
add comment

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.