RE: [OpenMap Users] Raster Product Format / CIB support

From: Webb, Todd <twebb_at_titan.com>
Date: Mon, 2 Aug 2004 19:21:12 -0700

 rpfProps.put("rpfLayer.imageScaleFactor", "32");

Got it. Worked great. I did see that in the javadoc for rpfLayer, but frankly if you're not an expert on OpenMap nor familiar with RPF, many of the properties need more than a single-line comment to understand what is going on. and I wasn't about to mess around with the defaults until I got it working...

So thanks again :-)

Todd

-----Original Message-----
From: Don Dietrick [mailto:dietrick_at_bbn.com]
Sent: Monday, August 02, 2004 6:24 PM
To: Webb, Todd
Cc: openmap-users_at_bbn.com
Subject: Re: [OpenMap Users] Raster Product Format / CIB support


You can increase the scaleFactor property.

- Don

On Aug 2, 2004, at 8:41 PM, Webb, Todd wrote:

> Ok, I see - thanks. I was zooming in and out to see if it would load,
> and I finally got it to display at 1:80,000. If the scale isn't in
> the right range, it just gets dropped altogether.
>
> Is there a way to override this behavior? I thought by setting
> "scaleImages" to "true" it would just scale whatever it has. I can
> pan a dozen times in one direction at this scale, but I zoom out once
> and the map is dropped. Suggestions?
>
> Here is the output from RpfTocHandler, if that is of any use
> For A.TOC: /data/RPF/
> RpfTocEntry ##################
> vertInterval 7.193092447916674E-4, horizInterval 7.411861979166693E-4
> vertResolution 79.99997574074082, horizResolution 76.10829296296323
> horizFrames 1, vertFrames 1
> zone 1
> scale OVERVIEW1
> version
> Cib false
> compressionRatio 8:1
> producer NIMA
> nw_lat 29.037084, nw_lon 47.921074
> se_lat 27.932225, se_lon 49.059536
> chart code OV
> scale 0.0
> vertical subframes 6
> horizontal subframes 6
> percent coverage 0.0
> RpfTocEntry ##################
> vertInterval 6.74352621483377E-4, horizInterval 7.303930055401664E-4
> vertResolution 75.00000000000013, horizResolution 75.00000000000001
> horizFrames 1, vertFrames 1
> zone 1
> scale OVERVIEW2
> version
> Cib false
> compressionRatio 8:1
> producer NIMA
> nw_lat 29.002557544757032, nw_lon 47.96675900277012
> se_lat 27.966751918158565, se_lon 49.0138504155125
> chart code OV
> scale 0.0
> vertical subframes 6
> horizontal subframes 5
> percent coverage 0.0
> RpfTocEntry ##################
> vertInterval 4.4956841432225065E-5, horizInterval 4.869286703601108E-5
> vertResolution 5.0, horizResolution 5.0
> horizFrames 14, vertFrames 15
> zone 1
> scale 5M
> version
> Cib true
> compressionRatio 8:1
> producer NIMA
> nw_lat 29.002557544757032, nw_lon 47.96675900277012
> se_lat 27.966751918158565, se_lon 49.0138504155125
> chart code I2
> scale 0.0
> vertical subframes 90
> horizontal subframes 84
> percent coverage 0.0
>
> Thanks again!
>
> Todd
>
>
> -----Original Message-----
> From: Don Dietrick [mailto:dietrick_at_bbn.com]
> Sent: Monday, August 02, 2004 2:13 PM
> To: Webb, Todd
> Cc: openmap-users_at_bbn.com
> Subject: Re: [OpenMap Users] Raster Product Format / CIB support
>
>
> Hi Todd,
>
> For 10m CIB, the scale is 1:66,666. 5m CIB is 1:33,333.
>
> You are setting the scale to 1:1.5M, so the layer wouldn't display CIB
> at that scale. You need to set it closer to 1:66,666, or within some
> scale closer to the scaleFactor of 4, i.e. either 4*66,666 or 66,666/4.
>
> - Don
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Mon Aug 02 2004 - 22:21:39 EDT

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