[Qgis-developer] Support for field aliases in expressions

Martin Dobias wonder.sk at gmail.com
Wed Sep 10 10:00:40 PDT 2014


Hi Mathhias

On Mon, Sep 8, 2014 at 6:19 PM, Matthias Kuhn <matthias.kuhn at gmx.ch> wrote:
> Hi,
>
> I today was discussing the idea of support for column aliases in
> expressions. The use-case for this is that engineers using GIS in their
> language will be able to use the same field names that they are used to (but
> not in the common database which is english) to filter the attribute table
> etc.

I am just wondering... how the aliases would be made accessible to
QgsExpression? Would be a map of aliases from vector layer set to each
QgsExpression instace? Or extend QgsFields to support also aliases? Or
something completely different? :-)

Cheers
Martin


More information about the Qgis-developer mailing list