Class PolyLineParser

    • 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 class ShapeParser
        Parameters:
        reader - the reader
        Returns:
        the geometry