Feature request #9797

Add a precision setting for GetFeatureInfo geometry attributes

Added by Alessandro Pasotti about 3 years ago. Updated over 2 years ago.

Status:Closed Start Date:03/17/2014
Priority:Normal Due date:
Assigned to:René-Luc ReLuc % Done:

100%

Category:Mapserver (QGIS Server)
Target version:Future Release - High Priority
Platform: Resolution:fixed/implemented
Platform version: Pull Request or Patch supplied:Yes
Status info: Tag:

Description

I believe we could cut bandwidth by half by cutting decimal places from GetFeatureInfo geometry.

For example, I'm working in meters and I get 18 decimal figures, this is far less than the diameter of an atom.

Of course this feature should be user-configurable in ows settings.


Related issues

related to QGIS Application - Bug report #10974: QGIS WFS Server provides too much precision Closed 07/29/2014
related to QGIS Application - Bug report #9896: WMS GetFeatureInfo search radius Open 03/26/2014

History

Updated by René-Luc ReLuc over 2 years ago

  • Assigned to set to René-Luc ReLuc
  • Target version set to Future Release - High Priority
  • Pull Request or Patch supplied changed from No to Yes

Patch supplied in this pull request https://github.com/qgis/QGIS/pull/1520

Updated by Alessandro Pasotti over 2 years ago

  • Status changed from Open to In Progress

Please also see my PR https://github.com/qgis/QGIS/pull/1539 which adds GUI config option and stores the precision to the project file.

Updated by René-Luc ReLuc over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed/implemented

Commit merged in the pull request https://github.com/qgis/QGIS/pull/1520 and next in master.

Also available in: Atom