Download & Extend

Using view on geospatial data - "within"-Parameter

Project:Geo
Version:6.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I have multiple geotags assigned to nodes in a designated geospatial field.
I want to create a view which - for example - only shows the geotags within Spain and Portugal.

So I have created a view with display-fields: node-id, node-title, geotag-longitude and geotag-latitude.
Now I want to set a filter using the geotag field, using the "within" option, the widget "Well known text" and the term "POLYGON((-10.810546875 44.024421519659,3.779296875 43.389081939117,3.1640625 35.389049966912,-10.634765625 35.389049966912,-10.810546875 44.024421519659))" in the box.

I expect to receive in the hitlist only the geotags of Spain and Portugal, but the results list is empty.

The view works correctly when I remove the filter.

Comments

#1

I also tried something similar using "within" and a POLYGON, and got similar (empty) results.

#2

Version:» 6.x-1.x-dev

This might be related to http://drupal.org/node/883032 so you can try the patch there.

#3

Have you found a solution for your requirement in the meantime? I have exactly the same requirement ...

nobody click here