Hi Mike,

And what exactly is your problem?

@atlas_pagename: did you define an expression for a pagename? If now, it will stay empty as you observed.

@layout_page: how many pages does your layout contain? If your layout has only 1 page it will always return 1

@layout_numpages: see above. Depends on how many pages your layout has.

If you want to get the nth feature, you have to use @atlas_featurenumber, resp. @atlas_totalfeatures. If your layout contains more than one page and you want to have the exact pagenumber, you have to calculate the number, using @atlas_featurenumber, @layout_numpages and @layout_page to get the actual page number.

Greetings,

Andreas

Am 29.09.2016 um 11:01 schrieb Elstermann, Mike:

Hi,

I want to use in QGIS/Atlas system-vars. In my textbox I write this:

Halle (Saale), [% "name" %] [% @layout_page %] ... [% @atlas_pagename %] ... [% @layout_numpages %] ... [% @layout_pageheight %] ... [% @layout_pagewidth %]

Results:

* [% "name" %] works OK, gives correct names

* [% @layout_pageheight %] works OK, gives correct pageheight

* [% @layout_pagewidth %] works OK, gives correct pagewidth

* [% @layout_page %] gives only "1"

* [% @atlas_pagename %] gives only ""

* [% @layout_numpages %] gives only "1"

Where is the/my fault?

THX and best regards, mikeE., The geoObserver



_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to