[postgis-users] ST_Transform error
Sandro Santilli
strk at keybit.net
Tue Jan 8 06:37:09 PST 2013
On Tue, Jan 08, 2013 at 03:29:04PM +0100, Cedric Duprez wrote:
> >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 ?
Possibly, but first try a different SRID (4326 both for source
and destination is likely short-circuited).
--strk;
More information about the postgis-users
mailing list