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
►
PostGIS
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
◆
parse_WKT_lwgeom()
Datum parse_WKT_lwgeom
(
PG_FUNCTION_ARGS
)
Definition at line
659
of file
lwgeom_inout.c
.
660
{
661
text *wkt_text = PG_GETARG_TEXT_P(0);
662
char
*wkt;
663
Datum
result
;
664
665
/* Unwrap the PgSQL text type into a cstring */
666
wkt = text_to_cstring(wkt_text);
667
668
/* Now we call over to the geometry_in function
669
* We need to initialize the fcinfo since cache might be used
670
*/
671
result
= CallerFInfoFunctionCall1(
LWGEOM_in
, fcinfo->flinfo, InvalidOid, CStringGetDatum(wkt));
672
673
/* Return null on null */
674
if
( !
result
)
675
PG_RETURN_NULL();
676
677
PG_RETURN_DATUM(
result
);
678
}
result
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition:
cu_print.c:262
LWGEOM_in
Datum LWGEOM_in(PG_FUNCTION_ARGS)
Definition:
lwgeom_inout.c:85
References
LWGEOM_in()
, and
result
.
Here is the call graph for this function:
postgis
lwgeom_inout.c
Generated by
1.9.1