[postgis-devel] Can I call LWGEOM_x_point directly from another stored procedure?
Stephen Woodbridge
woodbri at swoodbridge.com
Sat Nov 16 20:39:13 PST 2013
Hi strk,
I would like to be able to pass a PostGIS point or point[] to a
pgRouting function and I'm wondering if is it is possible to directly
call LWGEOM_x_point() and somehow pass on of my args to that?
Basically, I would like a simple way to get x, y, and srid from a point.
I guess I can clone the code from LWGEOM_x_point into a function to
extract those.
Do I need to do anything to initialize stuff for postgis in my function?
Thanks,
-Steve
More information about the postgis-devel
mailing list