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

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 2 Aug 2004 17:13:01 -0400

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



On Aug 2, 2004, at 4:15 PM, Webb, Todd wrote:

> Thanks everyone for the help. Unfortunately I must be retarded or
> something since after 2 years of using OpenMap it still takes me
> forever to get something new to work.
>
> I re-formatted my properties and added the suggested properties to the
> following
> Layer rpfLayer = new RpfLayer();
> Properties rpfProps = new Properties();
> rpfProps.put("rpfLayer.paths", "/data/RPF");
> rpfProps.put("rpfLayer.opaque", "255");
> rpfProps.put("rpfLayer.numberColors", "216");
> rpfProps.put("rpfLayer.showmaps", "true");
> rpfProps.put("rpfLayer.showinfo", "false");
> rpfProps.put("rpfLayer.scaleImages", "true");
> rpfProps.put("rpfLayer.imageScaleFactor", "4");
> rpfProps.put("rpfLayer.killCache", "true");
> rpfProps.put("rpfLayer.chartSeries", "ANY");
> rpfProps.put("rpfLayer.autofetchAttributes", "true");
> rpfProps.put("rpfLayer.autofetchAttributes", "false");
> rpfProps.put("rpfLayer.coverage", "true");
> rpfProps.put("rpfLayer.subframeCacheSize", "1");
> rpfProps.put("rpfLayer.auxSubframeCacheSize", "1");
> rpfLayer.setProperties("rpfLayer",rpfProps);
> add(rpfLayer);
>
> All the errors disappeared. Unfortunately the screen is still blank
> (no map), just the background (ocean)color.
>
> I tried another sugggestion, explicitly setting the projection
> CADRG proj = new CADRG(new LatLonPoint(29.0, 49.0), 1500000f,1024,
> 768);
> setProjection(proj);
>
> Which had no effect.
>
> Any more suggestions would still be appreciated.
>
> Todd
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> [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"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 - 17:13:23 EDT

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