Opened 5 years ago

#928 new defect

QueryFeatures Request fails when there are CurvePolygons in PostGIS table

Reported by: andymorf Owned by: badreddinekaroui
Priority: major Milestone: 4.1.0
Component: PostgreSQL Provider Version: 4.0.0
Severity: 3 Keywords: PostGIS, CurvePolygon, CompoundCurve
Cc: External ID:

Description

If there are rows with CurvePolygons? in a table, window requests fail against PostgreSQLDriver/PostGIS.
Investigations show that ST_Intersects("geom", ...) is used which fails itself with following error "ERROR: Unknown geometry type: 10 - CurvePolygon?".
If I replace with "ST_Intersects(ST_CurveToLine("geom"), ...) the requests (Selection/MapTip?) are working ok - but probably that's not a very elegant way...
Otherwise, maybe PostGIS "ST_Intersects" could be patched to check if curved geometries are passed in and to segmentize them if so.

Change History (0)

Note: See TracTickets for help on using tickets.