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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(int exportFlags, SpatialReference spatialReference, Geometry geometry) Performs the ExportToGeoJson operationPerforms the ExportToGeoJson operation.execute
(SpatialReference spatialReference, Geometry geometry) Performs the ExportToGeoJson operationexecute
(SpatialReference spatialReference, GeometryCursor geometryCursor) Performs the ExportToGeoJson operationexportSpatialReference
(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
-
Constructor Details
-
OperatorExportToGeoJsonLocal
OperatorExportToGeoJsonLocal()
-
-
Method Details
-
execute
Description copied from class:OperatorExportToGeoJson
Performs the ExportToGeoJson operation- Specified by:
execute
in 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
Description copied from class:OperatorExportToGeoJson
Performs the ExportToGeoJson operation- Specified by:
execute
in 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
Description copied from class:OperatorExportToGeoJson
Performs the ExportToGeoJson operation- Specified by:
execute
in classOperatorExportToGeoJson
- Parameters:
exportFlags
- Use theGeoJsonExportFlags
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
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 classOperatorExportToGeoJson
- Parameters:
geometry
- The Geometry to write as GeoJson.- Returns:
- Returns a string in GeoJson format.
-
exportSpatialReference
Description copied from class:OperatorExportToGeoJson
Performs the ExportToGeoJson operation on a spatial reference.- Specified by:
exportSpatialReference
in 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.
-