Browse Source

add warning about greedy requests (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37587 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 years ago
parent
commit
8ce14e1bff
1 changed files with 7 additions and 0 deletions
  1. 7 0
      scripts/r.in.wms/wms_request.py

+ 7 - 0
scripts/r.in.wms/wms_request.py

@@ -174,6 +174,13 @@ class WMSRequest:
             
         rf.close()
         grass.message("Done: requesting %d tiles" % len(tiles))
+        if len(tiles) > 200:
+	    grass.warning("Proceed with care. This number of tiles may \
+	      exceed the maximum command line arguments available from \
+	      the operating system later on in the r.in.gdalwarp step. \
+	      In addition it may be considered abusive behaivor by the \
+	      server providers - check their terms of use.")
+
 
     def Get(self, key):
         """Get value"""