Package com.esri.core.geometry
Class OperatorExportToGeoJsonCursor
- java.lang.Object
-
- com.esri.core.geometry.JsonCursor
-
- com.esri.core.geometry.OperatorExportToGeoJsonCursor
-
class OperatorExportToGeoJsonCursor extends JsonCursor
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intm_export_flags(package private) intm_index(package private) GeometryCursorm_inputGeometryCursor(package private) SpatialReferencem_spatialReference
-
Constructor Summary
Constructors Constructor Description OperatorExportToGeoJsonCursor(int export_flags, SpatialReference spatialReference, GeometryCursor geometryCursor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static voidexportEnvelopeToGeoJson_(int export_flags, Envelope envelope, JsonWriter json_writer)private static voidexportGeometryToGeoJson_(int export_flags, Geometry geometry, JsonWriter json_writer)private static voidexportMultiPointToGeoJson_(int export_flags, MultiPoint multipoint, JsonWriter json_writer)private static voidexportPointToGeoJson_(int export_flags, Point point, JsonWriter json_writer)private static voidexportPolygonToGeoJson_(int export_flags, Polygon polygon, JsonWriter json_writer)private static voidexportPolylineToGeoJson_(int export_flags, Polyline polyline, JsonWriter json_writer)(package private) static java.lang.StringexportSpatialReference(int export_flags, SpatialReference spatial_reference)private static voidexportSpatialReference(int export_flags, SpatialReference spatial_reference, JsonWriter json_writer)(package private) static java.lang.StringexportToGeoJson(int export_flags, Geometry geometry, SpatialReference spatial_reference)intgetID()Returns the ID of the current geometry.private static voidlineStringTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, JsonWriter json_writer)private static voidlineStringText_(boolean bRing, boolean b_closed, int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, int istart, int iend, JsonWriter json_writer)private static voidmultiLineStringTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int path_count, JsonWriter json_writer)private static voidmultiLineStringText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int path_count, JsonWriter json_writer)private static voidmultiPointTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, int point_count, JsonWriter json_writer)private static voidmultiPointTaggedTextFromPoint_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double x, double y, double z, double m, JsonWriter json_writer)private static voidmultiPolygonTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int polygon_count, int path_count, JsonWriter json_writer)private static voidmultiPolygonTaggedTextFromEnvelope_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double xmin, double ymin, double xmax, double ymax, double zmin, double zmax, double mmin, double mmax, JsonWriter json_writer)private static voidmultiPolygonText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int polygon_count, int path_count, JsonWriter json_writer)java.lang.Stringnext()Moves the cursor to the next string.private static voidpointTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double x, double y, double z, double m, JsonWriter json_writer)private static intpointText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double x, double y, double z, double m, JsonWriter json_writer)private static voidpointText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, int point, JsonWriter json_writer)private static voidpolygonTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt32 paths, int path_count, JsonWriter json_writer)private static voidpolygonTaggedTextFromEnvelope_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double xmin, double ymin, double xmax, double ymax, double zmin, double zmax, double mmin, double mmax, JsonWriter json_writer)private static voidpolygonText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt32 paths, int polygon_start, int polygon_end, JsonWriter json_writer)private static voidwriteEnvelopeAsGeoJsonPolygon_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double xmin, double ymin, double xmax, double ymax, double zmin, double zmax, double mmin, double mmax, JsonWriter json_writer)
-
-
-
Field Detail
-
m_inputGeometryCursor
GeometryCursor m_inputGeometryCursor
-
m_spatialReference
SpatialReference m_spatialReference
-
m_index
int m_index
-
m_export_flags
int m_export_flags
-
-
Constructor Detail
-
OperatorExportToGeoJsonCursor
public OperatorExportToGeoJsonCursor(int export_flags, SpatialReference spatialReference, GeometryCursor geometryCursor)
-
-
Method Detail
-
getID
public int getID()
Description copied from class:JsonCursorReturns the ID of the current geometry. The ID is propagated across the operations (when possible). Returns an ID associated with the current Geometry. The ID is passed along and is returned by some operators to preserve relationship between the input and output geometry classes. It is not always possible to preserve an ID during an operation.- Specified by:
getIDin classJsonCursor
-
next
public java.lang.String next()
Description copied from class:JsonCursorMoves the cursor to the next string. Returns null when reached the end.- Specified by:
nextin classJsonCursor
-
exportToGeoJson
static java.lang.String exportToGeoJson(int export_flags, Geometry geometry, SpatialReference spatial_reference)
-
exportSpatialReference
static java.lang.String exportSpatialReference(int export_flags, SpatialReference spatial_reference)
-
exportGeometryToGeoJson_
private static void exportGeometryToGeoJson_(int export_flags, Geometry geometry, JsonWriter json_writer)
-
exportSpatialReference
private static void exportSpatialReference(int export_flags, SpatialReference spatial_reference, JsonWriter json_writer)
-
exportPolygonToGeoJson_
private static void exportPolygonToGeoJson_(int export_flags, Polygon polygon, JsonWriter json_writer)
-
exportPolylineToGeoJson_
private static void exportPolylineToGeoJson_(int export_flags, Polyline polyline, JsonWriter json_writer)
-
exportMultiPointToGeoJson_
private static void exportMultiPointToGeoJson_(int export_flags, MultiPoint multipoint, JsonWriter json_writer)
-
exportPointToGeoJson_
private static void exportPointToGeoJson_(int export_flags, Point point, JsonWriter json_writer)
-
exportEnvelopeToGeoJson_
private static void exportEnvelopeToGeoJson_(int export_flags, Envelope envelope, JsonWriter json_writer)
-
multiPolygonTaggedText_
private static void multiPolygonTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int polygon_count, int path_count, JsonWriter json_writer)
-
multiPolygonTaggedTextFromEnvelope_
private static void multiPolygonTaggedTextFromEnvelope_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double xmin, double ymin, double xmax, double ymax, double zmin, double zmax, double mmin, double mmax, JsonWriter json_writer)
-
multiLineStringTaggedText_
private static void multiLineStringTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int path_count, JsonWriter json_writer)
-
multiPointTaggedText_
private static void multiPointTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, int point_count, JsonWriter json_writer)
-
multiPointTaggedTextFromPoint_
private static void multiPointTaggedTextFromPoint_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double x, double y, double z, double m, JsonWriter json_writer)
-
polygonTaggedText_
private static void polygonTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt32 paths, int path_count, JsonWriter json_writer)
-
polygonTaggedTextFromEnvelope_
private static void polygonTaggedTextFromEnvelope_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double xmin, double ymin, double xmax, double ymax, double zmin, double zmax, double mmin, double mmax, JsonWriter json_writer)
-
lineStringTaggedText_
private static void lineStringTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, JsonWriter json_writer)
-
pointTaggedText_
private static void pointTaggedText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double x, double y, double z, double m, JsonWriter json_writer)
-
multiPolygonText_
private static void multiPolygonText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int polygon_count, int path_count, JsonWriter json_writer)
-
multiLineStringText_
private static void multiLineStringText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt8 path_flags, AttributeStreamOfInt32 paths, int path_count, JsonWriter json_writer)
-
polygonText_
private static void polygonText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, AttributeStreamOfInt32 paths, int polygon_start, int polygon_end, JsonWriter json_writer)
-
lineStringText_
private static void lineStringText_(boolean bRing, boolean b_closed, int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, int istart, int iend, JsonWriter json_writer)
-
pointText_
private static int pointText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double x, double y, double z, double m, JsonWriter json_writer)
-
pointText_
private static void pointText_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, AttributeStreamOfDbl zs, AttributeStreamOfDbl ms, AttributeStreamOfDbl position, int point, JsonWriter json_writer)
-
writeEnvelopeAsGeoJsonPolygon_
private static void writeEnvelopeAsGeoJsonPolygon_(int precision, boolean bFixedPoint, boolean b_export_zs, boolean b_export_ms, double xmin, double ymin, double xmax, double ymax, double zmin, double zmax, double mmin, double mmax, JsonWriter json_writer)
-
-