Mobile GMaps Home Page
 FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister  
 ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 

Cannot download GoogleTerrain maps (topographical maps)

 
Post new topic   Reply to topic   printer-friendly view    MGMaps Forum Index -> Stored Maps
View previous topic :: View next topic  
Author Message
franc
Power User


Joined: 25 Oct 2009
Posts: 64

Phone Type: Unknown

PostPosted: Tue Dec 14, 2010 10:14 am    Post subject: Cannot download GoogleTerrain maps (topographical maps) Reply with quote

Hello,

when i download Maps from GoogleTerrain (GoogleTer) with gMapMaker or with the MapTileCacher-Perlscript it doesn't work.
gMapMaker gives me empty folders and MapTileCacher doesn't download GoogleTer but normal GoogleMap maps.

I mean those maps, e.g.:

http://goo.gl/maps/Oocv

Does anybody know how to get GoogleTer into MGMaps?

Thank you,

franc
Back to top
View user's profile Send private message
franc
Power User


Joined: 25 Oct 2009
Posts: 64

Phone Type: Unknown

PostPosted: Tue Dec 14, 2010 11:06 am    Post subject: Reply with quote

There is an (other) error in the MapTileCacher.
For Zoom 15, instead of:

Code:
if($MapType eq "GoogleMap" || $MapType eq "GoogleHyb" || $MapType eq "GoogleTer")
  {
    if ($use_proxy)
    {
      $url = $proxy_list[int(rand(@proxy_list))] . "http/mt";
    }
    else
    {
      $url = "http://mt";
    } 
    $url .= (($x+$y)&1) . ".google.com/vt/lyrs=".(($MapType eq "GoogleHyb") ? "h" : "m").'@117';
    $url .= "&hl=en&x=$x&y=$y&z=$zoomLevel";
  }
  elsif($MapType eq "GoogleTer")
  {
   $url = "http://mt" . (($x+$y)&1) . ".google.com/vt/w2p.117";
   $url .= "&hl=en&x=$x&y=$y&z=$zoomLevel";
  }...


it should be:

Code:

  if($MapType eq "GoogleMap" || $MapType eq "GoogleHyb")
  {
    if ($use_proxy)
    {
      $url = $proxy_list[int(rand(@proxy_list))] . "http/mt";
    }
    else
    {
      $url = "http://mt";
    } 
    $url .= (($x+$y)&1) . ".google.com/vt/lyrs=".(($MapType eq "GoogleHyb") ? "h" : "m").'@117';
    $url .= "&hl=en&x=$x&y=$y&z=$zoomLevel";
  }
  elsif($MapType eq "GoogleTer")
  {
    $url = "http://mt" . (($x+$y)&1) . ".google.com/vt/lyrs=t@126,r@140&hl=en&x=$x&y=$y&z=$zoomLevel&s=Gali";
  }

With this it is working for zoom 15 at least.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MGMaps Forum Index -> Stored Maps All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
MGMaps topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group