Class OperatorExportToGeoJsonLocal


class OperatorExportToGeoJsonLocal extends OperatorExportToGeoJson
  • Constructor Details

    • OperatorExportToGeoJsonLocal

      OperatorExportToGeoJsonLocal()
  • Method Details

    • execute

      public JsonCursor execute(SpatialReference spatialReference, GeometryCursor geometryCursor)
      Description copied from class: OperatorExportToGeoJson
      Performs the ExportToGeoJson operation
      Specified by:
      execute in class OperatorExportToGeoJson
      Parameters:
      spatialReference - The SpatialReference of the Geometry. Will be written as "crs":null if the spatialReference is null.
      geometryCursor - The cursor of geometries to write as GeoJson.
      Returns:
      Returns a JsonCursor.
    • execute

      public String execute(SpatialReference spatialReference, Geometry geometry)
      Description copied from class: OperatorExportToGeoJson
      Performs the ExportToGeoJson operation
      Specified by:
      execute in class OperatorExportToGeoJson
      Parameters:
      spatialReference - The SpatialReference of the Geometry. Will be written as "crs":null if the spatialReference is null.
      geometry - The Geometry to write as GeoJson.
      Returns:
      Returns a string in GeoJson format.
    • execute

      public String execute(int exportFlags, SpatialReference spatialReference, Geometry geometry)
      Description copied from class: OperatorExportToGeoJson
      Performs the ExportToGeoJson operation
      Specified by:
      execute in class OperatorExportToGeoJson
      Parameters:
      exportFlags - Use the GeoJsonExportFlags interface.
      spatialReference - The SpatialReference of the Geometry. Will be written as "crs":null if the spatialReference is null.
      geometry - The Geometry to write as GeoJson.
      Returns:
      Returns a string in GeoJson format.
    • execute

      public String execute(Geometry geometry)
      Description copied from class: OperatorExportToGeoJson
      Performs the ExportToGeoJson operation. Will not write out a spatial reference or crs tag. Assumes the geometry is in wgs84.
      Specified by:
      execute in class OperatorExportToGeoJson
      Parameters:
      geometry - The Geometry to write as GeoJson.
      Returns:
      Returns a string in GeoJson format.
    • exportSpatialReference

      public String exportSpatialReference(int export_flags, SpatialReference spatial_reference)
      Description copied from class: OperatorExportToGeoJson
      Performs the ExportToGeoJson operation on a spatial reference.
      Specified by:
      exportSpatialReference in class OperatorExportToGeoJson
      Parameters:
      export_flags - The flags used for the export.
      spatial_reference - The spatial reference being exported. Cannot be null.
      Returns:
      Returns the crs value object.