Hi here, Thank you always. Your responses on this platform have been of an immeasurable value to me. In my python project, I want to combine street segments having the same name as one. Merging them is not a problem for me, but how do I do it such that the nodes of each street segment is combined with others, and such that they are arranged in an orderly pattern, to form a single straight street? asked 01 Sep '22, 21:38 Segunlakata |
What editor are you using?
Is this for a downstream application? Do you want to upload the result to OSM?
It is like a student project on extracting streets within a specified region in OSM and identifying points of intersection . So let's say street "Rue" starts from A and runs through point B to C, and another street "Avenue" starts from X through point B to Y. Then what I want to achieve in my python code now is having on Rue, the street segments AB and BC merged together as one street still under the name Rue, then also street segments for Avenue is merged as one (XB +BY) , with both Rue and Avenue intersecting at B. I'm also particular about the order of street segments merging so that the combined nodes are so arranged as they are in reality on the OSM map.
How are you merging?
unary_union? dissolve?
Have you asked on GIS Stackexchange?
If you do; don't forget a code-snippet and leave a trail-of-breadcrumbs (a link) please.