public class ModelFromShapefile extends ModelAdapter implements IModel
serialIndex| Constructor and Description |
|---|
ModelFromShapefile(File file,
String dbfFieldOption)
Construct a model tied to the specified file.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a shortdescription of the model
|
void |
load(IMonitorWithCancellation monitor)
Read the specified file.
|
String |
toString() |
addConstraints, areConstraintsLoaded, areVerticesLoaded, geo2xy, getArea, getConstraints, getCoordinateTransform, getFile, getFormattedCoordinates, getFormattedX, getFormattedY, getLinearUnits, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getName, getNominalPointSpacing, getPerimeterVertices, getReferenceReductionFactor, getReferenceTin, getTimeToLoadInMillis, getTimeToSortInMillis, getVertexCount, getVertexForIndex, getVertexList, hasConstraints, hasConstraintsSource, hasVertexSource, isCoordinateSystemGeographic, isLoaded, xy2geoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddConstraints, areConstraintsLoaded, areVerticesLoaded, geo2xy, getArea, getConstraints, getCoordinateTransform, getFile, getFormattedCoordinates, getFormattedX, getFormattedY, getLinearUnits, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getName, getNominalPointSpacing, getPerimeterVertices, getReferenceReductionFactor, getReferenceTin, getTimeToLoadInMillis, getTimeToSortInMillis, getVertexCount, getVertexForIndex, getVertexList, hasConstraints, hasConstraintsSource, hasVertexSource, isCoordinateSystemGeographic, isLoaded, xy2geopublic ModelFromShapefile(File file, String dbfFieldOption)
file - a valid text or comma-separated value filedbfFieldOption - an optional string indicating that a field from the DBF
file is to be used as a source of z coordinatespublic void load(IMonitorWithCancellation monitor) throws IOException
load in interface IModelload in class ModelAdaptermonitor - an optional monitor for tracking progress (null if not used)IOException - In the event of a non-recoverable error related to I/O
or file access.public String getDescription()
IModelgetDescription in interface IModelgetDescription in class ModelAdapterCopyright © 2019. All rights reserved.