PostGIS  2.5.0dev-r@@SVN_REVISION@@
Datum LWGEOM_makepoint3dm ( PG_FUNCTION_ARGS  )

Definition at line 2142 of file lwgeom_functions_basic.c.

References geometry_serialize(), lwpoint_make3dm(), SRID_UNKNOWN, pixval::x, and pixval::y.

2143 {
2144  double x,y,m;
2145  LWPOINT *point;
2146  GSERIALIZED *result;
2147 
2148  POSTGIS_DEBUG(2, "LWGEOM_makepoint3dm called.");
2149 
2150  x = PG_GETARG_FLOAT8(0);
2151  y = PG_GETARG_FLOAT8(1);
2152  m = PG_GETARG_FLOAT8(2);
2153 
2154  point = lwpoint_make3dm(SRID_UNKNOWN, x, y, m);
2155  result = geometry_serialize((LWGEOM *)point);
2156 
2157  PG_RETURN_POINTER(result);
2158 }
LWPOINT * lwpoint_make3dm(int srid, double x, double y, double m)
Definition: lwpoint.c:184
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:187
tuple x
Definition: pixval.py:53
GSERIALIZED * geometry_serialize(LWGEOM *lwgeom)
tuple y
Definition: pixval.py:54

Here is the call graph for this function: