1

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

2

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!

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