[postgis-devel] [PostGIS] #318: 900913->4326 Transform
PostGIS
trac at osgeo.org
Tue Dec 22 07:23:35 PST 2009
#318: 900913->4326 Transform
----------------------+-----------------------------------------------------
Reporter: pramsey | Owner: mcayland
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.5.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by mloskot):
I can not reproduce Paul's problem and I get similar output to Mark's:
{{{
mloskot at vb-ubuntu910-x64:~$ psql ticket318
psql (8.4.1)
Type "help" for help.
ticket318=# SELECT postgis_full_version();
postgis_full_version
-------------------------------------------------------------------------------------------------------
POSTGIS="1.5.0SVN" GEOS="3.3.0-CAPI-1.6.1" PROJ="Rel. 4.6.1, 21 August
2008" LIBXML="2.7.5" USE_STATS
(1 row)
ticket318=# SELECT
ASTEXT(ST_Transform(ST_SetSRID(ST_Point(-633510.090428,7506727.67383),900913),4326));
astext
-------------------------------------------
POINT(-5.69091796875412 55.7394816986905)
(1 row)
ticket318=# SELECT
ASTEXT(ST_Transform(ST_SetSRID(ST_Point(-305748.113141,7834489.65112),900913),4326));
astext
-------------------------------------------
POINT(-2.74658203125265 57.3620898615614)
(1 row)
ticket318=# SELECT
ASTEXT(ST_Transform(ST_SetSRID(ST_Point(-305748.113141,7834489.65112),900913),4269));
astext
-------------------------------------------
POINT(-2.74658203125265 57.3620898624176)
(1 row)
ticket318=# SELECT
ASTEXT(ST_Transform(ST_SetSRID(ST_Point(-305748.113141,7834489.65112),900913),4267));
ERROR: transform: couldn't project point (-305748 7.83449e+06 0): failed
to load NAD27-83 correction file (-38)
HINT: PostGIS was unable to transform the point because either no grid
shift files were found, or the point does not lie within the range for
which the grid shift is defined. Refer to the ST_Transform() section of
the PostGIS manual for details on how to configure PostGIS to alter this
behaviour.
ticket318=#
}}}
I use GEOS and PostGIS built from SVN trunk today morning on Linux Ubuntu
9.10 (64-bit)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/318#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list