/[drupal]/contributions/modules/geo/geo.inc
ViewVC logotype

Diff of /contributions/modules/geo/geo.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.16 by vauxia, Mon Nov 9 17:44:40 2009 UTC revision 1.17 by vauxia, Mon Nov 23 23:26:08 2009 UTC
# Line 1  Line 1 
1  <?php // $Id: geo.inc,v 1.15 2009/06/18 01:24:11 vauxia Exp $  <?php // $Id: geo.inc,v 1.16 2009/11/09 17:44:40 vauxia Exp $
2    
3  /**  /**
4   * Return the geo backend database type.   * Return the geo backend database type.
# Line 67  function geo_field_select($field) { Line 67  function geo_field_select($field) {
67    return " SRID($field) as {$alias}_srid,    return " SRID($field) as {$alias}_srid,
68      AsBinary($field) AS {$alias}_wkb,      AsBinary($field) AS {$alias}_wkb,
69      AsBinary(Envelope($field)) AS {$alias}_bbox,      AsBinary(Envelope($field)) AS {$alias}_bbox,
70      AsBinary(Centroid($field)) AS $alias}_centroid";      AsBinary(Centroid($field)) AS {$alias}_centroid";
71  }  }
72    
73  function geo_query_operators($geo_type) {  function geo_query_operators($geo_type) {

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.3