electri / gmapcatcher

Automatically exported from code.google.com/p/gmapcatcher
0 stars 0 forks source link

Lngrange function not working as desired in download.py #187

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
 1.Turn on computer.
 2.Make cup of tea
 3.Using Ubuntu 10.04 utilizing 'download.py' and the switches --latrange=2000(.0) --lngrange=1500(.0) Exact variables below....

./download.py --threads=50 --location="Lichfield, UK" --min-zoom=5 --max-zoom=5 
--satellite --latrange=2000.0 --lngrange=1500.0 

What is the expected output? What do you see instead?

I expect, if its not too much to ask (i joke haha ;) to download the range as 
requested by the parameters. What actually happens is the full-range is 
downloaded instead, defo on lngrange, not absolutely sure about latrange.

What version of the product are you using? On what operating system?

0.7.2 on Ubuntu 10.04 Netbook version.

Please provide any additional information below.

The numbers '172' can be found on the back of the U.S. $5 dollar bill in the 
bushes at the base of the Lincoln Memorial. ;)

Original issue reported on code.google.com by ObiDanKi...@googlemail.com on 21 Jul 2010 at 5:01

GoogleCodeExporter commented 8 years ago
You might want to try with smaller numbers for the range, like:
./download.py --threads=50 --location="Lichfield, UK" --min-zoom=5 --max-zoom=5 
--satellite --latrange=1 --lngrange=1

those are not KM I guess they are degrees and the default is set to 0.05

Original comment by heldersepu on 21 Jul 2010 at 5:11

GoogleCodeExporter commented 8 years ago
I just scoped out some of the coding and cracked it. You can still use the 
width and height argument instead of latrange and longrange..saves me having to 
type a few extra characters anyways!! ;)

For those using commandline arguments using --height= & --width= as fixed 
parameters is a viable and workable solution!!!!

-Dan

Original comment by ObiDanKi...@googlemail.com on 21 Jul 2010 at 6:34

GoogleCodeExporter commented 8 years ago
This is somewhat confusing dude as when using the gui the variables are in km's 
but when using download.py this same value changes to degrees/minutes/seconds 
e.t.c? Perhaps having a uniform/consistent value for both gui and cli might be 
an idea? Just a thought anyways. 

Cheers 

Original comment by ObiDanKi...@googlemail.com on 21 Jul 2010 at 6:40

GoogleCodeExporter commented 8 years ago
Yes,  --height= & --width= are also options to the download.py

I guess we should update the file: 
http://code.google.com/p/gmapcatcher/source/browse/trunk/gmapcatcher/mapArgs.py

Original comment by heldersepu on 21 Jul 2010 at 6:58

GoogleCodeExporter commented 8 years ago
Thanks :)

Original comment by ObiDanKi...@googlemail.com on 21 Jul 2010 at 11:17

GoogleCodeExporter commented 8 years ago
Done see r392

Original comment by heldersepu on 22 Jul 2010 at 1:03