Class OperatorExportToGeoJsonCursor


  • class OperatorExportToGeoJsonCursor
    extends JsonCursor
    • Field Detail

      • m_index

        int m_index
      • m_export_flags

        int m_export_flags
    • Constructor Detail

      • OperatorExportToGeoJsonCursor

        public OperatorExportToGeoJsonCursor​(int export_flags,
                                             SpatialReference spatialReference,
                                             GeometryCursor geometryCursor)
    • 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
      • exportToGeoJson

        static java.lang.String exportToGeoJson​(int export_flags,
                                                Geometry geometry,
                                                SpatialReference spatial_reference)
      • exportSpatialReference

        static java.lang.String exportSpatialReference​(int export_flags,
                                                       SpatialReference spatial_reference)
      • exportGeometryToGeoJson_

        private static void exportGeometryToGeoJson_​(int export_flags,
                                                     Geometry geometry,
                                                     JsonWriter json_writer)
      • exportSpatialReference

        private static void exportSpatialReference​(int export_flags,
                                                   SpatialReference spatial_reference,
                                                   JsonWriter json_writer)
      • exportPolygonToGeoJson_

        private static void exportPolygonToGeoJson_​(int export_flags,
                                                    Polygon polygon,
                                                    JsonWriter json_writer)
      • exportPolylineToGeoJson_

        private static void exportPolylineToGeoJson_​(int export_flags,
                                                     Polyline polyline,
                                                     JsonWriter json_writer)
      • exportMultiPointToGeoJson_

        private static void exportMultiPointToGeoJson_​(int export_flags,
                                                       MultiPoint multipoint,
                                                       JsonWriter json_writer)
      • exportPointToGeoJson_

        private static void exportPointToGeoJson_​(int export_flags,
                                                  Point point,
                                                  JsonWriter json_writer)
      • exportEnvelopeToGeoJson_

        private static void exportEnvelopeToGeoJson_​(int export_flags,
                                                     Envelope envelope,
                                                     JsonWriter json_writer)
      • multiPolygonTaggedTextFromEnvelope_

        private static void multiPolygonTaggedTextFromEnvelope_​(int precision,
                                                                boolean bFixedPoint,
                                                                boolean b_export_zs,
                                                                boolean b_export_ms,
                                                                double xmin,
                                                                double ymin,
                                                                double xmax,
                                                                double ymax,
                                                                double zmin,
                                                                double zmax,
                                                                double mmin,
                                                                double mmax,
                                                                JsonWriter json_writer)
      • multiPointTaggedTextFromPoint_

        private static void multiPointTaggedTextFromPoint_​(int precision,
                                                           boolean bFixedPoint,
                                                           boolean b_export_zs,
                                                           boolean b_export_ms,
                                                           double x,
                                                           double y,
                                                           double z,
                                                           double m,
                                                           JsonWriter json_writer)
      • polygonTaggedTextFromEnvelope_

        private static void polygonTaggedTextFromEnvelope_​(int precision,
                                                           boolean bFixedPoint,
                                                           boolean b_export_zs,
                                                           boolean b_export_ms,
                                                           double xmin,
                                                           double ymin,
                                                           double xmax,
                                                           double ymax,
                                                           double zmin,
                                                           double zmax,
                                                           double mmin,
                                                           double mmax,
                                                           JsonWriter json_writer)
      • pointTaggedText_

        private static void pointTaggedText_​(int precision,
                                             boolean bFixedPoint,
                                             boolean b_export_zs,
                                             boolean b_export_ms,
                                             double x,
                                             double y,
                                             double z,
                                             double m,
                                             JsonWriter json_writer)
      • pointText_

        private static int pointText_​(int precision,
                                      boolean bFixedPoint,
                                      boolean b_export_zs,
                                      boolean b_export_ms,
                                      double x,
                                      double y,
                                      double z,
                                      double m,
                                      JsonWriter json_writer)
      • writeEnvelopeAsGeoJsonPolygon_

        private static void writeEnvelopeAsGeoJsonPolygon_​(int precision,
                                                           boolean bFixedPoint,
                                                           boolean b_export_zs,
                                                           boolean b_export_ms,
                                                           double xmin,
                                                           double ymin,
                                                           double xmax,
                                                           double ymax,
                                                           double zmin,
                                                           double zmax,
                                                           double mmin,
                                                           double mmax,
                                                           JsonWriter json_writer)