Hi list, We have a layer filed with polygons which Atlas uses as its coverage layer. So the Atlas creates a map of each polygon and it zooms to the edge of the polygon and then puts a 1% margin on it. The problem we had before 2.6 was that some maps needed to be rotated because the map is a small landscape rectangle but some polygons are more portrait, tall and skinny. So some maps print at a large scale as shown below (outside box is page, inner box is polygon):
_______________________ | ____ | | | | | | | | | | |___| | ————————————— But we need it to rotate the map so it can print like: ________________________ | ___________________ | | | | | | | | | | |__________________| | ————————————— So in 2.6 a feature I’ve been waiting for was added, data driven rotation. So each polygon has had a rotation value field added. So if I specify a value of say 90, it rotates the map 90 degrees as expected. The problem is Atlas seems to do things in this order: 1. Get the next polygon 2. Zoom to the polygon 3. Add the 1% margin. 4. Rotate the map as defined in the data Because it seems to do the rotation after it has zoomed to the polygon, the map isn’t benefiting at all from rotating the map. The map is still printing at the same large scale. Looks something like this: ________________________ | ________ | | | | | | |_______ | | | | ————————————— Is there a work around for this anyone has come across? Is this the way it should work? Should the order be more: 1. Get the next polygon 2. Rotate the map as defined in the data 3. Zoom to the polygon 4. Add the 1% margin. Thanks, Benjamin Wragg _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user