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.
(self, coords)
| 9 | """ |
| 10 | |
| 11 | def georss_coords(self, coords): |
| 12 | """ |
| 13 | In GeoRSS coordinate pairs are ordered by lat/lon and separated by |
| 14 | a single white space. Given a tuple of coordinates, return a string |
| 15 | GeoRSS representation. |
| 16 | """ |
| 17 | return " ".join("%f %f" % (coord[1], coord[0]) for coord in coords) |
| 18 | |
| 19 | def add_georss_point(self, handler, coords, w3c_geo=False): |
| 20 | """ |
no test coverage detected