[postgis-users] Bug in astext?

David Blasby dblasby at refractions.net
Tue Dec 17 15:32:29 PST 2002


Luis Mota wrote:

> Any news on this subject?
>
> select astext(geom)||'other text' from location;

Commited to CVS.

dave
ps. you can either download the new postgis_inout.c file, or you can make the
change -

In function "Datum astext_geometry(PG_FUNCTION_ARGS)" in postgis_inout.c
The line that reads:
  len = strlen(wkt) + 5;
change it to
  len = strlen(wkt) + 4;





More information about the postgis-users mailing list