Package hec.export
Class WorldLineToShapeFile
java.lang.Object
hec.export.WorldLineToShapeFile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
exportToShapefile
(Component parent, List<WorldLineHolder> worldLineHolderList, Identifier shapefileId) static boolean
exportToShapefile
(Component parent, List<WorldLineHolder> worldLineHolderList, Identifier shapefileId, CoordinateReferenceSystem crs) export the list ofWorldLineHolder
s to the specified shape filestatic Map
-
Field Details
-
NAME_ID_FIELD
- See Also:
-
IMPACT_AREA_ID_FIELD_LENGTH
public static final int IMPACT_AREA_ID_FIELD_LENGTH- See Also:
-
BEGINNING_STREAM_STATION_FIELD
- See Also:
-
ENDING_STREAM_STATION_FIELD
- See Also:
-
INDEX_STREAM_STATION_FIELD
- See Also:
-
DESC_FIELD
- See Also:
-
COLOR_FIELD
- See Also:
-
COLOR_FIELD_LENGTH
public static final int COLOR_FIELD_LENGTH- See Also:
-
DESC_FIELD_LENGTH
public static final int DESC_FIELD_LENGTH- See Also:
-
DESCRIPTION
- See Also:
-
COLOR
- See Also:
-
STREAM_BANK
- See Also:
-
-
Constructor Details
-
WorldLineToShapeFile
public WorldLineToShapeFile()
-
-
Method Details
-
getDefaultAttrToFieldMap
-
exportToShapefile
public static boolean exportToShapefile(Component parent, List<WorldLineHolder> worldLineHolderList, Identifier shapefileId) -
exportToShapefile
public static boolean exportToShapefile(Component parent, List<WorldLineHolder> worldLineHolderList, Identifier shapefileId, CoordinateReferenceSystem crs) export the list ofWorldLineHolder
s to the specified shape file- Parameters:
parent
- the component to be the parent for error messagesworldLineHolderList
- the list ofWorldLineHolder
sshapefileId
- the location of the shape file- Returns:
- true if the write was successful
-