Feature request #9797

Add a precision setting for GetFeatureInfo geometry attributes

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

Status:Closed
Priority:Normal
Assignee:René-Luc ReLuc
Category:QGIS Server
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Easy fix?:No

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 #9896: WMS GetFeatureInfo search radius Open 03/26/2014
Related to QGIS Application - Bug report #10974: QGIS WFS Server provides too much precision Closed 07/29/2014

History

#1 Updated by René-Luc ReLuc about 3 years ago

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

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

#2 Updated by Alessandro Pasotti about 3 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.

#3 Updated by René-Luc ReLuc about 3 years ago

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

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

Also available in: Atom PDF