[Qgis-user] Atlas map rotation
Alexandre Neto
senhor.neto at gmail.com
Wed May 7 02:50:33 PDT 2014
Hello,
For a simple 0º and 90º situation, I use two layouts (a portrait and a
landscape). And them I filter the atlas features by its format. In my case,
the format is calculated in Postgis by getting the coverage feature
Bounding Box and then compare width and heigth.
Something like
CASE WHEN abs(ST_XMax(g.geom)-ST_XMin(g.geom)) >
abs(ST_YMax(g.geom)-ST_YMin(g.geom)) THEN 'Landscape'
ELSE 'Portrait'
Alexandre
PS: Can't way to see what Nyall will pull out from is magic hat this time!
On Wed, May 7, 2014 at 10:17 AM, Nyall Dawson <nyall.dawson at gmail.com>wrote:
>
> On 07/05/2014 7:15 pm, "Andreas Neumann" <a.neumann at carto.net> wrote:
> >
> > Hi,
> >
> > Not yet. But there is an ongoing contract that Nyall Dawson will develop
> > data-defined properties for some print composer items (incl. page
> > format/size, map frame size and I believe also rotation. This is paid by
> > the Canton de Neuchâtel in Switzerland.
> >
> > I am not sure if it will make it into 2.4 (I hope), but definitely in
> 2.6.
> >
>
> It's still on track for 2.4 and looking good!
>
> Nyall
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140507/e685d440/attachment.html>
More information about the Qgis-user
mailing list