Index: includes/geo.wkb.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/geo/includes/geo.wkb.inc,v
retrieving revision 1.6
diff -u -r1.6 geo.wkb.inc
--- includes/geo.wkb.inc	7 Apr 2009 21:48:14 -0000	1.6
+++ includes/geo.wkb.inc	10 Apr 2009 04:13:10 -0000
@@ -113,8 +113,14 @@
 /**
  * Array, in case that's all you wanted.
  */
-function geo_wkb_get_array($data) {
-  return $data;
+function geo_wkb_get_array($data, $items = NULL) {
+  // line and polygon data
+  if (isset($data['value'])) {
+    if (!isset($items)) { $items = array(); }
+    return array_merge($items, $data['value']);
+  }
+  // point data
+  return array(array($data['x'], $data['y']));
 }
 
 /**
