<div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-06 11:32 GMT+01:00 Vincent Picavet <span dir="ltr"><<a href="mailto:vincent.ml@oslandia.com" target="_blank">vincent.ml@oslandia.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Morten,<br>
<br>
Here is the process.<br>
<br>
* Create a coverage layer (named "cov" here), with all the same polygons<br>
(could be different if you want specific areas for specific values), and a field<br>
named "xvalue", which values go from 1 to 999. You can create this layer<br>
easily with PostGIS and generate_series for example<br></blockquote><div><br></div><div><span style="color:rgb(111,168,220)">I think this part can also be done using the **Dissolve** function in Processing toolbox or DissolveWithStats plugin (experimental though)</span><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* For the layer you want to display or not given the value of its "x"<br>
attribute, do the following :<br>
** set the style to rule-based<br>
** create a new rule<br>
** set the label to "display" (e.g.) and the filter to :<br>
"x" = attribute($atlasfeature, 'xvalue')<br>
<br>
* create a composer with a map displaying the layer<br>
* in the atlas tab, set coverage layer to "cov", and check "hidden"<br>
* you can preview and export the atlas, having your result<br>
<br>
You can have much more complex rules and change the polygon which define the<br>
extent for each map you want to have.<br>
<br>
Enjoy :-)<br>
<br>
Vincent<br>
<br>
Le mardi 6 janvier 2015 11:04:05, magerlin a écrit :<br>
<span class="">> Anybody got an idea on how to automate this process in Qgis:<br>
><br>
> I want to print separate maps for each different value of an attribute<br>
> like: * One map showing all features with attribute value x=1<br>
> * One map showing all features with attribute value x=2<br>
> ....<br>
> * One map showing all features with attribute value x=999<br>
><br>
> It sounds like a straightforward task but I have not found any automated<br>
> solution - I can of course do it manually but it ends up being quite<br>
> boring!<br>
><br>
> It is a bit like making an atlas and I have considered using my layer as<br>
> atlas coverage layer but since features with x=1 and x=2 might be at the<br>
> same location I need to only see the actual features with x=1 and not<br>
> features with x=2 at the same time. And I need to see ALL features with x=1<br>
> at the same map, not on separate maps.<br>
><br>
> I have been wondering of using the "Filter with" functionality in some way<br>
> but have not found a solution.<br>
><br>
><br>
><br>
><br>
><br>
> -----<br>
> Regards Morten<br>
><br>
> Currently using Qgis 2.6.0 (OSGeo4),<br>
> Windows 7, 64bit<br>
> --<br>
> View this message in context:<br>
> <a href="http://osgeo-org.1560.x6.nabble.com/Automated-printing-looping-through-fea" target="_blank">http://osgeo-org.1560.x6.nabble.com/Automated-printing-looping-through-fea</a><br>
</span>> tures-tp5180161.html Sent from the Quantum GIS - User mailing list archive<br>
<div class="HOEnZb"><div class="h5">> at Nabble.com. _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</div></div></blockquote></div><br></div></div></div>