Re: [OpenMap Users] line from latlon with distance in pixels

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 15 Mar 2005 13:12:21 -0500

OMLine(lat, lon, x1, y1, x2, y2);

The x and y pixel coordinates can be determined using trig, they
represents pixel offsets from the lat/lon location. So x1, y1 can be
0, 0 to attach to the location.

  - Don


On Mar 15, 2005, at 3:59 AM, Tore Halset wrote:

> Hello.
>
> I want to create a line from a latlon point with a given angel and a
> given distance in number of pixels. Do I have to use the Projection to
> calculate the latlon of the end of the line? What is the simplest and
> best way to do this?
>
> Regards,
> - Tore.
>
> --
> [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"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Tue Mar 15 2005 - 13:13:56 EST

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