Package hec.export

Class WorldRegionToShapefile

java.lang.Object
hec.export.WorldRegionToShapefile

public class WorldRegionToShapefile extends Object
  • Field Details

  • Constructor Details

    • WorldRegionToShapefile

      public WorldRegionToShapefile()
  • Method Details

    • getDefaultAttrToFieldMap

      public static Map getDefaultAttrToFieldMap()
    • exportToShapefile

      public static boolean exportToShapefile(Component parent, List worldRegionHolderList, Identifier shapefileId)
    • exportToShapefile

      public static boolean exportToShapefile(Component parent, List worldRegionHolderList, 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
      worldRegionHolderList - the list of WorldRegionHolders
      shapefileId - the location of the shape file
      Returns:
      true if the write was successful