qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.39k stars 2.98k forks source link

GetFeatureInfo on aliased fields #18852

Open qgib opened 10 years ago

qgib commented 10 years ago

Author Name: Giovanni Allegri (@giohappy) Original Redmine Issue: 10438

Redmine category:qgis_server


GetFeatureInfo doesn't work on fields where an alias is set, because subsetstring doesn't work on aliased fields. We should check if the field set in the filter is an alias for an attribute. Exactly the reverse of what is done "here":https://github.com/qgis/QGIS/blob/master/src/mapserver/qgswmsserver.cpp#L1792 to generate the output attributes

qgib commented 10 years ago

Author Name: Giovanni Allegri (@giohappy)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)