How can i restrict a user editing data outside AOI?

584
1
01-04-2017 07:23 AM
chandrasekhar_reddyguda
New Contributor III

Hi All!

we have received water network data from customer, where need to edit data only inside of given AOI (Given polygon only), but during the editing  data user some times editing outside of AOI . So I have to stop editing data outside of AOI.

I am familiar with ArcObjects .net and also with python. could anybody suggest suitable solution for the same.

Regards,

Chandra Sekhar Guda

Tags (2)
0 Kudos
1 Reply
TedKowal
Occasional Contributor III

Looking quickly at your question and drawing.... I would say that is something you do not want to do.  I am assuming you data is attached to your geometry so any editing would have to occur on the complete geometry segment.  That said, and the fact that nothing is impossible, one way to accomplish your desire would involve:

1.  Split your geometries at the border of your AOI.

2.  By programmatic means lock the geometries that are outside of the AOI (if segment outside of AOI polygon then don't allow edits)

HOWEVER, I would highly recommend you do not go down this path.  In time your data-set will become unmanageable. The best way may be user training to not edit outside of your AOI's