abidinamdar / gmapcatcher

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

satellite maps instead of hybrid #199

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
gmapcatcher does not downloads or save hybrid maps.
it save satellite maps instead in hyb_tiles.

all versions from downloads and svn, windows & ubuntu.

Original issue reported on code.google.com by pokr...@gmail.com on 17 Aug 2010 at 11:49

GoogleCodeExporter commented 8 years ago
Issue 200 has been merged into this issue.

Original comment by heldersepu on 18 Aug 2010 at 12:23

GoogleCodeExporter commented 8 years ago
in the hyb_tiles folder is downloading satellite data

Original comment by heldersepu on 18 Aug 2010 at 12:31

GoogleCodeExporter commented 8 years ago
it looks as though google have changed their urls;

most notably for us there is a clear difference from the sat urls to the 
overlay urls

for instance for sat tiles the urls are
http://khm2.google.com/kh/v=67&hl=en&x=10&y=25&z=6

while for hybrid - overlay - tiles they are
http://mt0.google.com/vt/lyrs=h@130&hl=en&x=10&y=25&z=6

Original comment by Mark111...@gmail.com on 18 Aug 2010 at 6:34

GoogleCodeExporter commented 8 years ago
also sat tiles url:
http://mt0.google.com/vt/lyrs=s@130&hl=en&x=10&y=25&z=6

Original comment by heldersepu on 18 Aug 2010 at 1:02

GoogleCodeExporter commented 8 years ago
I guess that in googleMaps.py we are looking for the wrong pattern...
the answer could be in the files attached, look for insertTiles 

Original comment by heldersepu on 18 Aug 2010 at 3:25

GoogleCodeExporter commented 8 years ago
that sounds right; as I understand it currently we request the URL from google 
then the tile, possibly we should try parse the URL/s from the insertTile 
JavaScript?

Original comment by Mark111...@gmail.com on 18 Aug 2010 at 4:29

GoogleCodeExporter commented 8 years ago

Original comment by heldersepu on 18 Aug 2010 at 4:33

GoogleCodeExporter commented 8 years ago
In the past we had many issues when Google changes the URL patterns, I guess if 
we get the "baseUrl" from the "insertTile" we should be OK...

Original comment by heldersepu on 18 Aug 2010 at 4:44

GoogleCodeExporter commented 8 years ago
I was doing some more research that the "insertTiles" was always there, we can 
date it back to Issue 17 there a file attached in that issue that also has the 
baseUrl 

Original comment by heldersepu on 18 Aug 2010 at 5:11

GoogleCodeExporter commented 8 years ago
My thinking is we should perhaps have some kind of cronjob script that parses 
the google maps JavaScript, then dynamically writes a reference page here - 
similar to the version page - that the GMapCatcher app would then read directly 
for the Base URL at startup / when changing layers; hopefully saving latency?

I know I've seen different configurations of projects at code.google.com, would 
adding a cronjob be possible? Alternatively it could be hosted some place that 
allows cronjob scripts

could be worthwhile picking up the URL from the maps API, 
http://code.google.com/apis/maps/documentation/javascript/reference.html 
getTileUrl()

Original comment by Mark111...@gmail.com on 18 Aug 2010 at 5:30

GoogleCodeExporter commented 8 years ago
Google App Engine for instance seems to allow cron jobs

http://code.google.com/appengine/docs/python/config/cron.html

Original comment by Mark111...@gmail.com on 18 Aug 2010 at 5:45

GoogleCodeExporter commented 8 years ago
I just committed a fix, see r972

Original comment by heldersepu on 18 Aug 2010 at 9:54

GoogleCodeExporter commented 8 years ago
looks good; for the longer term, it looks as though someone has already 
registered gmapcatcher.appspot.com? I've registered mapcatcher.appspot.com in 
case

Original comment by Mark111...@gmail.com on 19 Aug 2010 at 6:08

GoogleCodeExporter commented 8 years ago

Original comment by heldersepu on 19 Aug 2010 at 9:20

GoogleCodeExporter commented 8 years ago

Original comment by heldersepu on 22 Aug 2010 at 5:09

GoogleCodeExporter commented 8 years ago
I have installed Gmapcatcher 0.7.5.0, I am unable to see (and save) hybrid maps 
from Google and Yahoo, displayed are satellite maps instead. I was able to see 
Hybrid maps couple weaks ago. How to fix it?

Original comment by gili...@gmail.com on 19 Feb 2011 at 12:48

GoogleCodeExporter commented 8 years ago
Yahoo hybrid  should be OK, the problem is with Google and unfortunately we no 
longer support Google maps, see Issue 210 for more details

Original comment by heldersepu on 19 Feb 2011 at 3:12