I am having additional troubles trying to add in hydrography and other features. I'm assuming each VPFLayer only has 1 line color and 1 fill color, so to have VPFLayer build a map with different colors for different features, multiple layers are needed. I added my VMAP Hydrography layer below
#-----------------------------
# Properties for a VMAP political layer
#-----------------------------
vmapPolitical.class=com.bbn.openmap.layer.vpf.VPFLayer
vmapPolitical.prettyName=NIMA Vector Smart Map (VMAP)
vmapPolitical.vpfPath=C:/VMAP/V0EUR_5/VMAPLV0;C:/VMAP/V0NOA_5/VMAPLV0;C:/VMAP/V0SAS_5/VMAPLV0;C:/VMAP/V0SOA_5/VMAPLV0
vmapPolitical.coverageType=bnd polbnd
vmapPolitical.featureTypes=edge area
vmapPolitical.edge=polbndl coastl
vmapPolitical.area=polbnda
#vmapPolitical.searchByFeature=true
#vmapPolitical.lineColor=FF0000CC
vmapPolitical.fillColor=FFCAA197
### VMAP Hydrography layer
vmapHydro.class=com.bbn.openmap.layer.vpf.VPFLayer
vmapHydro.prettyName=VMAP Hydrography
vmapHydro.vpfPath=C:/VMAP/V0EUR_5/VMAPLV0;C:/VMAP/V0NOA_5/VMAPLV0;C:/VMAP/V0SAS_5/VMAPLV0;C:/VMAP/V0SOA_5/VMAPLV0
vmapHydro.coverageType=bnd hydro
vmapHydro.featureTypes=edge
vmapHydro.edge=watrcrsl aquecanl depthl
vmapHydro.area=inwatera
vmapHydro.lineColor=FF0000EE
vmapHydro.fillColor=FF4444FF
I want the inland water areas to be filled with blue,
The problem here is as soon as I add "area" to coverage type
vmapHydro.featureTypes=edge area
the layer paints the fill color over EVERYTHING, completely wiping out the political layer. Yes, this is fixed if I take off "bnd" from coverage type, but then I lose the depth contours which I want in the same color blue. Or do I need to create yet another layer?? If so, is there any way to avoid having 20 layers to provide all the different features in a VMAP?
Todd
--------
Todd A Webb <twebb@titan.com>
The Titan Corporation
3033 Science Park Road
San Diego, CA 92121
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Fri Oct 10 16:26:55 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT