Closed (fixed)
Project:
Geo
Component:
Geo Field module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2009 at 00:23 UTC
Updated:
23 Dec 2009 at 20:20 UTC
To replicate this issue create a node with a geo field attached. Create a muti-value for that geo_field.
For Example
POLYGON((-125.15625 50.625,-121.2890625 48.1640625,-125.5078125 46.7578125,-129.375 48.8671875,-125.15625 50.625))
POLYGON((-120.5859375 55.8984375,-129.0234375 42.5390625,-125.859375 41.484375,-120.5859375 55.8984375))
Now if you create a view of the node, and select the geo_field as one of the displayed fields, you will double your number of instances of this node in the view. If you disable 'group multiple values' for the field in the view, then it behaves as it should.
Comments
Comment #1
phayes commentedThis bug is also impacting displaying multiple geometries per node in openlayers.http://drupal.org/node/567818?mode=2&sort=2Strike that - sorry.
Comment #2
phayes commentedUpdate on this issue:
Steps to create bug:
1. Create a multi-value geo field. Add some values.
2. Create a table view with these fields. Make sure 'group multiple values' is turned on.
3. Display view - geo fields do not display and are empty
Comment #3
allie mickaHi phayes,
I think my latest commit fixes this. Can you confirm?
Thanks!
Comment #4
phayes commentedNow it's not possible to create 'group by' geo fields in views. So in a sense, yes it's fixed. :-)