Class GeometryParser


  • public final class GeometryParser
    extends java.lang.Object
    An utility class with a geometry parser methods supporting different shape representation formats
    • Method Summary

      Modifier and Type Method Description
      static Geometry parse​(XContentParser parser, boolean orientation, boolean coerce, boolean ignoreZValue)
      Parses supplied XContent into Geometry
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parse

        public static Geometry parse​(XContentParser parser,
                                     boolean orientation,
                                     boolean coerce,
                                     boolean ignoreZValue)
                              throws java.io.IOException,
                                     java.text.ParseException
        Parses supplied XContent into Geometry
        Throws:
        java.io.IOException
        java.text.ParseException