Mike Orr avatar Mike Orr committed 683c80e


Comments (0)

Files changed (1)

 * 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:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.