Geographic Feeds
API 参考
class Feed
In addition to methods provided by the base class, GeoDjango’s class provides the following overrides. Note that these overrides may be done in multiple ways:
geometry
(obj)
Set this to return the geometry for each item in the feed. This can be a GEOSGeometry
instance, or a tuple that represents a point coordinate or bounding box. For example:
Subclasses
The following django.utils.feedgenerator.SyndicationFeed
subclasses are available:
class GeoAtom1Feed
class W3CGeoFeed
formatted feeds only support PointField
geometries.