Class PointParser
java.lang.Object
org.apache.sedona.core.formatMapper.shapefileParser.parseUtils.shp.ShapeParser
org.apache.sedona.core.formatMapper.shapefileParser.parseUtils.shp.PointParser
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.apache.sedona.core.formatMapper.shapefileParser.parseUtils.shp.ShapeParser
geometryFactory -
Constructor Summary
ConstructorsConstructorDescriptionPointParser(org.locationtech.jts.geom.GeometryFactory geometryFactory, ShapeType shapeType) create a parser that can abstract a Point from input source with given GeometryFactory. -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.GeometryparseShape(ShapeReader reader) abstract a Point shape.Methods inherited from class org.apache.sedona.core.formatMapper.shapefileParser.parseUtils.shp.ShapeParser
isNoData, readCoordinates, readCoordinatesWithM, readCoordinatesWithZM, readOffsets
-
Constructor Details
-
PointParser
create a parser that can abstract a Point from input source with given GeometryFactory.- Parameters:
geometryFactory- the geometry factory
-
-
Method Details
-
parseShape
abstract a Point shape.- Specified by:
parseShapein classShapeParser- Parameters:
reader- the reader- Returns:
- the geometry
-