RE: [OpenMap Users] DCW Map Scale

From: <Michael.Mulvaney_at_L-3com.com>
Date: Fri, 23 Mar 2007 08:18:39 -0500

Thanks John, this will be very helpful.

 

  _____

From: Yesberg, John [mailto:John.Yesberg_at_dsto.defence.gov.au]
Sent: Thursday, March 22, 2007 7:45 PM
To: Michael.Mulvaney_at_l-3com.com; openmap-users_at_bbn.com
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 <
30,000,000)
   # in order for the palette controls to be visible.

 

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

    /** 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 LibrarySelectionTable.java) 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);

inArea++;

    }

 

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

yourVmapLayerName.cutoffScale=100000000

 

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

 

John Yesberg.

 


  _____


From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com] On
Behalf Of Michael.Mulvaney_at_L-3com.com
Sent: Friday, 23 March 2007 6:22 AM
To: 'openmap-users_at_bbn.com'
Subject: [OpenMap Users] DCW Map Scale

Utilizing OpenMap 4.6.3 and vmap data downloaded from
http://geoengine.nga.mil/ <http://geoengine.nga.mil/> 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 "majdart_at_bbn.com"
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