CodePlexProject Hosting for Open Source Software
I downloaded the DotSpatial tools, but not find a function what find the nearest line by a point.
Who can tell me which function do?
My MSN: owen_ics@hotmail.com
Please join me and contact me, thanks.
who can answer the question?
This should be in the DotSpatial.Topology library
I have tried to use the DotSpatial.Topology, but DistancePointLinePerpendicular and DistancePointLine maybe exist some accuracy problems. Finally, it can't get the intersection value by the compute distance.
There should be a "Distance" function no geometries like a LineString. So if you create a DotSpatial.Topology.Point from your point in question, and a DotSpatial.Topology.LineString from each of the lines, you can then cycle through and get the distance in each case.
Ted
Friends, I'm also having the same problem. Can anyone give tips on how to find the row closest to the point? Sincerely,
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.