[Qgis-user] troubles with QGis Atlas
Nyall Dawson
nyall.dawson at gmail.com
Mon Jan 11 12:26:43 PST 2016
On 12 January 2016 at 02:18, didier peeters <dpeeter1 at ulb.ac.be> wrote:
> Hello,
>
> I’ve started to use the Atlas in QGis composer: I use a non-geometry table
> as coverage layer, providing the feature id’s and corresponding labels for
> my maps, and I display always the same extent but with different data of
> course, using a rule-based style like ‘ "field" = @atlas_featureid'. At
> first it worked fine but now, the atlas mistakes @atlas_featurenumber for
> @atlas_featureid, i.e. instead of displaying the data corresponding to the
> feature id it displays the data corresponding to the number of the feature
> (~ the row number, as some are filtered out), but selects properly the
> labels corresponding to the feature value. So I obtain maps with a title
> which is not related to the content !
> In the expression editor @atlas_featureid and @atlas_featurenumber are
> previewed with the same Current value although they are different !
>
> Does anyone have an idea about this ?
Keep in mind that feature id's might not be predictable, depending on
your data source. They aren't user visible, and as such aren't
suitable for a join like this.
Did you mean instead to use a field called "id" from your coverage layer?
Nyall
>
> I use QGis 2.12.1 on Mac.
>
> Didier
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the Qgis-user
mailing list