4

I'm looking forward to get deeper with QGIS ATLAS Composer features like we do with some reporting sofwares.

Today I try to map and iterate over parcels and display buildings attributes on the side, all buildings on a slide should be on the iterated parcel.

Map from parcel + buildings on the left, Buildings attributes on the right

The idea behind could be more a generic approach to list joint subfeatures from an iterated one used for the Atlas.

For my Use case: Buildings and parcels have a geographical link and also keys to link each other.

Update : I add a better example to be more explicit. In this configuration, we could add buildings linked pictures (from the database urls using html), and so on...

2

You can get a list of features that intersect the atlas feature geometry very easily and their attributes.

Simply add an attribute table to the map. The attribute table can be filtered to "Show only features intersecting atlas feature".

enter image description here

  • Ty, I'm looking forward to have the same selection, but displaying attributes in a prettier way. Like we can do with the label objet or the html frame object. I have 2 issues, the first one is to select my data like you did with the table tool, and then create x objects on x positions. – Nono Nov 11 '16 at 7:30
  • What would happen if you have more than three buildings? The attribute table gives you a lot more flexibility. Also I don't think you can do it with labels. – HeikkiVesanto Nov 11 '16 at 9:36
  • That's exactly why I need to iterate on the second feature, but actually for my use case I have a small amount of buildings per parcel (3-4 max). – Nono Nov 11 '16 at 9:53
  • Do you know the exact max number of buildings that you need to iterate on? You could pre-build your buildings list in the composer (like the 3 you have in your example ) and then display the elements according to the effective number of buildings. – Kantan Nov 22 '16 at 9:05
  • Actually I can have a count of max buildings per parcel, for the example let's say 3 buildings. What do you mean by "pre-build"? Do you mean modify the data structure to have in the parcel table the building1firstattribute, building1secondattribute, ..., building2firstattribute, building2secondattribute, ..., etc? That could be a workaround but far less elegant than the way the table did in @Vesanto's answer. The idea is simple, do the same as the table tool iteration, but on features like labels ("cosmeticly more attractive"). – Nono Nov 22 '16 at 9:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.