Re: VPF data

From: Drew Van Duren <dvandure@cadrc.calpoly.edu>
Date: Fri Feb 15 2002 - 11:52:58 EST

All,

Found the problem......and a silly one it was. In the FAQs that describe how to
implement VPF, the properties term -.vpfPath is incorrectly written -.vpfpath.
I took the bad one, scratched my head a while, and finally decided to backtrack
in the source code. Found the correct term to be vpfPath and it works great.
Thanks, all!

Drew

"S. Russell Berckmoes" wrote:

> Drew,
>
> We have been using VPF data (VMAP) with few problems. You have to remember a
> few things.
> 1) The vpfPath must be pointed to where OpenMap with find the dhl & lat
> files
> 2) coverage types must be defined (bnd, hydro, pop, elev, etc). These are
> subdirectory names located below the library directory (noamer, eurnasia,
> etc.).
> 3) You must define area/edge/text feature types. They are very cryptic files
> within VMAP coverage directory. I had to go into the directories to figure
> these names out. A hint is that area names end with an 'a' (before the
> prefix), edge names with an 'l', point names (with does appear to be
> supported by OpenMap) with a 'p' and text with 'txt' (text is not very good
> within VPF data). OpenMap ignores the file extension.
> 4) Make sure if you are using 'areas' that you specific a fill color and
> opaqueness level. If not, many of these areas default to clear.
>
> Here is a sample of my properties file using VMAP Level 0...
>
> vmap0Political.class=com.bbn.openmap.layer.vpf.VPFLayer
> vmap0Political.prettyName=VMAP0 Political
> # this is on one line within the properties file.
> vmap0Political.vpfPath=d:/mapdata/v0noa/vmaplv0;d:/mapdata/v0eur/vmaplv0;d:/
> mapdata/v0sas/vmaplv0;d:/mapdata/v0soa/vmaplv0
> vmap0Political.coverageType=bnd
> vmap0Political.featureTypes=edge area
> # just display coastlines and political boundaries
> #vmap0Political.edge= polbndl coastl depthl
> vmap0Political.edge= polbndl coastl
> # just display political areas and not oceans
> #vmap0Political.area= oceansea polbnda
> vmap0Political.area= polbnda
> # Use this property for a better focus on feature types, especially
> # for more fine-grained databases
> vmap0Political.searchByFeature=true
> vmap0Political.lineColor=ff0000ff
> vmap0Political.fillColor=ffbdde83
>
> Hope this helps.
>
> \\|//
> (- o)
> -----oOOo-(_)-oOOo------
> Russ Berckmoes
> Sr Software Engineer
> Radix Technologies, Inc.
> 329 N. Bernardo Ave.
> Mountain View, CA 94043
> (650) 988-4700
> (650) 988-8713 FAX
> (650) 944-1524 Direct
> berck@radixtek.com
> ------------------------
>
> -----Original Message-----
> From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]On
> Behalf Of Drew Van Duren
> Sent: Thursday, February 14, 2002 2:35 PM
> To: Geoffrey S. Knauth
> Cc: openmap-users@bbn.com
> Subject: VPF data
>
> All,
>
> I've been having trouble getting the OpenMap component to display VPF data.
> Specifically, the error I'm getting is that it's not finding the path to the
> VPF
> data directory that contains the lat or lat. file. I am, however, providing
> it the
> absolute path to that directory and setting up the necessary items (coverage
> types,
> feature types, etc.) in the properties file. Are there any special
> considerations
> I need to be aware of?
>
> Drew
>
> --
> [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"]

--
[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 Feb 15 11:54:06 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT