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:
  • 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

      public org.locationtech.jts.geom.Geometry parseShape(ShapeReader reader)
      abstract a Polyline shape.
      Specified by:
      parseShape in class ShapeParser
      Parameters:
      reader - the reader
      Returns:
      the geometry