PointHandler.withType constructor
PointHandler.withType(
- ShapeType shapeType,
- GeometryFactory geometryFactory
Implementation
PointHandler.withType(this.shapeType, this.geometryFactory) {
if ((shapeType != ShapeType.POINT) &&
(shapeType != ShapeType.POINTM) &&
(shapeType != ShapeType.POINTZ)) {
// 2d, 2d+m, 3d+m
throw ShapefileException(
"PointHandler constructor: expected a type of 1, 11 or 21");
}
}