class documentation

class GeoFeedMixin:

Known subclasses: django.contrib.gis.feeds.GeoAtom1Feed, django.contrib.gis.feeds.GeoRSSFeed, django.contrib.gis.feeds.W3CGeoFeed

View In Hierarchy

This mixin provides the necessary routines for SyndicationFeed subclasses to produce simple GeoRSS or W3C Geo elements.
Method add​_georss​_element Add a GeoRSS XML element using the given item and handler.
Method add​_georss​_point Adds a GeoRSS point with the given coords using the given handler. Handles the differences between simple GeoRSS and the more popular W3C Geo specification.
Method georss​_coords In GeoRSS coordinate pairs are ordered by lat/lon and separated by a single white space. Given a tuple of coordinates, return a string GeoRSS representation.
def add_georss_element(self, handler, item, w3c_geo=False):
Add a GeoRSS XML element using the given item and handler.
def add_georss_point(self, handler, coords, w3c_geo=False):
Adds a GeoRSS point with the given coords using the given handler. Handles the differences between simple GeoRSS and the more popular W3C Geo specification.
def georss_coords(self, coords):
In GeoRSS coordinate pairs are ordered by lat/lon and separated by a single white space. Given a tuple of coordinates, return a string GeoRSS representation.