Opened 7 years ago
QueryFeatures Request fails when there are CurvePolygons in PostGIS table
|Reported by:||andymorf||Owned by:||badreddinekaroui|
|Severity:||3||Keywords:||PostGIS, CurvePolygon, CompoundCurve|
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.