Opened 3 years ago

Closed 18 months ago

#4988 closed defect (fixed)

SFCGAL doesn't specify unknown type when dealing with curves

Reported by: robe Owned by: robe
Priority: low Milestone: PostGIS 3.3.2
Component: sfcgal Version: master
Keywords: Cc:

Description (last modified by robe)

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);

Same issue with ST_3DUnion

Change History (9)

comment:1 by robe, 3 years ago

Description: modified (diff)

comment:2 by robe, 3 years ago

Summary: SFCGAL doesn't specify unknown typeSFCGAL doesn't specify unknown type when dealing with curves

comment:3 by robe, 2 years ago

Milestone: PostGIS 3.1.5PostGIS 3.3.0

comment:4 by robe, 22 months ago

Milestone: PostGIS 3.3.0PostGIS 3.2.2

comment:5 by robe, 22 months ago

Milestone: PostGIS 3.2.2PostGIS 3.3.0

comment:6 by robe, 20 months ago

Milestone: PostGIS 3.3.0PostGIS 3.2.4

comment:7 by robe, 20 months ago

Milestone: PostGIS 3.2.4PostGIS 3.3.2

comment:8 by Regina Obe <lr@…>, 18 months ago

In 86d6b1b5/git:

Specify geometry type when SFCGAL can't process. References #4988 for PostGIS 3.4.0

comment:9 by Regina Obe <lr@…>, 18 months ago

Resolution: fixed
Status: assignedclosed

In 5fa9680/git:

Specify geometry type when SFCGAL can't process.
Closes #4988 for PostGIS 3.3.2

Note: See TracTickets for help on using tickets.