PostGIS  3.4.0dev-r@@SVN_REVISION@@
postgis/lwgeom_transform.c File Reference
#include "postgres.h"
#include "fmgr.h"
#include "funcapi.h"
#include "utils/builtins.h"
#include "../postgis_config.h"
#include "liblwgeom.h"
#include "lwgeodetic.h"
#include "stringbuffer.h"
#include "lwgeom_transform.h"
Include dependency graph for postgis/lwgeom_transform.c:

Go to the source code of this file.

Data Structures

struct  srs_entry
 
struct  srs_data
 

Macros

#define ntypes   3
 

Functions

Datum transform (PG_FUNCTION_ARGS)
 
Datum transform_geom (PG_FUNCTION_ARGS)
 
Datum transform_pipeline_geom (PG_FUNCTION_ARGS)
 
Datum postgis_proj_version (PG_FUNCTION_ARGS)
 
Datum LWGEOM_asKML (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (transform)
 transform( GEOMETRY, INT (output srid) ) tmpPts - if there is a nadgrid error (-38), we re-try the transform on a copy of points. More...
 
 PG_FUNCTION_INFO_V1 (transform_geom)
 Transform_geom( GEOMETRY, TEXT (input proj4), TEXT (output proj4), INT (output srid) More...
 
 PG_FUNCTION_INFO_V1 (transform_pipeline_geom)
 transform_pipeline_geom( GEOMETRY, TEXT (input proj pipeline), BOOL (is forward), INT (output srid) More...
 
 PG_FUNCTION_INFO_V1 (postgis_proj_version)
 
 PG_FUNCTION_INFO_V1 (LWGEOM_asKML)
 Encode feature in KML. More...
 
static int srs_entry_cmp (const void *a, const void *b)
 
static Datum srs_tuple_from_entry (const struct srs_entry *entry, TupleDesc tuple_desc)
 
static struct srs_datasrs_state_init ()
 
static void srs_state_memcheck (struct srs_data *state)
 
static void srs_state_codes (const char *auth_name, struct srs_data *state)
 
static void srs_find_planar (const char *auth_name, const LWGEOM *bounds, struct srs_data *state)
 
Datum postgis_srs_entry (PG_FUNCTION_ARGS)
 Search for srtext and proj4text given auth_name and auth_srid, returns TABLE(auth_name text, auth_srid text, srtext text, proj4text text) More...
 
 PG_FUNCTION_INFO_V1 (postgis_srs_entry)
 
Datum postgis_srs_entry_all (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (postgis_srs_entry_all)
 
Datum postgis_srs_codes (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (postgis_srs_codes)
 
Datum postgis_srs_search (PG_FUNCTION_ARGS)
 Search for projections given extent and (optional) auth_name returns TABLE(auth_name, auth_srid, srtext, proj4text, point_sw, point_ne) More...
 
 PG_FUNCTION_INFO_V1 (postgis_srs_search)