[postgis-users] ST_Transform error

Cedric Duprez Cedric.Duprez at ign.fr
Tue Jan 8 06:29:04 PST 2013


>select n.nspname, p.proname, p.prosrc, p.probin from pg_proc p, pg_type t, pg_namespace n where p.pronamespace = n.oid and p.proargtypes[0] = t.oid and t.typname = 'geometry' and proname = 'st_transform';

It gives : public;st_transform;transform;$libdir/postgis-2.0

> SELECT ST_Transform('SRID=4326;POINT(0 0)'::geometry, 27582)
ERROR: lwgeom_transform: Cannot handle type 'Invalid type'
 
> SELECT ST_Transform('SRID=4326;POINT(0 0)'::geometry, 4326) 
D820000001000010E600000000000000000000000000000000


The problem seems to come from proj-datum grid, isn't is ?


More information about the postgis-users mailing list