Feature request #3242

Bug in postgis layer geometry type detection when a filter is applied.

Added by Jeremy Palmer almost 14 years ago. Updated almost 14 years ago.

Status:Closed
Priority:Low
Assignee:Jürgen Fischer
Category:Data Provider
Pull Request or Patch supplied: Resolution:fixed
Easy fix?:No Copied to github as #:13302

Description

When adding a PostGIS layer and the estimated table metadata option is turned on, you can not apply a filter to layer and "Unknown geometry type" error is raised.

The reason for this is the SQL to determine the layer geometry type was corrupted in r13340 (add custom query capabilities).

This patch fixes the query.

postgis_geom_detect.diff Magnifier (1.18 KB) Jeremy Palmer, 2010-11-22 03:41 PM

History

#1 Updated by Jürgen Fischer almost 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

applied in ff165c34 (SVN r14749). Thanks.

Also available in: Atom PDF