[postgis-users] Feeding geometries into a custom SRF query

Michael Toews mwtoews at sfu.ca
Thu May 28 07:40:58 PDT 2009


Hi Regina,

The wrapping trick works perfectly for <=8.3. Thanks!

-Mike

----- Original Message -----
From: "Regina Obe" <robe.dnd at cityofboston.gov>
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Sent: Thursday, 28 May, 2009 06:10:24 GMT -08:00 US/Canada Pacific
Subject: RE: [postgis-users] Feeding geometries into a custom SRF query

Mike,

In PostgreSQL 8.4 by the way,  what you have will work.  For lower
versions I wrap my plpgsql in an sql function wrapper as described here.

http://www.postgresonline.com/journal/index.php?/archives/16-Trojan-SQL-Function-Hack-A-PL-Lemma-in-Disguise.html 

Hope that helps,
Regina



More information about the postgis-users mailing list