sim.io.geo
Class OGRImporter

java.lang.Object
  extended by sim.io.geo.OGRImporter

public class OGRImporter
extends java.lang.Object

OGRImportor uses the OGR JNI interface to read geospatial data into the GeomVectorField.


Constructor Summary
OGRImporter()
           
 
Method Summary
static void read(java.net.URL inputResource, GeomVectorField field, sim.util.Bag masked)
           
static java.util.Map<java.lang.String,AttributeValue> readAttributes(Feature feature, sim.util.Bag masked)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OGRImporter

public OGRImporter()
Method Detail

read

public static void read(java.net.URL inputResource,
                        GeomVectorField field,
                        sim.util.Bag masked)
                 throws java.io.FileNotFoundException
Parameters:
inputResource - for the data
field - into which to place read in data
masked - specifies attributes we want
Throws:
java.io.FileNotFoundException

readAttributes

public static java.util.Map<java.lang.String,AttributeValue> readAttributes(Feature feature,
                                                                            sim.util.Bag masked)