gis.geoip.GeoIP.lon_lat()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.lon_lat(query) Returns a coordinate tuple of (longitude, latitude).

2025-01-10 15:47:30
gis.geoip.GeoIP.coords()
  • References/Python/Django/API/Geolocation with GeoIP

GeoIP.coords(query) Returns a coordinate tuple of (longitude, latitude).

2025-01-10 15:47:30
gis.geoip2.GeoIP2.city()
  • References/Python/Django/API/Geolocation with GeoIP2

GeoIP2.city(query) Returns a dictionary of city information for the given query. Some of the values in the dictionary may be

2025-01-10 15:47:30
utils.feedgenerator.Enclosure
  • References/Python/Django/API/Django Utils

class Enclosure [source] Represents an RSS enclosure

2025-01-10 15:47:30
gis.admin.GeoModelAdmin.openlayers_url
  • References/Python/Django/API/GeoDjango’s admin site

openlayers_url Link to the URL of the OpenLayers JavaScript. Defaults to 'http://openlayers.org/api/2.13.1/OpenLayers

2025-01-10 15:47:30
gis.geos.PreparedGeometry
  • References/Python/Django/API/GEOS API

class PreparedGeometry All methods on PreparedGeometry take an other argument, which must be a

2025-01-10 15:47:30
gis.geos.GEOSGeometry.equals_exact()
  • References/Python/Django/API/GEOS API

GEOSGeometry.equals_exact(other, tolerance=0) Returns true if the two geometries are exactly equal, up to a specified tolerance

2025-01-10 15:47:30
gis.geos.GEOSGeometry.srid
  • References/Python/Django/API/GEOS API

GEOSGeometry.srid Property that may be used to retrieve or set the SRID associated with the geometry. For example:

2025-01-10 15:47:30
gis.geos.GEOSGeometry.distance()
  • References/Python/Django/API/GEOS API

GEOSGeometry.distance(geom) Returns the distance between the closest points on this geometry and the given geom

2025-01-10 15:47:30
gis.geos.GEOSGeometry.wkt
  • References/Python/Django/API/GEOS API

GEOSGeometry.wkt Returns the Well-Known Text of the geometry (an OGC standard).

2025-01-10 15:47:30