This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

[UMAP] Filter per property

0

Hi,

I am new to Umap and would like to use it for an analogical example as :

Record owners who have cats and/or dogs, then have the following views/filters :

  • see owners who have only cats
  • see owners who have only dogs
  • see owners who have cats and dogs

I created points with new properties "number of cats" and "number of dogs" with associated information about the owner with his name and address. All this on the same layer.

How can I filter by cats/dogs to have the above three views ?

A workaround would be to create the same points with information of the owner on two different layers. One layer for cats and the other for dogs. But this forces to have a redundancy in owner's information (with complicated maintenance...etc)

Is there a better way to make it ?

Thanks

asked 22 Jul '15, 14:04

mnesia's gravatar image

mnesia
11224
accept rate: 0%

edited 22 Jul '15, 14:05

Source code available on GitHub .