RE: [OpenMap Users] DCW Map Scale

From: <>
Date: Fri, 23 Mar 2007 08:18:39 -0500

Thanks John, this will be very helpful.



From: Yesberg, John []
Sent: Thursday, March 22, 2007 7:45 PM
Subject: RE: [OpenMap Users] DCW Map Scale


>From the javadoc for com.bbn.openmap.layer.vpf .VPFLayer


   # NOTE: The features
   # have to be added to the map and visible (proper scale setting <
   # in order for the palette controls to be visible.


The default is actually 31,000,000 (set in com.bbn.openmap.layer.vpf

    /** cutoff scale for browse coverage. */

    public final static int DEFAULT_BROWSE_CUTOFF = 31000000;


This is done because when you zoom out too much, the layer would try to
render everything, and it gets too slow.

An example of the code (in that does this:

    if (scale < BROWSE_CUTOFF) {

       CoverageTable c = cat.getCoverageTable(covname);

       /* various error checking code omitted for this email */

       c.drawFeatures(warehouse, ll1, ll2, dpplat, dpplon);




You can provide the "cutoffScale" property to adjust this:



I don't know about the area fill color bleeding.


John Yesberg.



From: [] On
Behalf Of
Sent: Friday, 23 March 2007 6:22 AM
To: ''
Subject: [OpenMap Users] DCW Map Scale

Utilizing OpenMap 4.6.3 and vmap data downloaded from <> we have noticed that
when we scale above 1:30,000,000 the map disappears. The shape file layer
is fine at this scale, but using older vmap map data (circa 1992) the map
does not disappear above 1:30,000,000, but with this older data and 4.6.3,
the area fill color bleeds outside the borders. Is either situation a known
bug, or is there some setting in properties that I can play around with?


IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the CRIMES
ACT 1914. If you have received this email in error, you are requested to
contact the sender and delete the email.



[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Mar 23 2007 - 09:36:13 EDT

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