Re: [OpenMap Users] ImageTileLayer with large images

From: Pete Flugstad <pete.flugstad_at_email.domain.hidden>
Date: Wed Oct 13 2010 - 09:49:51 EDT

On Wed, Oct 13, 2010 at 8:32 AM, Don Dietrick <dfdietrick@gmail.com> wrote:
> I ran some tests, and of course java handles the bmp files with a
> world file - I modified the WorldFileImageReaderLoader to handle bmp
> files.  That change should be available soon.

My data actually has a <name>.bmp file and an associated
<name>.wif file. The .wif file contains that lat/long for each
corner of the image (as ascii text). I copied the WorldFile
java files to WIFfile and modified them to load the .wif file
instead of the normal world file. Otherwise my code is identical
to the WorldFile code.

> If you are going to use many images as a background and
> those images won't change that often, I would look into either using a
> WMS server as Chris suggested, or using the MapTileLayer that uses
> those tiles I wrote about earlier.  The performance of the tiles is
> really consistent over all scales.  You can use GDAL to merge the
> images and create the tiles (even from the bmp files, I think), or you
> can use the com.bbn.openmap.dataAccess.mapTile.MapTileMaker.

I'll definitely take a look at this. We expect our maps to be pretty static,
with a dynamic layer drawn over the top (which is why I was asking about
the background tag on the layers).

> Once you start getting to zoom level 13-14 and higher, the amount of
> tiles created gets to be pretty large, so you'll want to run some
> tests on a small number of tiles and look at them to make sure you're
> not wasting your time.

I think we're going to have to limit zoom - our target hardware only has
256 MB of RAM, so we have to keep the amount of map data loaded
to a minimum.

Thanks!
Pete

--
[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 Oct 13 09:57:20 2010

This archive was generated by hypermail 2.1.8 : Wed Oct 13 2010 - 09:57:20 EDT