Package hec.export

Class WorldPointToShapefile

java.lang.Object
hec.export.WorldPointToShapefile

public class WorldPointToShapefile extends Object
Simple class that takes a set of WorldPt objects and writes them to a Point Shapefile.
  • Constructor Details

    • WorldPointToShapefile

      public WorldPointToShapefile()
    • WorldPointToShapefile

      public WorldPointToShapefile(boolean write3dpoints)
  • Method Details

    • setProgressMonitor

      public void setProgressMonitor(ProgressMonitor pm)
    • exportToShapefile

      public boolean exportToShapefile(Component parent, WorldPointHolder worldPointHolder, Identifier shapefileId)
      export the list of WorldRegionHolders to the specified shape file
      Parameters:
      parent - the component to be the parent for error messages
      worldPointHolder - the list of WorldRegionHolders
      shapefileId - the location of the shape file
      Returns:
      true if the write was successful
    • exportToShapefile

      public boolean exportToShapefile(Component parent, WorldPointHolder worldPointHolder, Identifier shapefileId, CoordinateReferenceSystem crs)
      export the list of WorldRegionHolders to the specified shape file
      Parameters:
      parent - the component to be the parent for error messages
      worldPointHolder - the list of WorldRegionHolders
      shapefileId - the location of the shape file
      Returns:
      true if the write was successful