Code

Changes between Version 10 and Version 11 of GeoDjangoDatabaseAPI


Ignore:
Timestamp:
12/28/07 21:25:40 (6 years ago)
Author:
jbronn
Comment:

Added the documentation for the Oracle relate lookup type (added in r6886).

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoDatabaseAPI

    v10 v11  
    77{{{ 
    88#!python 
    9 >>> qs = Zip.objects.filter(<field>__<lookup type>=<parameter>) 
     9>>> qs = Zip.objects.filter(<field>__<lookup_type>=<parameter>) 
    1010>>> qs = Zip.objects.exclude(...) 
    1111}}} 
     
    200200 * `overlaps` 
    201201   * Oracle equivalent `SDO_OVERLAPS(geometry1, geometry2)` 
     202 * `relate` 
     203   * Oracle equivalent `SDO_RELATE(geometry1, geometry2, <param>)` 
     204   * Tuple parameter `(geom, mask)`, where the mask component is at least one of the nine-intersection patterns: `TOUCH`, `OVERLAPBDYDISJOINT`, `OVERLAPBDYINTERSECT`, `EQUAL`, `INSIDE`, `COVEREDBY`, `CONTAINS`, `COVERS`, `ANYINTERACT`, `ON`. Multiple masks may be combined with the logical Boolean operator OR, for example, '`inside+touch`'.  The mask relations strings are case-insensitive. 
     205     * ''See'' [http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14255/sdo_operat.htm#sthref845 Oracle Spatial User's Guide & Manual] at Ch. 11. 
    202206 * `touches` 
    203207   * Oracle equivalent `SDO_TOUCH(geometry1, geometry2)` 
    204208 * `within` 
    205    * Oracle equivalent `SDO_INSIDE(geometry1, geometry2)` 
     209   * Oracle equivalent `SDO_INSIDE(geometry1, geometry2)`` 
    206210 
    207211== MySQL ==