Class OperatorImportFromJsonCursor

    • Field Detail

      • m_type

        int m_type
      • m_index

        int m_index
    • Constructor Detail

      • OperatorImportFromJsonCursor

        public OperatorImportFromJsonCursor​(int type,
                                            JsonReaderCursor jsonParsers)
    • Method Detail

      • getGeometryID

        public int getGeometryID()
        Description copied from class: MapGeometryCursor
        Returns the ID of the current geometry. The ID is propagated across the operations (when possible). Returns an ID associated with the current Geometry. The ID is passed along and is returned by some operators to preserve relationship between the input and output geometry classes. It is not always possible to preserve an ID during an operation.
        Specified by:
        getGeometryID in class MapGeometryCursor
      • fromJsonToUnknown

        public static MapGeometry fromJsonToUnknown​(JsonReader parser)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromJsonToEnvelope

        public static MapGeometry fromJsonToEnvelope​(JsonReader parser)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromJsonToPoint

        public static MapGeometry fromJsonToPoint​(JsonReader parser)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromJsonToPolygon

        public static MapGeometry fromJsonToPolygon​(JsonReader parser)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromJsonToPolyline

        public static MapGeometry fromJsonToPolyline​(JsonReader parser)
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromJsonToMultiPoint

        public static MapGeometry fromJsonToMultiPoint​(JsonReader parser)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • windup

        private static void windup​(JsonReader parser)
      • readDouble

        private static double readDouble​(JsonReader parser)