Class OperatorImportFromGeoJsonLocal.OperatorImportFromGeoJsonHelper
java.lang.Object
com.esri.core.geometry.OperatorImportFromGeoJsonLocal.OperatorImportFromGeoJsonHelper
- Enclosing class:
OperatorImportFromGeoJsonLocal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate booleanprivate booleanprivate AttributeStreamOfDblprivate int(package private) intprivate AttributeStreamOfInt8private AttributeStreamOfInt32private Pointprivate AttributeStreamOfDblprivate AttributeStreamOfDbl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddCoordinate_(JsonReader json_iterator) private voidaddPath_()private voidaddPathFlag_(boolean b_polygon_start) private voidcheckPathPointCountsForMultiPath_(boolean b_is_polygon) private GeometrycreateGeometry_(OperatorImportFromGeoJsonLocal.GeoJsonType geo_json_type, int type) private Geometryprivate Geometryprivate Geometryprivate static StringgetCrsIdentifier_(JsonReader json_iterator) private voidimport_coordinates_(JsonReader json_iterator, ProgressTracker progress_tracker) (package private) static MapGeometryimportFromGeoJson(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates) (package private) static MapOGCStructureimportFromGeoJson(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates, int recursion) (package private) MapOGCStructureimportFromGeoJsonImpl(int importFlags, Geometry.Type type, JsonReader json_iterator, ProgressTracker progress_tracker, boolean skip_coordinates, int recursion) (package private) static SpatialReferenceimportSpatialReferenceFromCrs(JsonReader json_iterator, ProgressTracker progress_tracker) (package private) static SpatialReferenceimportSpatialReferenceFromCrsUrn_(JsonReader json_iterator, ProgressTracker progress_tracker) private voidinsertIntoAdjustedStreams_(AttributeStreamOfDbl adjusted_position, AttributeStreamOfDbl adjusted_zs, AttributeStreamOfDbl adjusted_ms, int adjusted_start, int path_start, int count) private booleanisDouble_(JsonReader json_iterator) private voidreadCoordinateAsPoint_(JsonReader json_iterator) private doublereadDouble_(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
-