When using the alpha1 release of the geo package, I get a sql error when trying to save a geo data reference field. I traced the issue to line 70 of geo.inc . Changing:
AsBinary(Centroid($field)) AS $alias}_centroid";
to:
AsBinary(Centroid($field)) AS {$alias}_centroid";

fixed the issue. I apologize for not submitting this as a patch, but I'm not entirely certain how to create one. If someone could point me in the right direction, I'd be glad to upload the fix as a patch.

Comments

apolzon’s picture

Status: Active » Closed (fixed)

Closed as this is a duplicate of already submitted patch: http://drupal.org/node/505572