Changes between Version 12 and Version 13 of GeoDjangoDatabaseAPI
- Timestamp:
- Jan 18, 2008, 11:45:12 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeoDjangoDatabaseAPI
v12 v13 66 66 == Distance Lookups == 67 67 Distance lookups are supported on both PostGIS and Oracle. Each distance lookup type takes a tuple parameter comprising (1) a geometry to base calculations from and (2) a number or `Distance` object containing the distance. If a `Distance` object is used, it may be expressed in any units (the SQL generated will use units converted to those of the field); otherwise, numeric parameters will be assumed to be in the units of the field. 68 69 '''Note:''' The API currently only supports projected coordinate systems -- support for geodetic systems, such as WGS84 (the default projection for `GeometryField`), is in the works. ''See'' ticket #6414. 68 70 69 71 The following distance lookups are available: