Jody,
As a new user/participant on the list I hate to cause waves, but I notice that
a lot of the documentation might as well be Greek to me. I mention it here
because this question seems to be a really good example of what I'm talking
about. Jean Marie asked a question about determining the distance from a point
to a line and it is listed in the documentation under "Using SpatialIndex and
LocationIndexLine to Snap points". I might be because I'm new to the project,
but my initial thoughts on this page when I saw it before was that it had to do
with GUI functionality (snapping frames/panes/windows).
I know a lot of people have put a lot of time into producing the documentation
that we have, but one of the things I find the most offsetting about the entire
project is the fact I can drown in documentation without ever having an idea
what I'm doing wrong.
I apologize in advance for any toes I may have stepped on. I would be willing
to help with updating the documentation, but I don't know nearly enough about
how the library (or GIS) works.
-Duane
From: Jody Garnett [mailto:[email protected]]
Sent: Friday, June 25, 2010 8:50 PM
To: Jean Marie
Cc: [email protected]
Subject: Re: [Geotools-gt2-users] closest distance between a point and the line
That functionality is provided by JTS (the library we use for geometry).
Since this is a common question we have it covered in the user guide:
-
http://docs.codehaus.org/display/GEOTDOC/Using+SpatialIndex+and+LocationIndexLine+to+Snap+points
Jody
On 26/06/2010, at 12:16 AM, Jean Marie wrote:
hello
is there an easy way with Geotools to get the closest distance
between a point and a line (this line being specified by 2 points)
thanks in advance
jean-Marie
________________________________
Envie de plus d'originalité dans vos conversations ? Téléchargez gratuitement
les Emoch'ticones
!<http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
Geotools-gt2-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users