[postgis-users] ST_Transform error

Cedric Duprez Cedric.Duprez at ign.fr
Tue Jan 8 02:25:25 PST 2013


>> I am on an Ubuntu 12.04 server.
>> I uninstalled postgis extension 2.0.1, uninstalled postgis using make uninstall under the compiled sources directory.
>> Then I uninstalled Proj4 in the same way, recompiled after having unzipped proj-datum grid 1.5 in the nad directory.
>> Then I recompiled the new postgis 2.0.2 from sources and finally installed the extensions.
>> 
>> Have I done something wrong? How can I do to correct my installation?

>Actually it seems all fine to me.
>Can you reproduce with any other SRID value ?

Yes, I can reproduce it with any other SRID values. Example:
SELECT ST_X(g) AS x, ST_Y(g) AS y
FROM (
	SELECT ST_Transform(ST_GeomFromText('POINT (2.017400 49.024761)', 4326), 27582) AS g
) AS req;
I get the same error message: ERROR: lwgeom_transform: Cannot handle type 'Invalid type'
État SQL :XX000

What should I do to perform a complete reinstallation from sources?

Cedric



More information about the postgis-users mailing list