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 MapGeometry
execute(int importFlags, Geometry.Type type, JsonReader jsonReader, ProgressTracker progressTracker)
Performs the ImportFromGeoJson operation.abstract MapGeometry
execute(int import_flags, Geometry.Type type, java.lang.String geoJsonString, ProgressTracker progress_tracker)
Deprecated, use version without import_flags.abstract MapOGCStructure
executeOGC(int import_flags, java.lang.String geoJsonString, ProgressTracker progress_tracker)
Performs the ImportFromGeoJson operation.Operator.Type
getType()
static OperatorImportFromGeoJson
local()
-
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.Type
enum.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 theGeoJsonImportFlags
interface.type
- Use theGeometry.Type
enum.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 theGeoJsonImportFlags
interface.geoJsonString
- The string holding the Geometry in geoJson format.- Returns:
- Returns the imported MapOGCStructure.
-
local
public static OperatorImportFromGeoJson local()
-
-