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
On Monday, September 10, 2001, at 04:12 PM, BvhTaz@aol.com wrote:
> Hello,
>
> I am having a bit of trouble getting started. I have a bunch of data
> on the eastern seaboard of the USA that I'd like to try to display on a
> Map. I've got a class that creates an instance of the MapBean. I've
> got the data on CD. Should I zip it up? Where do I put it? Where do
> I put the properties file so that the map knows it is there? I'm a bit
> lost in all this. Thanks for the help in advance.
>
> Barb
>
> --
> [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"]
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald F. Dietrick, dietrick@bbn.com
BBN Technologies, 10 Moulton Street, Cambridge, MA 02138
617.873.3031 FAX 2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Mon Sep 10 20:17:50 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT