[postgis-tickets] [PostGIS] #4642: regress_proj test fails with PROJ 7.0.0

PostGIS trac at osgeo.org
Fri Feb 21 02:35:33 PST 2020


#4642: regress_proj test fails with PROJ 7.0.0
-----------------------------+---------------------------
  Reporter:  Bas Couwenberg  |      Owner:  pramsey
      Type:  defect          |     Status:  new
  Priority:  medium          |  Milestone:  PostGIS 3.0.1
 Component:  postgis         |    Version:  3.0.x
Resolution:                  |   Keywords:
-----------------------------+---------------------------

Comment (by Algunenano):

 The offending SRID is 4138:
 {{{
 ELECT ST_AsEWKT(ST_Transform('SRID=4326; POINT(0 0)'::geometry, 4138));
 ERROR:  transform: failed to load datum shift file (-38)
 }}}


 {{{
 Select * from spatial_ref_sys where srid = 4138;
  srid | auth_name | auth_srid |
                                                srtext
                                                                      |
 proj4text
 ------+-----------+-----------+----------------------------------------------------------------------------------------------
 -----------------------------------------------------------------------------------------------------------------------------
 ---------------------------------------------------------------------+---------------------------------------
  4138 | EPSG      |      4138 | GEOGCS["St. George
 Island",DATUM["St_George_Island",SPHEROID["Clarke 1866",6378206.4,294.9786
 982138982,AUTHORITY["EPSG","7008"]],AUTHORITY["EPSG","6138"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.
 0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4138"]] |
 +proj=longlat +ellps=clrk66 +no_defs
 (1 row)
 }}}


 With PROJ6 and datum-grid:
 {{{
 SELECT ST_AsEWKT(ST_Transform('SRID=4326; POINT(0 0)'::geometry, 4138));
              st_asewkt
 ------------------------------------
  SRID=4138;POINT(Infinity Infinity)
 (1 row)
 }}}

 I don't know if that was transformation is even supposed to work.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4642#comment:5>
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-tickets mailing list