Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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

Your Answer


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.