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 TypeMethodDescriptionboolean
exportToShapefile
(Component parent, WorldPointHolder worldPointHolder, Identifier shapefileId) export the list ofWorldRegionHolder
s to the specified shape fileboolean
exportToShapefile
(Component parent, WorldPointHolder worldPointHolder, Identifier shapefileId, CoordinateReferenceSystem crs) export the list ofWorldRegionHolder
s 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 ofWorldRegionHolder
s to the specified shape file- Parameters:
parent
- the component to be the parent for error messagesworldPointHolder
- the list ofWorldRegionHolder
sshapefileId
- 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 ofWorldRegionHolder
s to the specified shape file- Parameters:
parent
- the component to be the parent for error messagesworldPointHolder
- the list ofWorldRegionHolder
sshapefileId
- the location of the shape file- Returns:
- true if the write was successful
-