# RE: [OpenMap Users] OMScalingRaster

From: John E. McKim <jmckim_at_ITAC.com>
Date: Fri, 14 Oct 2005 09:53:08 -0400

Hi Don,
The image is defined in terms of decimal degree lat/lon and
represents the vertices of the image. The OMScalingRaster only has a 2
point (ullat,ullon,lrlat,lrlon,image) constructor, but I have been given
a 4 point lat/lon image to be placed on the map, that needs to be
georeferenced. The 4 points trace out, counterclockwise, a rectangle
that is the virtices of the image. So its easy to determine the center
of the rectangle, but it's a little harder to determine the angle of
rotation of the image with respect to try north (to use for the
OMScalingRaster method call (setRotationAngle()), so I thought that I
John

-----Original Message-----
From: Don Dietrick [mailto:dietrick_at_bbn.com]
Sent: Friday, October 14, 2005 9:39 AM
To: John E. McKim
Cc: openmap-users_at_bbn.com
Subject: Re: [OpenMap Users] OMScalingRaster

Hi John,

Is your image still being defined in terms of decimal degree lat/lon
data, even with the four points? What do the four points represent?

- Don

On Oct 13, 2005, at 6:01 PM, John E. McKim wrote:

>
> Hi,
> I'm trying to display rectangular images on a map but using 4
> points instead of 2 points. Has anyone developed a routine within
> openmap or independently that would convert the 4 points into a 2
> point OMScalingRaster together with a rotation?
> John
>
> --
> [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 Fri Oct 14 2005 - 09:55:08 EDT

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