SV: [OpenMap Users] re-projection an image

From: Marklund David <damak@wmdata.com>
Date: Wed Jun 23 2004 - 09:21:47 EDT

Hi all,
I have tried and tried these options for plotting images, at now I have a OmRaster that looks good, but does not follow the scale when zooming or panning. Any ideas ?

I would also like to know how to configure a EarthImagePlugIn layer and how to create a '-180/180 longitude -90/90 latitude in the Transverse Mercator projection ' image from my own images.

Cheers

David

-----Ursprungligt meddelande-----
Från: Don Dietrick [mailto:dietrick@bbn.com]
Skickat: den 22 juni 2004 13:17
Till: 'Ben Podoll '
Kopia: Keith Alphonso; 'openmap-users@bbn.com '
Ämne: Re: [OpenMap Users] re-projection an image

Ben,

The com.bbn.openmap.plugin.earthImage.EarthImagePlugIn does this (what
Keith describes), but it assumes that the image ranges from -180/180
longitude -90/90 latitude in the Transverse Mercator projection. It's
good for those NASA images.

- Don

On Jun 21, 2004, at 10:25 PM, Keith Alphonso wrote:

> If you know how to calculate the lat/lon from each pixel in your
> image, you
> can use the following algorightm to project into an openmap projection.
>
> loop through each pixel in the openmap image object (OMRaster), map
> that
> pixel to a lat/lon then use your algorithm to match that lat/lon into
> your
> images pixel. Copy that pixel value over and move on. It aint fast,
> but it
> works.
>
>
> -----Original Message-----
> From: Ben Podoll
> To: openmap-users@bbn.com
> Sent: 6/21/04 4:36 PM
> Subject: [OpenMap Users] re-projection an image
>
> If I have an image, and I know all the bounds and size and projection
> (which
> is LCC) and I need to convert it into an OpenMap supported projection
> (directly from the image - PNG or JPEG) how can I do this? Anybody have
> an
> application already written to do such a thing?
>
>
> --
> [To unsubscribe to this list send an email to "majdart@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@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@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@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Jun 23 09:45:56 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:39 EDT