#include <assert.h>
#include "liblwgeom.h"
#include "lwgeom_log.h"
#include "../postgis_config.h"
#include <json-c/json.h>
#include <json-c/json_object_private.h>
#include <string.h>
Go to the source code of this file.
|
static void | geojson_lwerror (char *msg, __attribute__((__unused__)) int error_code) |
|
static LWGEOM * | parse_geojson (json_object *geojson, int *hasz, int root_srid) |
|
static json_object * | findMemberByName (json_object *poObj, const char *pszName) |
|
static int | parse_geojson_coord (json_object *poObj, int *hasz, POINTARRAY *pa) |
|
static LWGEOM * | parse_geojson_point (json_object *geojson, int *hasz, int root_srid) |
|
static LWGEOM * | parse_geojson_linestring (json_object *geojson, int *hasz, int root_srid) |
|
static LWGEOM * | parse_geojson_polygon (json_object *geojson, int *hasz, int root_srid) |
|
static LWGEOM * | parse_geojson_multipoint (json_object *geojson, int *hasz, int root_srid) |
|
static LWGEOM * | parse_geojson_multilinestring (json_object *geojson, int *hasz, int root_srid) |
|
static LWGEOM * | parse_geojson_multipolygon (json_object *geojson, int *hasz, int root_srid) |
|
static LWGEOM * | parse_geojson_geometrycollection (json_object *geojson, int *hasz, int root_srid) |
|
LWGEOM * | lwgeom_from_geojson (const char *geojson, char **srs) |
| Create an LWGEOM object from a GeoJSON representation. More...
|
|