[postgis-users] Obtaining the intersection

Álvaro Gutiérrez alvaro.gutierrez at treelogic.com
Mon Mar 27 00:10:37 PST 2006


Hi everyone. I'm new at this list and with PostGIS. My english isn't 
very good, sorry.
I have to two multilinestrings that are almost perpendicular, but they 
don't intersect. What i want is to enlarge one of them so it intersects 
with the other one, and then obtaining the intersection point, and 
splitting the line with the intersection in two from that intercection 
point.

    Line to split:
         MULTILINESTRING ((439889.59 4474591.929, 439976.17 4474582.01))

    Line wich should intersect whith it:
         MULTILINESTRING ((439923.24 4474588.07, 439924.28 4474546.04, 
439932.48 4474500, 439937.73 4474470.48))

    Distance between them, they are almost touching:
          0.0038770415180001817

Thanks for your help. And sorry again for my english:
       



More information about the postgis-users mailing list