1. nabilt
  2. WebHelpers


Mike Orr  committed 683c80e


  • Participants
  • Parent commits 5eb5eba
  • Branches trunk

Comments (0)

Files changed (1)


View file
  • Ignore whitespace
 * webhelpers.feedgenerator:
-  - Don't swap latitude and longitude. The input data and GeoRSS format are
-    both latitude first. Django's feedgenerator swaps the two because GeoDjango
-    has longitude first, but that doesn't apply to WebHelpers.
+  - Allow either lat-lon and lon-lat formats in geometry data. The default is
+    lat-lon. For lon-lat, set ``GeoFeedMixin.is_input_latitude_first`` to 
+    false. (You can set in a subclass or instance before writing the output.)
+    lat-lon is the most common format but GeoDjango and some other libraries
+    use lon-lat. The XML output is always lat-lon per the GeoRSS spec.
 * webhelpers.html.grid: