Class KMLReader


  • public class KMLReader
    extends Object
    Constructs a Geometry object from the OGC KML representation. Works only with KML geometry elements and may also parse attributes within these elements
    • Constructor Detail

      • KMLReader

        public KMLReader()
        Creates a reader that creates objects using the default GeometryFactory.
      • KMLReader

        public KMLReader​(GeometryFactory geometryFactory)
        Creates a reader that creates objects using the given GeometryFactory.
        Parameters:
        geometryFactory - the factory used to create Geometrys.
      • KMLReader

        public KMLReader​(Collection<String> attributeNames)
        Creates a reader that creates objects using the default GeometryFactory.
        Parameters:
        attributeNames - names of attributes that should be parsed (i.e. extrude, altitudeMode, tesselate, etc).
      • KMLReader

        public KMLReader​(GeometryFactory geometryFactory,
                         Collection<String> attributeNames)
        Creates a reader that creates objects using the given GeometryFactory.
        Parameters:
        geometryFactory - the factory used to create Geometrys.
        attributeNames - names of attributes that should be parsed (i.e. extrude, altitudeMode, tesselate, etc).