Class ShapefileWriter

java.lang.Object
repast.simphony.space.gis.ShapefileWriter

public class ShapefileWriter extends Object
Writes the contents of a geography to a shapefile each layer of the geography is written to a separate shapefile.
Author:
Nick Collier, Eric Tatara
  • Constructor Details

    • ShapefileWriter

      public ShapefileWriter(Geography geography)
      Creates a ShapefileWriter that will write layers in the specified geography to a shapefile.
      Parameters:
      geography - the geography to write
  • Method Details

    • write

      public void write(String layerName, URL url)
      Writes named geography layer to the specified URL.
      Parameters:
      layerName - the name of the layer to write
      url - url to write the layer to