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