db.models.Lookup.process_rhs()

process_rhs(compiler, connection) [source] Behaves the same way as process_lhs(), for the right-hand side.

db.models.Options.db_tablespace

Options.db_tablespace The name of the database tablespace to use for this model. The default is the project’s DEFAULT_TABLESPACE setting, if set. If the backend doesn’t support tablespaces, this option is ignored.

gis.gdal.GDALRaster.scale

scale Pixel width and height used for georeferencing the raster, as a as a point object with x and y members. See geotransform for more information. >>> rst = GDALRaster({'width': 10, 'height': 20, 'srid': 4326}) >>> rst.scale [1.0, -1.0] >>> rst.scale.x = 2 >>> rst.scale [2.0, -1.0]

gis.gdal.SpatialReference.validate()

validate() Checks to see if the given spatial reference is valid, if not an exception will be raised.

utils.feedgenerator.SyndicationFeed.add_root_elements()

add_root_elements(handler) [source] Add elements in the root (i.e. feed/channel) element. Called from write().

gis.geoip.GeoIP.city()

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

views.generic.list.MultipleObjectMixin.get_allow_empty()

get_allow_empty() Return a boolean specifying whether to display the page if no objects are available. If this method returns False and no objects are available, the view will raise a 404 instead of displaying an empty page. By default, this is True.

gis.gdal.Envelope.ur

ur The upper-right coordinate, as a tuple.

gis.feeds.Feed.geometry()

geometry(obj) Takes the object returned by get_object() and returns the feed’s geometry. Typically this is a GEOSGeometry instance, or can be a tuple to represent a point or a box. For example: class ZipcodeFeed(Feed): def geometry(self, obj): # Can also return: `obj.poly`, and `obj.poly.centroid`. return obj.poly.extent # tuple like: (X0, Y0, X1, Y1).

gis.db.models.GeoQuerySet.centroid()

GeoQuerySet.centroid(**kwargs) Deprecated since version 1.9: Use the Centroid function instead. Availability: PostGIS, Oracle, SpatiaLite Returns the centroid value for the geographic field in a centroid attribute on each element of the GeoQuerySet.