patch-gmapcatcher_mapArgs_py 1.3 KB

12345678910111213141516171819202122232425262728
  1. $OpenBSD: patch-gmapcatcher_mapArgs_py,v 1.2 2015/09/28 20:19:20 sthen Exp $
  2. --- gmapcatcher/mapArgs.py.orig Fri Jul 19 09:20:47 2013
  3. +++ gmapcatcher/mapArgs.py Mon Sep 28 21:08:46 2015
  4. @@ -46,10 +46,10 @@ class MapArgs():
  5. print ' very useful to download maps of entire world'
  6. print ' '
  7. print 'SAMPLE USAGE'
  8. - print ' download --location="Paris, France"'
  9. - print ' download --min-zoom=13 --full-range'
  10. - print ' download --latitude=37.979180 --longitude=23.716647'
  11. - print ' download --gpx=myfile.gpx --width=2'
  12. + print ' mapdownloader --location="Paris, France"'
  13. + print ' mapdownloader --min-zoom=13 --full-range'
  14. + print ' mapdownloader --latitude=37.979180 --longitude=23.716647'
  15. + print ' mapdownloader --gpx=myfile.gpx --width=2'
  16. def __init__(self, arrArgs=()):
  17. if len(arrArgs) > 1:
  18. @@ -99,7 +99,7 @@ class MapArgs():
  19. self.lng_range = 179
  20. def __str__(self):
  21. - return ("download.py --max-zoom=%s --min-zoom=%s" +
  22. + return ("mapdownload --max-zoom=%s --min-zoom=%s" +
  23. " --latitude=%s --longitude=%s" +
  24. " --width=%s --height=%s") % \
  25. (self.max_zl, self.min_zl,