PostGIS
3.4.0dev-r@@SVN_REVISION@@
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
c
d
f
g
i
l
m
p
q
w
Variables
a
b
c
d
f
g
h
i
l
n
o
p
r
s
t
u
v
x
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
w
y
Typedefs
_
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
y
Enumerations
Enumerator
a
c
d
e
f
g
i
j
l
m
p
r
s
t
u
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
◆
geometry_enforce_typmod()
Datum geometry_enforce_typmod
(
PG_FUNCTION_ARGS
)
Definition at line
387
of file
gserialized_typmod.c
.
388
{
389
GSERIALIZED
*arg = PG_GETARG_GSERIALIZED_P(0);
390
int32
typmod = PG_GETARG_INT32(1);
391
/* We don't need to have different behavior based on explicitness. */
392
/* bool isExplicit = PG_GETARG_BOOL(2); */
393
394
/* Check if geometry typmod is consistent with the supplied one. */
395
arg =
postgis_valid_typmod
(arg, typmod);
396
397
PG_RETURN_POINTER(arg);
398
}
postgis_valid_typmod
GSERIALIZED * postgis_valid_typmod(GSERIALIZED *gser, int32_t typmod)
Check the consistency of the metadata we want to enforce in the typmod: srid, type and dimensionality...
Definition:
gserialized_typmod.c:110
int32
unsigned int int32
Definition:
shpopen.c:54
GSERIALIZED
Definition:
liblwgeom.h:443
References
postgis_valid_typmod()
.
Here is the call graph for this function:
postgis
gserialized_typmod.c
Generated by
1.9.1