This issue is about the entity api. Am posting here, because this Use Case is rare, but will occur far more often for people who are mapping with the OpenLayers module. We have 2 concurrent projects that need this.

The Use Case is, you have nodes that have that have taxonomy terms which have a geofield. Then you want to use search_api & facets_api to make nice filtered maps. The Taxonomy is the Facet to filter the Nodes.

In English: you want to map Organisations that are active in more than 1 District. You want to be able to filter on District and see all Organisations that are active there.

Very similar to this map: http://www.mobileactive.org/files/Picture 1_64.png

I am totally stuck with this because entity does not support multi-value relationships. In order to create a map, Views would have to return 1 line per District, and the entity_api can only return 1 line per entity + a field with the term titles.

Unless someone can suggest a workaround, I put the real feature request (paid) in the entity_api issue queue:
http://drupal.org/node/1378656

Comments

batje’s picture

I noticed the link to the map didnt quite work.

nod_’s picture

I personally can't help you with this. You'd have more luck with search api people i guess.

batje’s picture

Status: Active » Closed (won't fix)

It seems there is a patch that solves this issue by extending the entity views integration. So far, my tests show it solves my problem.

Feel free to test it too: http://drupal.org/node/1378656#comment-5643494