[Qgis-developer] Labeling: data-defined fields shifted after new vector API?
Jürgen E. Fischer
jef at norbit.de
Mon Jan 28 01:59:33 PST 2013
Hi Andreas,
On Mon, 28. Jan 2013 at 10:30:28 +0100, Andreas Neumann wrote:
> In some of my projects data-defined values for labeling (like
> font-color, rotation fields) are now failing - the order of the column
> assignments are shifted by one column. Perhaps the new Vector API is the
> cause? My data comes from the Postgis data provider. I am testing in the
> version 74ace4ad21 from January 27.
The attributes are now in an array and were in a map with attribute index as
key before.
Probabably the opposite problem to what we used to have, when stuff was
assuming the way it is now and had a problem with holes in the map, e.g.
created by skipped geometry attributes in postgres tables, which happens when
the geometry is not the last column of a table.
Now those holes are missing and the attribute indexes of the attributes after
the geometry column is wrong.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
More information about the Qgis-developer
mailing list