Re: [OpenMap Users] Line & Point Functionality

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 20 Jun 2005 19:25:47 -0400

Hi Dick,

On Jun 17, 2005, at 4:00 PM, RWADAMS1_at_UP.COM wrote:

> I'm brand new to this mailing list, so forgive me if this question
> has been
> asked before. I did search the archives, though, and didn't find an
> answer.
>
> We're trying to evaluate whether OpenMap would be a good fit for our
> automated ballast train operation, which depends heavily on GIS
> functions.
> I've scanned the Javadocs and found a lot to like, but didn't see
> some of
> the key capabilities we need. Specially, we need the ability to:
>
> 1. Snap a point to a line. That is, given a geo point with lat/lon,
> & a
> line (a series of lat/lon points), we need to determine the point
> on the
> line which is closest to the "offline" point.

This functionality doesn't quite exist. You can easily figure out
which line is closest to a point, but then you'd have to write code
that iterates over the line's points to find the closest point.

> 2. Determine the shortest distance from a geographic point to a
> line of
> points.

I think that code does exist, in the com.bbn.openmap.geo.Intersection
class. There's a method there that does this. pointCircleDistanceNM.

Actually, it might also be able to figure out #1, too, or at least
give a way to figure that out.

- Don



>
> Does anyone know if OpenMap offers this functionality?
>
>
> Dick Adams
> (402) 544-0270
> _______________
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Jun 20 2005 - 19:30:20 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT