Ok, I can see in the properties file where I want to add stuff and I've run the DescribeDB tool to get a list of things that is in the VPF data I have. I've got the OpenMap running and I've added powerl to the line
vmapPolitical.edge= polbndl coastl powerl
I'm not sure if I put it in the right place, but it's not showing me any power lines, so I don't think it's working. Did I add that attribute in the wrong place?
Barb
Subj: Re: VPF layer data
Date: Mon, 10 Sep 2001 8:18:19 PM Eastern Daylight Time
From: Donald Dietrick <dietrick@bbn.com>
To: BvhTaz@aol.com
CC: <openmap-users@bbn.com>
Hi Barb,
If you just want to display the data, you can use the OpenMap
application. Modify the openmap.properties file to add an entry for a
layer that suites your data. From your message subject, I assume it's
VPF, so you'll want to add a com.bbn.openmap.layer.vpf.VPFLayer. The
openmap.properties file has instructions on how to add a layer. The
javadocs for the VPFLayer list the properties that are available to put
in the openmap.properties file to let the layer know how you want to
configure it.
You can use the DescribeDB class to find out what the coverage and
feature codes for the attributes type you want to view:
java com.bbn.openmap.layer.vpf.DescribeDB <path to parent of lat/lat.
file>
For instance, my openmap.properties file has:
### VMAP Political layer
vmapPolitical.class=com.bbn.openmap.layer.vpf.VPFLayer
vmapPolitical.prettyName=VMAP Political
vmapPolitical.vpfPath=/data/vpf/vmaplv0/disk0;/data/vpf/vmaplv0/disk1;/data/
vpf/vmaplv0/disk2;/data/vpf/vmaplv0/disk3
vmapPolitical.coverageType=bnd polbnd
vmapPolitical.featureTypes=edge area
# just display coastlines and political boundaries
vmapPolitical.edge=coastl polbndl
# just display political areas and not oceans
vmapPolitical.area=polbnda
# Use this property for a better focus on feature types, especially
# for more fine-grained databases
#vmapPolitical.searchByFeature=true
vmapPolitical.fillColor=FFAAAA66
Also, vmapPolitical is added to my openmap.layers property list in my
openmap.properties file.
Hope this helps,
Don
-- [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 Tue Sep 11 15:11:06 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT