Lisp for 2 or more different polylines to have the same points (vertex) position

Lisp for 2 or more different polylines to have the same points (vertex) position

virgilius99
Contributor Contributor
1,290 Views
8 Replies
Message 1 of 9

Lisp for 2 or more different polylines to have the same points (vertex) position

virgilius99
Contributor
Contributor

Hi, I have a situation where the polyline on the red must have the same points (vertex) position as the ones on the green (example attached), having situations where the green ones have a lot of points (vertex) would be helpful a lisp to do this automatically at least on each one not on the whole drawing at once, thanks for the help.

0 Likes
1,291 Views
8 Replies
Replies (8)
Message 2 of 9

devitg
Advisor
Advisor

@virgilius99 will all green polys at such orientation ?  

0 Likes
Message 3 of 9

virgilius99
Contributor
Contributor

no, this is just an example, i att a real one ;))

0 Likes
Message 4 of 9

john.uhden
Mentor
Mentor

I am gathering that the red figures are approximate street rights of way and the green figures are parcels, perhaps drawn by deed description, and that you might be trying to create a tax map without right-of-way gores or overlaps.  Of course if the parcels were all surveyed and described by the same surveyor one might expect better collinearity.

Most of the parcels' front corners seem to be near the right of way, but some are more distant.  Is there a maximum distance that a front corner must be from the right of way wherein the right of way should be adjusted?

BTW, it would be a daunting task to cover the entire neighborhood in one command.  Not that it can't be done, but...

John F. Uhden

0 Likes
Message 5 of 9

virgilius99
Contributor
Contributor

yes, that's right, what is with red (land boundary) is measured in the field and those with green are tabulated lands, where the distance is smaller, they must have the same limit, as required in the regulations, but when the distance is greater no need, that's what I have to decide, so you don't have to do all the drawing at once, it's best to have each plot separately, thank you

0 Likes
Message 6 of 9

virgilius99
Contributor
Contributor

until now I used to make them by hand, but it's a lot of work when you have a large surface to cover, so I thought I'd ask for help ... because I don't know how to program

 

0 Likes
Message 7 of 9

alex101000
Collaborator
Collaborator

I solved a similar problem, but without a lisp in 3 stages:
1. Get coordinates of polylines: Polyinfo 
2. Further in Excel compared the coordinates by the difference. For convenience, I used PowerQuery 
You can compare polylines with different numbers of vertices.
3. I leave only the mismatched vertices and display labels by their coordinates. Similar scripts can be found on the net using the localized version (Geo_Import_v2_10.VLX)

--
Please select the Accept as Solution button if my post solves your issue or answers your question.
0 Likes
Message 8 of 9

john.uhden
Mentor
Mentor
... when the distance is smaller or greater than what? Or is that what
you're trying to decide? You say that the red "land boundary" (what I
called the right of way) is measured in the field. From what... markers,
edge of pavement, fence lines, signage, mail boxes?
Are you a professional land surveyor? What country?

John F. Uhden

0 Likes
Message 9 of 9

Kent1Cooper
Consultant
Consultant

One situation that makes it much more difficult [if possible], is what I found just randomly Zooming in around one little area.  The cyan parts here [I changed the color to differentiate] are separate  Polylines from the red ones adjacent to them -- the red roadway edge is not  a single object.

Boundaries.PNG

Those happen to meet accurately at their ends, and are joinable if that makes the task easier, but that joining would presumably need to be done before whatever routine is applied.  I expect some segmented boundaries won't be contiguous at their ends, requiring more work to get something to apply a routine to.

Kent Cooper, AIA