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

phayes’s picture

This bug is also impacting displaying multiple geometries per node in openlayers. http://drupal.org/node/567818?mode=2&sort=2

Strike that - sorry.

phayes’s picture

Update 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

allie micka’s picture

Status: Active » Fixed

Hi phayes,

I think my latest commit fixes this. Can you confirm?

Thanks!

phayes’s picture

Now it's not possible to create 'group by' geo fields in views. So in a sense, yes it's fixed. :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.