Class OperatorImportFromGeoJson
java.lang.Object
com.esri.core.geometry.Operator
com.esri.core.geometry.OperatorImportFromGeoJson
- Direct Known Subclasses:
OperatorImportFromGeoJsonLocal
-
Nested Class Summary
Nested classes/interfaces inherited from class Operator
Operator.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MapGeometryexecute(int importFlags, Geometry.Type type, JsonReader jsonReader, ProgressTracker progressTracker) Performs the ImportFromGeoJson operation.abstract MapGeometryexecute(int import_flags, Geometry.Type type, String geoJsonString, ProgressTracker progress_tracker) Deprecated, use version without import_flags.abstract MapOGCStructureexecuteOGC(int import_flags, String geoJsonString, ProgressTracker progress_tracker) Performs the ImportFromGeoJson operation.getType()static OperatorImportFromGeoJsonlocal()Methods inherited from class Operator
accelerateGeometry, canAccelerateGeometry, deaccelerateGeometry
-
Constructor Details
-
OperatorImportFromGeoJson
public OperatorImportFromGeoJson()
-
-
Method Details
-
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, 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, 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
-