[postgis-tickets] [PostGIS] #5181: Invalid PROJ string in ST_Transform breaks subsequent queries

PostGIS trac at osgeo.org
Tue Jul 26 16:36:49 PDT 2022


#5181: Invalid PROJ string in ST_Transform breaks subsequent queries
-----------------------+-------------------------------
  Reporter:  kszafran  |      Owner:  pramsey
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.1.7
 Component:  postgis   |    Version:  3.1.x
Resolution:            |   Keywords:  st_transform proj
-----------------------+-------------------------------
Comment (by pramsey):

 No problems here
 {{{
 pramsey=# SELECT ST_Transform(ST_SetSRID(ST_MakePoint(1, 2), 4326),
 '+wat');
 ERROR:  could not parse proj string '+wat'
 CONTEXT:  SQL function "st_transform" statement 1
 pramsey=# SELECT ST_Transform(ST_SetSRID(ST_MakePoint(1, 2), 4326), 3875);
                     st_transform
 ----------------------------------------------------
  0101000020230F0000258F57505E567241549FA0B755BD0C41
 (1 row)

 pramsey=# select postgis_full_version();
 postgis_full_version
 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  POSTGIS="3.3.0dev 3.3.0beta2-19-ga80b805b0" [EXTENSION] PGSQL="140"
 GEOS="3.11.0dev-CAPI-1.16.0" PROJ="8.2.1" LIBXML="2.9.4" LIBJSON="0.15"
 LIBPROTOBUF="1.4.0" WAGYU="0.5.0 (Internal)" (core procs from "3.3.0dev
 3.2.0-867-g216aca648" need upgrade)
 (1 row)

 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5181#comment:2>
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