Re: Determing NW, SE corners of each RPF Tile.

From: Donald Dietrick <dietrick@bbn.com>
Date: Tue Oct 23 2001 - 10:51:39 EDT

Hi Chris,

On Tuesday, October 23, 2001, at 09:59 AM, Strickland, Chris wrote:

> I can get the NW lat/lon and the SE lat/lon for all the tiles/frames
> defined
> in the a.toc file from the RpfToEntry class. Right now the only way I
> know
> of to get this same information for each individual tile/frame is to
> divide
> the lon delta by the number of vertical frames, then increment from the
> NW
> corner. And divide the lat delta by the the number of horizontal
> frames and
> decrement from the NW corner.

That's probably the best way to get the information. It happens to work
because of the projection of the image data.

>
> Is there some other way to obtain this information from the RpfFrame
> that's
> easier to do?

The RpfFrame does know the information (RpfFrame.coverage), but it's not
accessible. I've added methods to get the header, attributes and
coverage objects to change that for the next version of OpenMap.

That's just for the frame, though. Each frame actually contains 36
RpfSubframe images, and the location of each subframe is figured out by
the RpfCacheHandler when it creates the subframe, and calls
setLocation() on them.

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald 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"]
Received on Tue Oct 23 10:50:44 2001

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