[postgis-tickets] [PostGIS] #5313: ST_Collect + ST_InterpolateRaster = "Unknown geometry type"

PostGIS trac at osgeo.org
Mon Feb 13 13:57:59 PST 2023


#5313: ST_Collect + ST_InterpolateRaster = "Unknown geometry type"
------------------------+---------------------------
  Reporter:  Player701  |      Owner:  pramsey
      Type:  defect     |     Status:  new
  Priority:  high       |  Milestone:  PostGIS 3.3.3
 Component:  postgis    |    Version:  3.3.x
Resolution:             |   Keywords:
------------------------+---------------------------
Comment (by pramsey):

 Yeah, bingo, same failure.
 {{{
 SELECT ST_NumGeometries(
   (SELECT ST_Collect(pt)
     FROM (
     SELECT 'POINT Z(3729230.119184725 5657111.610875956
 273.3486328125)'::geometry AS pt
     UNION SELECT 'POINT Z(3757059.9918830437 5657111.610875956
 273.0422668457031)'::geometry AS pt
     ) pts
   ));
 }}}
 It's about this strange calling pattern you're using.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5313#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