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 number of significant digits for the coordinates in the SVG representation – the default value is 8.
doc_Django
2016-10-09 18:37:31
Comments
Leave a Comment

Please login to continue.