[postgis-users] Best way to return a WKB when using pglib
Paul Ramsey
pramsey at refractions.net
Tue May 8 14:56:39 PDT 2007
encode(asbinary(the_geom), 'base64')
Rob Tester wrote:
> I am writing an extension (libpg) that ultimately can create several
> hundred to several thousand WKT polygons. Once I have the WKT created,
> instead of returning them I would prefer to return the WKB inside the
> tuple. How can I efficiently return a WKB inside the tuple instead of
> the WKT?
>
> Any help or push in the right direction would be appreciated.
--
Paul Ramsey
Refractions Research
http://www.refractions.net
pramsey at refractions.net
Phone: 250-383-3022
Cell: 250-885-0632
More information about the postgis-users
mailing list