sim.io.geo
Class ShapeFileExporter

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

public class ShapeFileExporter
extends java.lang.Object

Writes a GeomVectorField to a Shape file. TODO: consider writing a coordinate reference system/projection file


Constructor Summary
ShapeFileExporter()
           
 
Method Summary
static void write(java.lang.String baseFileName, GeomVectorField field)
          Write the given vector field to a shape file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeFileExporter

public ShapeFileExporter()
Method Detail

write

public static void write(java.lang.String baseFileName,
                         GeomVectorField field)
Write the given vector field to a shape file.

The three mandatory shape files (".shp", ".shx", and ".dbf") will be created using the given base file name prefix.

Parameters:
baseFileName - is the prefix for the ".shp", ".shx", and ".dbf" files
field - to be exported