Package com.esri.core.geometry
Class OperatorImportFromGeoJsonLocal.OperatorImportFromGeoJsonHelper
- java.lang.Object
-
- com.esri.core.geometry.OperatorImportFromGeoJsonLocal.OperatorImportFromGeoJsonHelper
-
- Enclosing class:
- OperatorImportFromGeoJsonLocal
static final class OperatorImportFromGeoJsonLocal.OperatorImportFromGeoJsonHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
m_b_has_ms
private boolean
m_b_has_ms_known
private boolean
m_b_has_zs
private boolean
m_b_has_zs_known
private AttributeStreamOfDbl
m_ms
private int
m_num_embeddings
(package private) int
m_ogcType
private AttributeStreamOfInt8
m_path_flags
private AttributeStreamOfInt32
m_paths
private Point
m_point
private AttributeStreamOfDbl
m_position
private AttributeStreamOfDbl
m_zs
-
Constructor Summary
Constructors Constructor Description OperatorImportFromGeoJsonHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private 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
createMultiPointFromStreams_()
private Geometry
createPolygonFromStreams_()
private Geometry
createPolylineFromStreams_()
private static java.lang.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 Detail
-
m_position
private AttributeStreamOfDbl m_position
-
m_zs
private AttributeStreamOfDbl m_zs
-
m_ms
private AttributeStreamOfDbl m_ms
-
m_paths
private AttributeStreamOfInt32 m_paths
-
m_path_flags
private AttributeStreamOfInt8 m_path_flags
-
m_point
private Point 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
-
-
Method Detail
-
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_
private void readCoordinateAsPoint_(JsonReader json_iterator) throws JsonGeometryException
- Throws:
JsonGeometryException
-
addCoordinate_
private void addCoordinate_(JsonReader json_iterator) throws JsonGeometryException
- Throws:
JsonGeometryException
-
addPath_
private void addPath_()
-
addPathFlag_
private void addPathFlag_(boolean b_polygon_start)
-
readDouble_
private double readDouble_(JsonReader json_iterator) throws JsonGeometryException
- Throws:
JsonGeometryException
-
isDouble_
private boolean isDouble_(JsonReader json_iterator) throws JsonGeometryException
- Throws:
JsonGeometryException
-
createGeometry_
private Geometry createGeometry_(OperatorImportFromGeoJsonLocal.GeoJsonType geo_json_type, int type) throws JsonGeometryException
- Throws:
JsonGeometryException
-
createPolygonFromStreams_
private Geometry createPolygonFromStreams_()
-
createPolylineFromStreams_
private Geometry createPolylineFromStreams_()
-
createMultiPointFromStreams_
private Geometry 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_
private static java.lang.String getCrsIdentifier_(JsonReader json_iterator) throws JsonGeometryException
- Throws:
JsonGeometryException
-
-