[postgis-devel] [PostGIS] #252: Text autocasting behavior of geography is breaking geometry functionality
PostGIS
trac at osgeo.org
Wed Sep 23 05:50:41 PDT 2009
#252: Text autocasting behavior of geography is breaking geometry functionality
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: postgis 1.5.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
I have always been against these autocasts especially the text ones.
While I would like to remove it for geometry, that will of course break
existing functionality, but PLEASE remove it for geography.
This breaks
SELECT ST_AsBinary('POINT(1 2)');
and gives this error
ERROR: function st_asbinary(unknown) is not unique
LINE 1: SELECT ST_AsBinary('POINT(1 2)')
^
HINT: Could not choose a best candidate function. You might need to add
explicit type casts.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/252>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list