gis.db.models.GeoQuerySet.translate()

GeoQuerySet.translate(x, y, z=0.0, **kwargs) Deprecated since version 1.9: Use the Translate function instead. Availability: PostGIS, SpatiaLite Translates the geometry field to a new location using the given numeric parameters as offsets.

gis.db.models.GeoQuerySet.transform()

GeoQuerySet.transform(srid=4326, **kwargs) Deprecated since version 1.9: Use the Transform function instead. Availability: PostGIS, Oracle, SpatiaLite The transform method transforms the geometry field of a model to the spatial reference system specified by the srid parameter. If no srid is given, then 4326 (WGS84) is used by default. Note Unlike other GeoQuerySet methods, transform stores its output “in-place”. In other words, no new attribute for the transformed geometry is placed on th

gis.db.models.GeoQuerySet.sym_difference()

GeoQuerySet.sym_difference(geom) Deprecated since version 1.9: Use the SymDifference function instead. Returns the symmetric difference of the geographic field with the given geometry in a sym_difference attribute on each element of the GeoQuerySet.

gis.db.models.GeoQuerySet.svg()

GeoQuerySet.svg(**kwargs) Deprecated since version 1.9: Use the AsSVG function instead. Availability: PostGIS, SpatiaLite Attaches a svg attribute to every model in the queryset that contains the Scalable Vector Graphics (SVG) path data of the geometry fields. Keyword Argument Description relative If set to True, the path data will be implemented in terms of relative moves. Defaults to False, meaning that absolute moves are used instead. precision This keyword may be used to specify the nu

gis.db.models.GeoQuerySet.snap_to_grid()

GeoQuerySet.snap_to_grid(*args, **kwargs) Deprecated since version 1.9: Use the SnapToGrid function instead. Snap all points of the input geometry to the grid. How the geometry is snapped to the grid depends on how many numeric (either float, integer, or long) arguments are given. Number of Arguments Description 1 A single size to snap bot the X and Y grids to. 2 X and Y sizes to snap the grid to. 4 X, Y sizes and the corresponding X, Y origins.

gis.db.models.GeoQuerySet.scale()

GeoQuerySet.scale(x, y, z=0.0, **kwargs) Deprecated since version 1.9: Use the Scale function instead. Availability: PostGIS, SpatiaLite

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.

gis.db.models.GeoQuerySet.point_on_surface()

GeoQuerySet.point_on_surface(**kwargs) Deprecated since version 1.9: Use the PointOnSurface function instead. Availability: PostGIS, Oracle, SpatiaLite Returns a Point geometry guaranteed to lie on the surface of the geometry field in a point_on_surface attribute on each element of the queryset; otherwise sets with None.

gis.db.models.GeoQuerySet.perimeter()

GeoQuerySet.perimeter(**kwargs) Deprecated since version 1.9: Use the Perimeter function instead. Returns the perimeter of the geometry field in a perimeter attribute (a Distance object) on each model in the queryset.

gis.db.models.GeoQuerySet.num_points()

GeoQuerySet.num_points(**kwargs) Deprecated since version 1.9: Use the NumPoints function instead. Availability: PostGIS, Oracle, SpatiaLite Returns the number of points in the first linestring in the geometry field in a num_points attribute on each element of the GeoQuerySet; otherwise sets with None.