EasyTiler v.0.9 questions

Scrooge McDuck

Addon Developer
Addon Developer
Joined
Mar 18, 2008
Messages
515
Reaction score
30
Points
28
Location
The Netherlands
Website
orbitermap.no-ip.org
First of all, thanks NickD for this fantastic idea (also the integrated google-maps images downloader). I have some problems with EasyTiler.
I am not sure if this subject was already covered in a thread on the M6 forum, but the forum is down right now, so therefore I will post it here.

The first time, I entered the coordinates of the area, and the images appeared to download correctly.

However, the second time, I changed some settings and when I started the downloading, the images won't download correctly.
Almost all the downloaded JPG's are only 3 KB, and when you look inside them, they contain this HTML data generated by the google server:

HTML:
<html>
<head>
<title>403 Forbidden</title>
<style>
body {
font-family: Arial, sans-serif;
}
</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000cc" vlink="#551a8b" alink="#ff0000">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><b><font face=times color=#0039b6 size=10>G</font><font face=times color=#c41200 size=10>o</font><font face=times color=#f3c518 size=10>o</font><font face=times color=#0039b6 size=10>g</font><font face=times color=#30a72f size=10>l</font><font face=times color=#c41200 size=10>e</font></b></td>
<td valign=middle width="100%" style="padding-left: 10px">
<table bgcolor="#e5ecf9" width="100%" cellpadding="0"
cellspacing="0" border="0" style="border-top: 1px solid #3366cc">
<tr>
<td><font size="+1"> <b>Error</b></font></td>
<td align="right" nowrap><font size="-1"> </font></td>
</tr>
</table>
</td>
</tr>
</table>
<blockquote>
<h1>We're sorry...</h1>
<p>... but your query looks similar
to automated requests from a computer virus or spyware
application.  To protect our users, we can't process your request
right now.
</p>
<p>We'll restore your access as quickly as possible, so try again soon. In the meantime, if you suspect that your computer or network has been infected,
you might want to run a <a href="http://www.download.com/Antivirus/3150-2239-0.html"> virus checker</a> or <a href="http://www.download.com/sort/3150-8022-0-1-4.html">spyware remover</a> to make sure that your systems are free of viruses and other spurious software.
</p>
<p>
If you're continually receiving this error, you may be able to resolve the
problem by deleting your Google cookie and revisiting Google. For
browser-specific instructions, please consult your browser's online support
center.
</p>
<p>
If your entire network is affected, more information is available in the <a
  href="http://www.google.com/support/bin/answer.py?answer=86640">Google
Web Search Help Center</a>.
</p>
<p>We apologize for the inconvenience, and hope we'll see you again on Google.


<form action="Captcha" method="get">
  <input type="hidden" name="continue" value="http://kh.google.com/kh?v=3&t=trtqtqtrrq">
  <input type="hidden" name="id" value="2851296851931643485">
<table cellpadding="4" cellspacing="0" border="0">
<tr><td valign="top" align="left">
<font face="Arial, sans-serif" color="#aa1002">
<b>To continue searching, please type the characters you see below:</b>
</font>
<input type="text" name="captcha" value="" id="captcha" size="12">
</td></tr>
<tr><td>
<div align="right">
<img src="/sorry/image?id=2851296851931643485" border="1" alt="If you can read this, you do not have images enabled. Please enable images in order to proceed."></div>
</td></tr>
</table>
<p>
</form>



</blockquote>
<br><table width=100% cellpadding=0 cellspacing=0>
<tr><td bgcolor=#3366cc><img alt="" width=1 height=3></td></tr>
</table>
</body>
</html>
Strangely enough, some of the JPG images appear to contain the right data, but most of them contain this warning.
So it looks like Google is trying to prevent other applications from downloading google maps server? Is there a solution?

regards,
mcduck

PS I am really interested in the way/protocol it can download images from the Google Maps server, as I'd like to experiment with this too, but first things first :)
 

Scrooge McDuck

Addon Developer
Addon Developer
Joined
Mar 18, 2008
Messages
515
Reaction score
30
Points
28
Location
The Netherlands
Website
orbitermap.no-ip.org
I think I get the idea now how you can manually download the google maps images in any application using http://kh.google.com/kh?... , however, it appears that if this is done too often, it will request a visual 'passphrase' confirmation of letters (anti spam like on HTML forms).

I suppose they deliberately do this to prevent any other application than Google Maps or Earth from downloading images, but is this something new? Maybe there is a work around?

Do you think the "Google Maps Images Downloader (GMID)" has stopped for the same reason?

regards,
mcduck
 

TSPenguin

The Seeker
Joined
Jan 27, 2008
Messages
4,075
Reaction score
4
Points
63
Google doesn't like it when you don't submit to their advertising or don't use their software. It was only a question of time until they implemented something like this.

It would be great to remote control google earth and grab the images from RAM.
I doubt they'll implement anything usefull to prevent this from beeing done.
Getting they directly from the server is way more efficiant and elegant and better in every way, but this way you can sit down and watch it all happen :p
 

Scrooge McDuck

Addon Developer
Addon Developer
Joined
Mar 18, 2008
Messages
515
Reaction score
30
Points
28
Location
The Netherlands
Website
orbitermap.no-ip.org
It would be great to remote control google earth and grab the images from RAM.
I doubt they'll implement anything usefull to prevent this from beeing done.
Getting they directly from the server is way more efficiant and elegant and better in every way, but this way you can sit down and watch it all happen :p
I've already written an application that can remotely control Google Earth, it can also even obtain the render Handle of the Google Earth rendering screen. All this is possible through the Google Earth COM API, which works nice.
Maybe I can have some more fun with the COM API, by injecting data (like a visible path) into Google Earth from an Orbiter plugin.

But you are right, it would be a very inefficient way of capturing textures for tiles. I would be very glad if we could find a way of still contacting the server like NickD's nice utility..

regards,
mcduck
 

NickD

Addon Developer
Addon Developer
Joined
Jan 20, 2008
Messages
30
Reaction score
1
Points
0
Location
Sofia, Bulgaria
Website
nickd.freehostia.com
Hello!
Google definitely didn't want their images to be used from different software. They've implemented this user confirmation feature maybe year ago. I'm not sure how this can be avoided. Maybe there is some way to fully simulate request from Google Earth. But this restriction is only temporary. If you wait some time (couple of hours i think), it will be disabled.
If someone have an idea how to fully simulate google earth request, please share. I will even may share my source code to be modified if needed.
Best regards,
Nick
 

TSPenguin

The Seeker
Joined
Jan 27, 2008
Messages
4,075
Reaction score
4
Points
63
In my case I can change my IP for every tile I get from the server.
Unfortunately not everyone can do that.
 

Scrooge McDuck

Addon Developer
Addon Developer
Joined
Mar 18, 2008
Messages
515
Reaction score
30
Points
28
Location
The Netherlands
Website
orbitermap.no-ip.org
For now, the utility (the part that downloads the tiles) is working fine (more than a moth later since last post in this topic).
Now that I've downloaded a somewhat larger area at (google) level 17, having the Orbiter surface tile set to level 8, it should only slightly reduce the size of all the tiles. However, when I try to use the cutting function, it now keeps giving me the error "ERROR: Cannot resize the image! Please resize it manually!".
This error only appears to happen when trying to resize a larger set of images, because when I try to do the same for a smaller area, with exactly the same settings in EasyTiler, everything works fine.

NickD, I would like to help you with making your utility more stable, I have sent you a PM about this.

Too bad, the last step in the program does too much (eg, generating the tile list, etc), so all of this can't be done.
All the tiles are downloaded correctly (the pX000Y001.jpg etc.), but I'm not sure how to create the surface list/etc manually. It appears that the Orbiter documentation doesn't tell anything about how to name sets of surface tiles with their indices (according to the level).
Can anyone help me with this?

regards,
mcduck
 

Scrooge McDuck

Addon Developer
Addon Developer
Joined
Mar 18, 2008
Messages
515
Reaction score
30
Points
28
Location
The Netherlands
Website
orbitermap.no-ip.org
There is another (related?) problem:
For some reason, if the detailed region is large, it downloads correctly, but it completely crashes when I try to do the final resize step.
Example:

  • Enter the coordinates for an area of about 15x15 km.
  • Set (google) Zoom Level to 16, and Orbiter Texture Level to 7.
  • Calculate/download. All will go well.
  • Then Step 4 split into tiles; it appears to work at first, but then after a while, the application simply quits (CTD).
I hope this example was helpfull, the problem must probably be tracable if you can recreate the crash. I could give more detailes (or example coordinates) if required.

So for now the application works excellent for smaller areas or lower detail, but the problem is only when trying to do Step 4 for larger areas with high detail.

regards,
mcduck
 
Top