Class OperatorExportToJsonCursor


  • class OperatorExportToJsonCursor
    extends JsonCursor
    • Method Detail

      • getID

        public int getID()
        Description copied from class: JsonCursor
        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:
        getID in class JsonCursor
      • next

        public java.lang.String next()
        Description copied from class: JsonCursor
        Moves the cursor to the next string. Returns null when reached the end.
        Specified by:
        next in class JsonCursor
      • exportToString

        static java.lang.String exportToString​(Geometry geometry,
                                               SpatialReference spatialReference,
                                               java.util.Map<java.lang.String,​java.lang.Object> exportProperties)
      • exportToJson_

        private static void exportToJson_​(Geometry geometry,
                                          SpatialReference spatialReference,
                                          JsonWriter jsonWriter,
                                          java.util.Map<java.lang.String,​java.lang.Object> exportProperties)
      • exportPolygonToJson

        private static void exportPolygonToJson​(Polygon pp,
                                                SpatialReference spatialReference,
                                                JsonWriter jsonWriter,
                                                java.util.Map<java.lang.String,​java.lang.Object> exportProperties)
      • exportPolylineToJson

        private static void exportPolylineToJson​(Polyline pp,
                                                 SpatialReference spatialReference,
                                                 JsonWriter jsonWriter,
                                                 java.util.Map<java.lang.String,​java.lang.Object> exportProperties)
      • exportPolypathToJson

        private static void exportPolypathToJson​(MultiPath pp,
                                                 java.lang.String name,
                                                 SpatialReference spatialReference,
                                                 JsonWriter jsonWriter,
                                                 java.util.Map<java.lang.String,​java.lang.Object> exportProperties)
      • exportMultiPointToJson

        private static void exportMultiPointToJson​(MultiPoint mpt,
                                                   SpatialReference spatialReference,
                                                   JsonWriter jsonWriter,
                                                   java.util.Map<java.lang.String,​java.lang.Object> exportProperties)
      • exportPointToJson

        private static void exportPointToJson​(Point pt,
                                              SpatialReference spatialReference,
                                              JsonWriter jsonWriter,
                                              java.util.Map<java.lang.String,​java.lang.Object> exportProperties)
      • exportEnvelopeToJson

        private static void exportEnvelopeToJson​(Envelope env,
                                                 SpatialReference spatialReference,
                                                 JsonWriter jsonWriter,
                                                 java.util.Map<java.lang.String,​java.lang.Object> exportProperties)