maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH 3/4] Removing limitation to France


From: Pierre Mauduit
Subject: [Maposmatic-dev] [PATCH 3/4] Removing limitation to France
Date: Sun, 20 Dec 2009 15:18:51 +0100

From: Pierre Mauduit <address@hidden(none)>

---
 www/maposmatic/views.py |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/www/maposmatic/views.py b/www/maposmatic/views.py
index fe87726..7e5b654 100644
--- a/www/maposmatic/views.py
+++ b/www/maposmatic/views.py
@@ -156,13 +156,6 @@ class MapRenderingJobForm(ModelForm):
                 msg = _(u"Bounding Box too big")
                 self._errors['bbox'] = ErrorList([msg])
 
-            if (lat_upper_left > 51.956 or
-                lon_upper_left < -7.838 or
-                lat_bottom_right < 41.458 or
-                lon_bottom_right > 11.937):
-                msg = _(u"Sorry, only cities in France can be rendered for the 
moment")
-                self._errors['bbox'] = ErrorList([msg])
-
             # Make sure that bbox and admin modes are exclusive
             cleaned_data["administrative_city"] = ''
 
-- 
1.6.5.7





reply via email to

[Prev in Thread] Current Thread [Next in Thread]