gis.gdal.SpatialReference.to_esri()

to_esri() Morphs this SpatialReference to ESRI’s format.

db.models.SmallIntegerField

class SmallIntegerField(**options) [source] Like an IntegerField, but only allows values under a certain (database-dependent) point. Values from -32768 to 32767 are safe in all databases supported by Django.

staticfiles.storage.StaticFilesStorage.post_process()

storage.StaticFilesStorage.post_process(paths, **options) This method is called by the collectstatic management command after each run and gets passed the local storages and paths of found files as a dictionary, as well as the command line options. The CachedStaticFilesStorage uses this behind the scenes to replace the paths with their hashed counterparts and update the cache appropriately.

gis.db.models.MakeLine

class MakeLine(geo_field) Availability: PostGIS, SpatiaLite Returns a LineString constructed from the point field geometries in the QuerySet. Currently, ordering the queryset has no effect. Changed in Django 1.10: SpatiaLite support was added. Example: >>> qs = City.objects.filter(name__in=('Houston', 'Dallas')).aggregate(MakeLine('poly')) >>> print(qs['poly__makeline']) LINESTRING (-95.3631510000000020 29.7633739999999989, -96.8016109999999941 32.7820570000000018)

http.QueryDict.appendlist()

QueryDict.appendlist(key, item) [source] Appends an item to the internal list associated with key.

gis.forms.GeometryField

class GeometryField

utils.cache.add_never_cache_headers()

add_never_cache_headers(response) [source] Adds a Cache-Control: max-age=0, no-cache, no-store, must-revalidate header to a response to indicate that a page should never be cached. Changed in Django 1.8.8: In older versions, Cache-Control: max-age=0 was sent. This didn’t reliably prevent caching in all browsers.

gis.geoip.GeoIP.country_code_by_name()

GeoIP.country_code_by_name(query)

db.models.query.QuerySet.select_related()

select_related(*fields) Returns a QuerySet that will “follow” foreign-key relationships, selecting additional related-object data when it executes its query. This is a performance booster which results in a single more complex query but means later use of foreign-key relationships won’t require database queries. The following examples illustrate the difference between plain lookups and select_related() lookups. Here’s standard lookup: # Hits the database. e = Entry.objects.get(id=5) # Hits

gis.geos.GEOSGeometry.union()

GEOSGeometry.union(other) Returns a GEOSGeometry representing all the points in this geometry and the other.