gis.db.models.GeoQuerySet.reverse_geom()

GeoQuerySet.reverse_geom(**kwargs) Deprecated since version 1.9: Use the Reverse function instead. Availability: PostGIS, Oracle Reverse the coordinate order of the geometry field, and attaches as a reverse attribute on each element of the queryset.

db.models.options.Options.get_fields()

Options.get_fields(include_parents=True, include_hidden=False) [source] Returns a tuple of fields associated with a model. get_fields() accepts two parameters that can be used to control which fields are returned: include_parents True by default. Recursively includes fields defined on parent classes. If set to False, get_fields() will only search for fields declared directly on the current model. Fields from models that directly inherit from abstract models or proxy classes are considered

gis.geoip.GeoIP.lon_lat()

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

gis.db.models.GeoQuerySet.kml()

GeoQuerySet.kml(**kwargs) Deprecated since version 1.9: Use the AsKML function instead. Availability: PostGIS, SpatiaLite Attaches a kml attribute to every model in the queryset that contains the Keyhole Markup Language (KML) representation of the geometry fields. It should be noted that the contents of the KML are transformed to WGS84 if necessary. Example: >>> qs = Zipcode.objects.all().kml() >>> print(qs[0].kml) <Polygon><outerBoundaryIs><LinearRing>&

utils.cache.patch_vary_headers()

patch_vary_headers(response, newheaders) [source] Adds (or updates) the Vary header in the given HttpResponse object. newheaders is a list of header names that should be in Vary. Existing headers in Vary aren’t removed.

views.generic.base.View.http_method_not_allowed()

http_method_not_allowed(request, *args, **kwargs) If the view was called with a HTTP method it doesn’t support, this method is called instead. The default implementation returns HttpResponseNotAllowed with a list of allowed methods in plain text.

utils.feedgenerator.SyndicationFeed.writeString()

writeString(encoding) [source] Returns the feed in the given encoding as a string.

http.QueryDict.setlist()

QueryDict.setlist(key, list_) [source] Sets the given key to list_ (unlike __setitem__()).

gis.db.models.functions.Transform

class Transform(expression, srid, **extra) Availability: PostGIS, Oracle, SpatiaLite Accepts a geographic field or expression and a SRID integer code, and returns the transformed geometry to the spatial reference system specified by the srid parameter. Note What spatial reference system an integer SRID corresponds to may depend on the spatial database used. In other words, the SRID numbers used for Oracle are not necessarily the same as those used by PostGIS.

admin.InlineModelAdmin.verbose_name

InlineModelAdmin.verbose_name An override to the verbose_name found in the model’s inner Meta class.