Package com.esri.core.geometry
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 com.esri.core.geometry.Operator
Operator.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MapGeometry
execute
(int importFlags, Geometry.Type type, JsonReader jsonReader, ProgressTracker progressTracker) Performs the ImportFromGeoJson operation.abstract MapGeometry
execute
(int import_flags, Geometry.Type type, String geoJsonString, ProgressTracker progress_tracker) Deprecated, use version without import_flags.abstract MapOGCStructure
executeOGC
(int import_flags, String geoJsonString, ProgressTracker progress_tracker) Performs the ImportFromGeoJson operation.getType()
static OperatorImportFromGeoJson
local()
Methods inherited from class com.esri.core.geometry.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.Type
enum.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 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, 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
-