5#ifndef OGRGEOJSONGEOMETRY_H_INCLUDED
6#define OGRGEOJSONGEOMETRY_H_INCLUDED
11#include "cpl_json_header.h"
41 enum CoordinateDimension
43 eMinCoordinateDimension = 2,
44 eMaxCoordinateDimensionGeoJSON = 3,
45 eMaxCoordinateDimensionJSONFG = 4,
53GeoJSONObject::Type CPL_DLL OGRGeoJSONGetType(json_object *poObj);
55bool CPL_DLL OGRJSONFGHasMeasure(json_object *poObj,
bool bUpperLevelMValue);
60std::unique_ptr<OGRGeometry>
61 CPL_DLL OGRGeoJSONReadGeometry(json_object *poObj,
bool bHasM,
66std::unique_ptr<OGRPolygon> OGRGeoJSONReadPolygon(json_object *poObj,
67 bool bHasM,
bool bRaw);
69const char *OGRGeoJSONGetGeometryName(
OGRGeometry const *poGeometry);
Abstract base class for all geometry classes.
Definition ogr_geometry.h:357
This class represents an OpenGIS Spatial Reference System, and contains methods for converting betwee...
Definition ogr_spatialref.h:152
Core portability definitions for CPL.
C API and defines for OGRFeature, OGRGeometry, and OGRDataSource related classes.
OGRwkbGeometryType
List of well known binary geometry types.
Definition ogr_core.h:405
@ wkbLineString
1-dimensional geometric object with linear interpolation between Points, standard WKB
Definition ogr_core.h:409
@ wkbCircularString
one or more circular arc segments connected end to end, ISO SQL/MM Part 3.
Definition ogr_core.h:421
@ wkbPolygon
planar 2-dimensional geometric object defined by 1 exterior boundary and 0 or more interior boundarie...
Definition ogr_core.h:411
@ wkbMultiLineString
GeometryCollection of LineStrings, standard WKB.
Definition ogr_core.h:415
@ wkbUnknown
unknown type, non-standard
Definition ogr_core.h:406
@ wkbPoint
0-dimensional geometric object, standard WKB
Definition ogr_core.h:408
@ wkbCompoundCurve
sequence of contiguous curves, ISO SQL/MM Part 3.
Definition ogr_core.h:423
@ wkbGeometryCollection
geometric object that is a collection of 1 or more geometric objects, standard WKB
Definition ogr_core.h:418
@ wkbMultiPolygon
GeometryCollection of Polygons, standard WKB.
Definition ogr_core.h:417
@ wkbMultiPoint
GeometryCollection of Points, standard WKB.
Definition ogr_core.h:414
@ wkbCurvePolygon
planar surface, defined by 1 exterior boundary and zero or more interior boundaries,...
Definition ogr_core.h:425
@ wkbMultiSurface
GeometryCollection of Surfaces, ISO SQL/MM Part 3.
Definition ogr_core.h:430
@ wkbMultiCurve
GeometryCollection of Curves, ISO SQL/MM Part 3.
Definition ogr_core.h:428
Simple feature geometry classes.