com.metsci.glimpse.charts.vector.parser
Class OGRInfo

java.lang.Object
  extended by com.metsci.glimpse.charts.vector.parser.OGRInfo

public class OGRInfo
extends java.lang.Object

This class dumps s57 features to a file using the gdal command line utility 'ogrinfo'. Ubuntu users, you add ubuntu gis stable package to your source list. The following page has all the goodness. https://launchpad.net/~ubuntugis/+archive/ppa deb http://ppa.launchpad.net/ubuntugis/ppa/ubuntu lucid main deb-src http://ppa.launchpad.net/ubuntugis/ppa/ubuntu lucid main

Author:
Cunningham, Boquet

Constructor Summary
OGRInfo()
           
OGRInfo(java.io.File gdalConsoleFile)
           
 
Method Summary
 void addDNCGeoSource(java.lang.String geoSourceFile)
           
 void addGeoSource(java.lang.String geoSourceFile)
           
 java.util.List<GenericObject> addGeoSourceAndParse(java.lang.String geoSourceFile)
           
 void addZippedGeoSource(java.lang.String zipFilePath, java.lang.String geoLogicalPath)
           
 java.util.List<GenericObject> addZippedGeoSourceAndParse(java.lang.String zipFilePath, java.lang.String geoLogicalPath)
           
 void closeOutputWriter()
           
 boolean internalAddGeoSource(java.lang.String geoSourceFile)
           
 java.util.List<GenericObject> parse()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OGRInfo

public OGRInfo()
        throws java.io.IOException
Throws:
java.io.IOException

OGRInfo

public OGRInfo(java.io.File gdalConsoleFile)
Method Detail

addGeoSourceAndParse

public java.util.List<GenericObject> addGeoSourceAndParse(java.lang.String geoSourceFile)
                                                   throws java.io.IOException,
                                                          java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

addZippedGeoSourceAndParse

public java.util.List<GenericObject> addZippedGeoSourceAndParse(java.lang.String zipFilePath,
                                                                java.lang.String geoLogicalPath)
                                                         throws java.io.IOException,
                                                                java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

addGeoSource

public void addGeoSource(java.lang.String geoSourceFile)
                  throws java.io.IOException,
                         java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

addZippedGeoSource

public void addZippedGeoSource(java.lang.String zipFilePath,
                               java.lang.String geoLogicalPath)
                        throws java.io.IOException,
                               java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

addDNCGeoSource

public void addDNCGeoSource(java.lang.String geoSourceFile)
                     throws java.io.IOException,
                            java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

internalAddGeoSource

public boolean internalAddGeoSource(java.lang.String geoSourceFile)
                             throws java.io.IOException,
                                    java.lang.InterruptedException
Parameters:
geoSourceFile - enc .000 file or dnc directory
isDNC - true if DNC, false otherwise
Throws:
java.io.IOException
java.lang.InterruptedException

closeOutputWriter

public void closeOutputWriter()
                       throws java.io.IOException
Throws:
java.io.IOException

parse

public java.util.List<GenericObject> parse()
                                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 Metron, Inc.. All Rights Reserved.