[postgis-tickets] [PostGIS] #4988: SFCGAL doesn't specify unknown type

PostGIS trac at osgeo.org
Sat Sep 4 23:07:23 PDT 2021


#4988: SFCGAL doesn't specify unknown type
--------------------+---------------------------
 Reporter:  robe    |      Owner:  robe
     Type:  defect  |     Status:  assigned
 Priority:  low     |  Milestone:  PostGIS 3.1.5
Component:  sfcgal  |    Version:  master
 Keywords:          |
--------------------+---------------------------
 Minor issue but:

 ST_3DDifference returns:


 {{{
 ERROR:  LWGEOM2SFCGAL: Unknown geometry type !
 }}}

 With curved surfaces - a query such as:


 {{{
 SELECT ST_3DDifference('POLYHEDRALSURFACE Z (((-72.2 41.755 0,-72.2 41.755
 1,-72.2 42.755 1,-72.2 42.755 0,-72.2 41.755 0)),((-72.2 41.755 0,-72.2
 42.755 0,-71.2 42.755 0,-71.2 41.755 0,-72.2 41.755 0)),((-72.2 41.755
 0,-71.2 41.755 0,-71.2 41.755 1,-72.2 41.755 1,-72.2 41.755 0)),((-71.2
 42.755 0,-71.2 42.755 1,-71.2 41.755 1,-71.2 41.755 0,-71.2 42.755
 0)),((-72.2 42.755 0,-72.2 42.755 1,-71.2 42.755 1,-71.2 42.755 0,-72.2
 42.755 0)),((-72.2 41.755 1,-71.2 41.755 1,-71.2 42.755 1,-72.2 42.755
 1,-72.2 41.755 1)))'::geometry,'
 MULTISURFACE(CURVEPOLYGON(CIRCULARSTRING(-71.0821 42.3036,-71.4821
 42.3036,-71.7821 42.7036,-71.0821 42.7036,-71.0821 42.3036),(-71.1821
 42.4036,-71.3821 42.6036,-71.3821 42.4036,-71.1821 42.4036)))'::geometry);
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4988>
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