Package com.esri.core.geometry
Class OperatorExportToGeoJsonLocal
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorExportToGeoJson
-
- com.esri.core.geometry.OperatorExportToGeoJsonLocal
-
class OperatorExportToGeoJsonLocal extends OperatorExportToGeoJson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorExportToGeoJsonLocal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringexecute(int exportFlags, SpatialReference spatialReference, Geometry geometry)Performs the ExportToGeoJson operationjava.lang.Stringexecute(Geometry geometry)Performs the ExportToGeoJson operation.java.lang.Stringexecute(SpatialReference spatialReference, Geometry geometry)Performs the ExportToGeoJson operationJsonCursorexecute(SpatialReference spatialReference, GeometryCursor geometryCursor)Performs the ExportToGeoJson operationjava.lang.StringexportSpatialReference(int export_flags, SpatialReference spatial_reference)Performs the ExportToGeoJson operation on a spatial reference.-
Methods inherited from class com.esri.core.geometry.OperatorExportToGeoJson
getType, local
-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
execute
public JsonCursor execute(SpatialReference spatialReference, GeometryCursor geometryCursor)
Description copied from class:OperatorExportToGeoJsonPerforms the ExportToGeoJson operation- Specified by:
executein classOperatorExportToGeoJson- 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 java.lang.String execute(SpatialReference spatialReference, Geometry geometry)
Description copied from class:OperatorExportToGeoJsonPerforms the ExportToGeoJson operation- Specified by:
executein classOperatorExportToGeoJson- 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 java.lang.String execute(int exportFlags, SpatialReference spatialReference, Geometry geometry)Description copied from class:OperatorExportToGeoJsonPerforms the ExportToGeoJson operation- Specified by:
executein classOperatorExportToGeoJson- Parameters:
exportFlags- Use theGeoJsonExportFlagsinterface.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 java.lang.String execute(Geometry geometry)
Description copied from class:OperatorExportToGeoJsonPerforms the ExportToGeoJson operation. Will not write out a spatial reference or crs tag. Assumes the geometry is in wgs84.- Specified by:
executein classOperatorExportToGeoJson- Parameters:
geometry- The Geometry to write as GeoJson.- Returns:
- Returns a string in GeoJson format.
-
exportSpatialReference
public java.lang.String exportSpatialReference(int export_flags, SpatialReference spatial_reference)Description copied from class:OperatorExportToGeoJsonPerforms the ExportToGeoJson operation on a spatial reference.- Specified by:
exportSpatialReferencein classOperatorExportToGeoJson- 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.
-
-