MobilityDB 1.3
Loading...
Searching...
No Matches
meos_transform.h
Go to the documentation of this file.
1/**********************************************************************
2 *
3 * PostGIS - Spatial Types for PostgreSQL
4 * http://postgis.net
5 * Copyright 2001-2003 Refractions Research Inc.
6 *
7 * This is free software; you can redistribute and/or modify it under
8 * the terms of the GNU General Public Licence. See the COPYING file.
9 *
10 **********************************************************************/
11
12/* PostgreSQL */
13#include <postgres.h>
14/* PostGIS */
15#include <liblwgeom.h>
16
17/* Prototypes */
18
19extern int lwproj_lookup(int32_t srid_from, int32_t srid_to, LWPROJ **pj);
20extern int spheroid_init_from_srid(int32_t srid, SPHEROID *s);
21extern void srid_check_latlong(int32_t srid);
22extern int srid_is_latlong(int32_t srid);
23
30#define SRID_RESERVE_OFFSET 999000
31
33#define SRID_WORLD_MERCATOR 999000
34
36#define SRID_NORTH_UTM_START 999001
37
39#define SRID_NORTH_UTM_END 999060
40
42#define SRID_NORTH_LAMBERT 999061
43
45#define SRID_NORTH_STEREO 999062
46
48#define SRID_SOUTH_UTM_START 999101
49
51#define SRID_SOUTH_UTM_END 999160
52
54#define SRID_SOUTH_LAMBERT 999161
55
57#define SRID_SOUTH_STEREO 999162
58
60#define SRID_LAEA_START 999163
61
63#define SRID_LAEA_END 999283
64
int srid_is_latlong(int32_t srid)
Return 1 if the SRID is geodetic, return 0 otherwise.
Definition: tspatial_srid.c:361
void srid_check_latlong(int32_t srid)
int lwproj_lookup(int32_t srid_from, int32_t srid_to, LWPROJ **pj)
Return 1 if the projection structure was read from the PROJ cache, return 0 otherwise.
Definition: tspatial_transform_meos.c:629
int spheroid_init_from_srid(int32_t srid, SPHEROID *s)
Return 1 if the spheroid in the last argument was initialized from an SRID, return 0 otherwise.
Definition: tspatial_transform_meos.c:652
Definition: postgis_ext_defs.in.h:406
Definition: postgis_ext_defs.in.h:101