d94868b68c
Note that the name of the program changed from gmapcatcher to mapcatcher and gmapcatcher-download to mapdownloader. ok sthen@
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
$OpenBSD: patch-gmapcatcher_mapArgs_py,v 1.1 2010/09/07 10:23:02 kevlo Exp $
|
|
--- gmapcatcher/mapArgs.py.orig Tue Sep 7 17:02:14 2010
|
|
+++ gmapcatcher/mapArgs.py Tue Sep 7 17:02:53 2010
|
|
@@ -42,9 +42,9 @@ class MapArgs():
|
|
print ' very useful to download maps of entire world'
|
|
print ' '
|
|
print 'SAMPLE USAGE'
|
|
- print ' download --location="Paris, France"'
|
|
- print ' download --min-zoom=13 --full-range'
|
|
- print ' download --latitude=37.979180 --longitude=23.716647'
|
|
+ print ' mapdownloader --location="Paris, France"'
|
|
+ print ' mapdownloader --min-zoom=13 --full-range'
|
|
+ print ' mapdownloader --latitude=37.979180 --longitude=23.716647'
|
|
|
|
def __init__(self, arrArgs=()):
|
|
if len(arrArgs) > 1:
|
|
@@ -89,7 +89,7 @@ class MapArgs():
|
|
self.lng_range = 179
|
|
|
|
def __str__(self):
|
|
- return ("download.py --max-zoom=%s --min-zoom=%s" \
|
|
+ return ("mapdownloader --max-zoom=%s --min-zoom=%s" \
|
|
+ " --latitude=%s --longitude=%s" \
|
|
+ " --width=%s --height=%s") % \
|
|
(self.max_zl, self.min_zl,
|