Package hec.export
Class WorldPointToShapefile
java.lang.Object
hec.export.WorldPointToShapefile
Simple class that takes a set of WorldPt objects and writes them to a
Point Shapefile.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexportToShapefile(Component parent, WorldPointHolder worldPointHolder, Identifier shapefileId) export the list ofWorldRegionHolders to the specified shape filebooleanexportToShapefile(Component parent, WorldPointHolder worldPointHolder, Identifier shapefileId, CoordinateReferenceSystem crs) export the list ofWorldRegionHolders to the specified shape filevoid
-
Constructor Details
-
WorldPointToShapefile
public WorldPointToShapefile() -
WorldPointToShapefile
public WorldPointToShapefile(boolean write3dpoints)
-
-
Method Details
-
setProgressMonitor
-
exportToShapefile
public boolean exportToShapefile(Component parent, WorldPointHolder worldPointHolder, Identifier shapefileId) export the list ofWorldRegionHolders to the specified shape file- Parameters:
parent- the component to be the parent for error messagesworldPointHolder- the list ofWorldRegionHoldersshapefileId- 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 ofWorldRegionHolders to the specified shape file- Parameters:
parent- the component to be the parent for error messagesworldPointHolder- the list ofWorldRegionHoldersshapefileId- the location of the shape file- Returns:
- true if the write was successful
-