Hello my dears:
in attached file I pose a problem,
Unfortunately, I search in internet but do't got the results
Except in ArcGIS-Esri Software
Is in the map3d software can be draw centerline like ArcGIS-Esri or need to code
I am grateful guide
Solved! Go to Solution.
Solved by O_Eckmann. Go to Solution.
Hi,
no, but QGIS might be able to do it:
https://gis.stackexchange.com/questions/33887/finding-centrelines-from-polygons-in-qgis
Rob
Thank you for reply mr.robert I am sure qgis and arcmap software doing it
but I'm on AUTODESK software bigotry.
Is it possible do it by lisp code.
Hi,
>> Is it possible do it by lisp code.
Maybe ... if you can define he rules 😉
looking to your drawing, coord:
X = 959805.5439 Y = 10716258.9879
Define the rule how to draw the centerline between these three polygons.
Try to describe the rule so it is useful for every complex type of corridor-crossing situation.
If you draw it by hand you might find out yourself that this is not just a first shot, there are many possibilities how a line can run through that situation.
If such a rule exists, I try to get time for it (no promise, of course)
- alfred -
Hi dear Alfred:
I draw these (intersection between center lines) then to manually.
Though I don't need exact center lines, a minimum of precision is required. One more thing, the intersection of center lines does not matter much.
Hi,
>> Though I don't need exact center lines, a minimum of precision is required
It's not a question of accuracy, it's a question of strategy
Before write a tool you need to have rules your application can follow to solve ALL that situations. When you have that rules, the accuracy will be a result of your calculations according to that rules.
- alfred -
Hi Alfred
You're absolutely correct ,Any solution that you easily write the code proposal is acceptable in my view.
For example, they can be two two together joint or fillet
Hi,
Because your polygon come from regular grid spaced 82.0210*82.0210, you could use a solution without programming.
1. create an array of points offseted half of your grid 41.0105*41.0105
2. export your points and polygon in SDF file, and connect via FDO
3. create a buffer 5m on your polygon, and make overlay Substraction or indentity to remove points insed polygon and keep only points between original polygons
4. create a block with 8 lines and MAPIMPORT your points with this bloc
5. explose blocks and export lines as SDF, and connect SDF via FDO
6. create a buffer 23m from your original polygons and FDO overlay (identity) to remove extra line
7. MAPIMPORT your SDF of cutted lines, and MAPCLEAN with remove isolated node with a tolerance of 29
8. You should obtain only simple polyline between original polygone.
9. In some intersection you just have to remove unwanted segment
10. once intersection are cleaned, MAPCLEAN to join all segment
Olivier
Olivier Eckmann
Wow ... ;))))
Can't find what you're looking for? Ask the community or share your knowledge.