Django

Code

Show
Ignore:
Timestamp:
04/25/08 19:36:15 (7 months ago)
Author:
jbronn
Message:

gis: The WKTAdaptor needs the SRID for Oracle; now test geodetic dwithin lookups on Oracle.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/gis/django/contrib/gis/db/backend/adaptor.py

    r7407 r7464  
    66    def __init__(self, geom): 
    77        self.wkt = geom.wkt 
     8        self.srid = geom.srid 
    89 
    910    def __eq__(self, other): 
    10         return self.wkt == other.wkt 
     11        return self.wkt == other.wkt and self.srid == other.srid  
    1112 
    1213    def __str__(self):