Hello,

I have 52338 polygons which needs to be edited using the following rules;

The distance between the intersection point and the closest vertices on two intersecting

polylines should be at least 1.2 meter as shown below. On the other hand the distance

between two closest vertices should not be less than 2 meters. What I'm trying to do is

automatically calculate the optimum angle angle between two polylines to meet the given

two rules as I explained above.

ArcGIS Desktop doesn't have such built-in tool to calculate the angle as far as I know.

Is there any tool or script that you could suggest ? If there is no such solution it would

also be great, to select vertices which are 2 meters apart from the intersection point.

I will be grateful for any help you could provide.

Regards

Given the radius from the intersection point and the distances to the minimums on the intersecting lines, you have formed a chord Chord (geometry) - Wikipedia, the free encyclopedia

So you have the 'circle' radius, the chord distance (cd), hence the angle (theta in the link) can be solved as the minimum requirement given, r and cd. As r varies so will theta, given a cd.

If you have already existing polylines, there is no guarantee that there will be vertices at r, so one will have to be created of course.