Package com.esri.core.geometry
Class OperatorImportFromGeoJsonLocal.OperatorImportFromGeoJsonHelper
java.lang.Object
com.esri.core.geometry.OperatorImportFromGeoJsonLocal.OperatorImportFromGeoJsonHelper
- Enclosing class:
OperatorImportFromGeoJsonLocal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
private boolean
private AttributeStreamOfDbl
private int
(package private) int
private AttributeStreamOfInt8
private AttributeStreamOfInt32
private Point
private AttributeStreamOfDbl
private AttributeStreamOfDbl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addCoordinate_
(JsonReader json_iterator) private void
addPath_()
private void
addPathFlag_
(boolean b_polygon_start) private void
checkPathPointCountsForMultiPath_
(boolean b_is_polygon) private Geometry
createGeometry_
(OperatorImportFromGeoJsonLocal.GeoJsonType geo_json_type, int type) private Geometry
private Geometry
private Geometry
private static String
getCrsIdentifier_
(JsonReader json_iterator) private void
import_coordinates_
(JsonReader json_iterator, ProgressTracker progress_tracker) (package private) static MapGeometry
importFromGeoJson
(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates) (package private) static MapOGCStructure
importFromGeoJson
(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates, int recursion) (package private) MapOGCStructure
importFromGeoJsonImpl
(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates, int recursion) (package private) static SpatialReference
importSpatialReferenceFromCrs
(JsonReader json_iterator, ProgressTracker progress_tracker) (package private) static SpatialReference
importSpatialReferenceFromCrsUrn_
(JsonReader json_iterator, ProgressTracker progress_tracker) private void
insertIntoAdjustedStreams_
(AttributeStreamOfDbl adjusted_position, AttributeStreamOfDbl adjusted_zs, AttributeStreamOfDbl adjusted_ms, int adjusted_start, int path_start, int count) private boolean
isDouble_
(JsonReader json_iterator) private void
readCoordinateAsPoint_
(JsonReader json_iterator) private double
readDouble_
(JsonReader json_iterator)
-
Field Details
-
m_position
-
m_zs
-
m_ms
-
m_paths
-
m_path_flags
-
m_point
-
m_b_has_zs
private boolean m_b_has_zs -
m_b_has_ms
private boolean m_b_has_ms -
m_b_has_zs_known
private boolean m_b_has_zs_known -
m_b_has_ms_known
private boolean m_b_has_ms_known -
m_num_embeddings
private int m_num_embeddings -
m_ogcType
int m_ogcType
-
-
Constructor Details
-
OperatorImportFromGeoJsonHelper
OperatorImportFromGeoJsonHelper()
-
-
Method Details
-
importFromGeoJson
static MapGeometry importFromGeoJson(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates) throws JsonGeometryException - Throws:
JsonGeometryException
-
importFromGeoJson
static MapOGCStructure importFromGeoJson(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates, int recursion) throws JsonGeometryException - Throws:
JsonGeometryException
-
importFromGeoJsonImpl
MapOGCStructure importFromGeoJsonImpl(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates, int recursion) throws JsonGeometryException - Throws:
JsonGeometryException
-
import_coordinates_
private void import_coordinates_(JsonReader json_iterator, ProgressTracker progress_tracker) throws JsonGeometryException - Throws:
JsonGeometryException
-
readCoordinateAsPoint_
- Throws:
JsonGeometryException
-
addCoordinate_
- Throws:
JsonGeometryException
-
addPath_
private void addPath_() -
addPathFlag_
private void addPathFlag_(boolean b_polygon_start) -
readDouble_
- Throws:
JsonGeometryException
-
isDouble_
- Throws:
JsonGeometryException
-
createGeometry_
private Geometry createGeometry_(OperatorImportFromGeoJsonLocal.GeoJsonType geo_json_type, int type) throws JsonGeometryException - Throws:
JsonGeometryException
-
createPolygonFromStreams_
-
createPolylineFromStreams_
-
createMultiPointFromStreams_
-
checkPathPointCountsForMultiPath_
private void checkPathPointCountsForMultiPath_(boolean b_is_polygon) -
insertIntoAdjustedStreams_
private void insertIntoAdjustedStreams_(AttributeStreamOfDbl adjusted_position, AttributeStreamOfDbl adjusted_zs, AttributeStreamOfDbl adjusted_ms, int adjusted_start, int path_start, int count) -
importSpatialReferenceFromCrs
static SpatialReference importSpatialReferenceFromCrs(JsonReader json_iterator, ProgressTracker progress_tracker) throws JsonGeometryException - Throws:
JsonGeometryException
-
importSpatialReferenceFromCrsUrn_
static SpatialReference importSpatialReferenceFromCrsUrn_(JsonReader json_iterator, ProgressTracker progress_tracker) throws JsonGeometryException - Throws:
JsonGeometryException
-
getCrsIdentifier_
- Throws:
JsonGeometryException
-