Re: [OpenMap Users] Retrieving RPF Frame data

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Thu, 23 Sep 2010 19:46:12 -0400

Hi Adam,

You can do a couple of things - you can call
RpfLayer.getCoverageBoxes(), and that gives you information about what
coverage is being displayed. Using an RpfCoverageBox, you can get the
series code and the scale for that particular entry. You can also
look in the RpfProductInfo.CATATLOG for more information about the
different products.

So that would be my first attempt to get what you want. You can
always grab the RpfFrameProvider from the RpfLayer, and ask it more
questions about available coverages directly.

It can get tricky, though, because sometimes those low-level images
and charts are marked as 'various' in the catalog, because their scale
changes depending on that particular product. This is usually true
for city graphics and stuff that isn't supposed to cover a large area.
 The RpfCoverageBox should have the scale read out of the A.TOC file
for that entry.

Hope this helps,

Don

On Thu, Sep 23, 2010 at 3:45 PM, Brightwell, William
<wbrightwell_at_mtcsc.com> wrote:
> Hey Don,
>
> Is there a way I can pull RPF frame data from the RPFLayer?  The use case is
> that I need to be able to provide an upper left and lower right of a
> rectangle and then tell the layer to give me an image that is “true” to
> scale of the imagery represented within that box despite the scale of the
> map.  Essentially, If I am viewing a 1:100k RPF but the map is set to 1:200k
> what I via the upper left and lower right I want to returned to me in
> 1:100k.
>
> Thanks,
> Adam
>
> --
> W. Adam Brightwell
> Software Engineer, MTCSC
> Certified Scrum Master
>
> Email: wbrightwell_at_mtcsc.com
> DCO:   william.brightwell_at_chat.dco.dod.mil
> Office: 843-856-1935/1985 x51632
> SPAWAR: 843-218-3583
> Cell: 843-810-8701
>
>

--
[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 Thu Sep 23 2010 - 19:47:27 EDT

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