public class GenerateVPFProperties extends DescribeDB
Usage: java com.bbn.openmap.layer.vpf.GenerateVPFproperties /path/to/vpf/databaseIt will then print out VPFlayer descriptions which you can use to view the VPF layers with the openmap application, to the standard output. There is no GUI. If you add the output to the openmap.properties files, pay attention to the Summary: lines. They make it easy to add all the layernames to the recognised ones.
Constructor and Description |
---|
GenerateVPFProperties() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main program.
|
static java.lang.String |
printCoverageProperties(java.lang.String prefix,
CoverageAttributeTable cat,
java.lang.String covname)
Prints a VPF Coverage
|
static void |
printFeatures(java.lang.String fname,
java.util.List<java.lang.Object> features,
java.lang.String layername)
Print some featureclass names
|
static void |
printLibrary(java.lang.String prefix,
CoverageAttributeTable cat)
Prints a VPF Library
|
print, print, printCoverage, println, println, println
public static void main(java.lang.String[] args) throws FormatException
args
- the paths to printFormatException
public static void printLibrary(java.lang.String prefix, CoverageAttributeTable cat)
prefix
- lines get printed with this prefixcat
- the CoverageAttributeTable (Library) to printpublic static java.lang.String printCoverageProperties(java.lang.String prefix, CoverageAttributeTable cat, java.lang.String covname)
prefix
- this will be the prefix of the generated layer namecovname
- the name of the coverage to printcat
- the CoverageAttributeTable to get the Coverage frompublic static void printFeatures(java.lang.String fname, java.util.List<java.lang.Object> features, java.lang.String layername)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details