Re: [OpenMap Users] Line/Sample to Ground Points

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Fri, 21 Oct 2011 12:06:50 -0400

Hi Randy,

How were you doing the warping yourself? Were you using the OMWarpingImage?

The other thing you can do is to run it through GDAL and turn it into
a set of tiles, and then use the
com.bbn.openmap.imageTile.MapTileLayer to display the tiles. If you
use GDAL to convert an image to tiles, you have to use a
com.bbn.openmap.dataAccess.mapTile.TMSMapTileCoordinateTransform in
the MapTileLayer. The MapTileLayer javadocs should have details on
how to do that.

- Don

On Sun, Oct 16, 2011 at 6:06 AM, Randy Moore <jrmoore1953_at_verizon.net> wrote:
> Hi There,
>
> I was curious if there is any code in OpenMap that would take an image file
> that is stored in line/sample (with the 4 corner point coordinates stored
> seperately), that rotates and skews the image so that it can be overlayed
> onto the map. The image may come from commercial airborne sensors and be in
> GeoTiff or JPEG format. I deally I would like to convert image to PNG where
> the black border pixels are made to be transparent. I had a method based on
> bilinear interpolation, but it is quite slow (8+seconds to convert).
>
> Thanks,
>
> Randy Moore

--
[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 21 2011 - 12:07:33 EDT

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