hi,
i'm trying to display a vpf layer. i'm getting an error that says
"VPFLayer.getRectangle: data path probably wasn't set orrectly (), the
warehouse not initialized."
how can i corrent this?
here is the output that i get from the DescribeDB utility:
<<dosoutput.txt>>
here is my properties file:
vmapPol.class= com.bbn.openmap.layer.vpf.VPFLayer
vmapPol.prettyName= Political Boundaries from VMAP
vmapPol.vpfPath=
c:/home/maps/VPF/v0eur/vmaplv0;c:/home/maps/VPF/v0noa/vmaplv0;c:/home/maps/V
PF/v0sas/vmaplv0;c:/home/maps/VPF/v0soa/vmaplv0
#vmapPol.libraryBean= VMAPdata
#VMAPData.class=com.bbn.openmap.layer.vpf.LibraryBean
#VMAPData.vpfPath=c:/home/maps/VPF/v0eur/vmaplv0;c:/home/maps/VPF/v0noa/vmap
lv0;c:/home/maps/VPF/v0sas/vmaplv0;c:/home/maps/VPF/v0soa/vmaplv0
vmapPol.searchByFeature=true
vmapPol.defaultLayer= vmapPolitical
vmapPol.coverageType= bnd
# Select if we want edges (polylines), areas (filled polygons) or text
# This is a space-separated list of "edge" "area" "text" "epoint" and
"cpoint"
vmapPol.featureTypes= edge area
#For DCW, the remaining 3 properties are ignored
#Select the text featureclasses we'd like to display. Since we didn't
#select text above, this is ignored
vmapPol.text=
#Select the edge featureclasses we'd like to display. In this case,
#draw political boundaries and coastline, but skip anything else.
vmapPol.edge=polbndl coastl
#Select the area featureclasses we'd like to display. In this case,
#draw politcal areas, but skip anything else.
vmapPol.area=polbnda
#Selectable drawing attributes - for default values, they don't need to
#be included. A hex ARGB color looks like FF000000 for black.
vmapPol.lineColor=hex ARGB color value - Black is default.
vmapPol.fillColor=hex ARGB color value - Clear is default.
vmapPol.lineWidth=float value, 1f is the default, 10f is the max.
#------------------------------------
# End of properties for a VMAP political layer
#------------------------------------
### Now a VMAP Coastline layer
vmapCoast.class=com.bbn.openmap.layer.vpf.VPFLayer
vmapCoast.prettyName=VMAP Coastline Layer
vmapCoast.vpfPath=c:/home/maps/VPF/v0eur/vmaplv0;c:/home/maps/VPF/v0noa/vmap
lv0;c:/home/maps/VPF/v0sas/vmaplv0;c:/home/maps/VPF/v0soa/vmaplv0
## a predefined layer from the VPF predefined layer set found in
## com/bbn/openmap/layer/vpf/defaultVPFLayers.properties
vmapCoast.defaultLayer=vmapCoastline
### Now a DCW Political layer
# Basic political boundaries with DCW
dcwPolitical.class=com.bbn.openmap.layer.vpf.VPFLayer
dcwPolitical.prettyName=DCW Political Boundaries
dcwPolitical.vpfPath=c:/home/maps/VPF/v0eur/vmaplv0;c:/home/maps/VPF/v0noa/v
maplv0;c:/home/maps/VPF/v0sas/vmaplv0;c:/home/maps/VPF/v0soa/vmaplv0
dcwPolitical.coverageType=po
dcwPolitical.featureTypes=edge area
Maria Krevetski
Computer Programmer
22755 Saufley Road
Rm 134b
Patuxent River, MD 20670
email: krevetskimt@navair.navy.mil
phone: (301) 342-6629
-- [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"]
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT