I really dont know if this is the correct place, I was wondering whether I should post this here, in views, or in Openlayers, but I settled on geofield... :)
Basically, I have a neighborhood content type and and I have another conten type for buildings. I would like to filter on views to only show the nodes (buildings) within the polygon (or bounding box dimensions ) of the current node (neighborhood).
I've been busting my head for days trying all kinds of things to no avail.
I was wondering if anyone knew of a way to use the current node as the boundry for the nodes that will be shown. Nodes would be either displayed as a list or fed to a map.
Proximity filter shows nearby nodes, but it does not show nodes within. I was thinking that perhaps it wouldn't be too much of a tangent to say something like "show nodes within 0 miles of the current node and the current node could also be a bounding box (instead of only a point) to find the nearest nodes within a specific distance.
I feel this would be a huge leap in the ability to filter content spatially and would allow for relationships between nodes without depending on a reference node and having to manually relate nodes every time using a reference field. For example, I am importing thousands of nodes with gps coordinates (buildings) and would love to just have some neighborhoods plotted with polygons and the nodes automatically appear in the corresponding neighborhood node (using the calculated bounding box. Geofield does many of these things already for different purposes, but not for this.
It seems that the functionality should be there / is almost there, it just hasnt been done. :) I am not technical enough to do something like this, but would definetely contribute financially (with my limited abilities) to get something like this done.
Comments
Comment #1
chriscalip commentedhttps://www.drupal.org/project/views_geofield_bbox