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
public class PolyLineParser extends ShapeParser
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.sedona.core.formatMapper.shapefileParser.parseUtils.shp.ShapeParser
geometryFactory
-
-
Constructor Summary
Constructors Constructor Description PolyLineParser(org.locationtech.jts.geom.GeometryFactory geometryFactory, ShapeType shapeType)
create a parser that can abstract a MultiPolyline from input source with given GeometryFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.locationtech.jts.geom.Geometry
parseShape(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 Detail
-
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 Detail
-
parseShape
public org.locationtech.jts.geom.Geometry parseShape(ShapeReader reader)
abstract a Polyline shape.- Specified by:
parseShape
in classShapeParser
- Parameters:
reader
- the reader- Returns:
- the geometry
-
-