Package com.esri.core.geometry
Class OperatorImportFromGeoJson
- java.lang.Object
-
- com.esri.core.geometry.Operator
-
- com.esri.core.geometry.OperatorImportFromGeoJson
-
- Direct Known Subclasses:
OperatorImportFromGeoJsonLocal
public abstract class OperatorImportFromGeoJson extends Operator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.esri.core.geometry.Operator
Operator.Type
-
-
Constructor Summary
Constructors Constructor Description OperatorImportFromGeoJson()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MapGeometryexecute(int importFlags, Geometry.Type type, JsonReader jsonReader, ProgressTracker progressTracker)Performs the ImportFromGeoJson operation.abstract MapGeometryexecute(int import_flags, Geometry.Type type, java.lang.String geoJsonString, ProgressTracker progress_tracker)Deprecated, use version without import_flags.abstract MapOGCStructureexecuteOGC(int import_flags, java.lang.String geoJsonString, ProgressTracker progress_tracker)Performs the ImportFromGeoJson operation.Operator.TypegetType()static OperatorImportFromGeoJsonlocal()-
Methods inherited from class com.esri.core.geometry.Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
-
-
-
Method Detail
-
getType
public Operator.Type getType()
-
execute
public abstract MapGeometry execute(int importFlags, Geometry.Type type, JsonReader jsonReader, ProgressTracker progressTracker)
Performs the ImportFromGeoJson operation.- Parameters:
type- Use theGeometry.Typeenum.jsonReader- The JSONReader.- Returns:
- Returns the imported MapGeometry.
- Throws:
JsonGeometryException
-
execute
public abstract MapGeometry execute(int import_flags, Geometry.Type type, java.lang.String geoJsonString, ProgressTracker progress_tracker)
Deprecated, use version without import_flags. Performs the ImportFromGeoJson operation.- Parameters:
import_flags- Use theGeoJsonImportFlagsinterface.type- Use theGeometry.Typeenum.geoJsonString- The string holding the Geometry in geoJson format.- Returns:
- Returns the imported MapGeometry.
-
executeOGC
public abstract MapOGCStructure executeOGC(int import_flags, java.lang.String geoJsonString, ProgressTracker progress_tracker)
Performs the ImportFromGeoJson operation.- Parameters:
import_flags- Use theGeoJsonImportFlagsinterface.geoJsonString- The string holding the Geometry in geoJson format.- Returns:
- Returns the imported MapOGCStructure.
-
local
public static OperatorImportFromGeoJson local()
-
-