Kai Li
2013-07-25 16:48:20 UTC
Hello,
I'm using project() function to get the distance of nearest point along a
multilinestring, then use this distance in interpolate() function to find
the nearest point in the multilinestring. What's not as I expected is that
if the distance indicated is in the ending of a linestring, the
interpolate() function will always return the beginning point of next
linestring.
So, how can I easily find the nearest point with this kind of exception? Do
I need to write loops to project() and distance() on each linestring?
Regards,
I'm using project() function to get the distance of nearest point along a
multilinestring, then use this distance in interpolate() function to find
the nearest point in the multilinestring. What's not as I expected is that
if the distance indicated is in the ending of a linestring, the
interpolate() function will always return the beginning point of next
linestring.
So, how can I easily find the nearest point with this kind of exception? Do
I need to write loops to project() and distance() on each linestring?
Regards,
--
?? ( Kai Li )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20130725/1994eec4/attachment.htm>
?? ( Kai Li )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20130725/1994eec4/attachment.htm>