Hi, After some further digging, I found that the two WMS layers published previously were the two highest resolution levels. But that there were 7 lower resolution layers to fetch, including the whole Earth as a single 256-by-256 pixels tile.
Unfortunately the tile index routine I had found on the net wasn't able to retrieve these levels due to the applied integer math, so I had to build me own indexing routine, which took awhile. But it worked out, and so I have added a third layer in the WMS - SAT_AUTO - that seamlessly renderes all 9 resolution levels according to zoom level. I have succesfully zoomed from whole Earth to 10 km without problem. I've also taken the liberty to embed a small Google logo in the rendered images, just to acknowledge the origin of the data. If you've already registered the service in MI Pro, you have to remove and re-add it to force Pro to read the new extended capabilities document. The easiest way is to choose the service in the list, choose "Edit", copy the displayed URL and cancel, remove the service from the list, and add the service again, pasting the URL back. Enjoy. Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ ----- Original Message ----- From: Lars V. Nielsen (GisPro) To: MAPINFO-L Mailinglist Sent: Thursday, May 05, 2005 11:47 AM Subject: Google Maps satellite imagery as WMS Hi, I've been playing around a little with Google Maps, and spurred by a post on mapserver-users I sat down a built myself a WMS front for the two satellite imagery layers on Google Maps. It's not complete yet, as it only throws xml formatted exceptions. And I would like to include other layers too. I've opened the two imagery layers succesfully in both MapInfo Pro 7.5 and 7.8, but as other clients may support other "dialects". Please let me hear of any experiences. Layer 1 consists of circa 3 by 3 degree tiles, layer 2 of 1� by 1� degre tiles. And it's flattened at higher latitudes, just as Earth appears from geostationary orbit. The server URL to enter into MIPro is as follows: http://www.gispro.dk/googlemaps_wms.php?service=wms&version=1.1.1 Don't try and display the whole world, as the server script in that case needs to fetch a humongous number of 64K tiles (8192 for layer 1, four times as many for layer 2), and my ISP do enforce a 30 second script timeout. Instead create a TAB without displaying it right away, and include it in mappers with zoom layering on. Max. zoom of 1000 km seems adequate for layer 1, half for layer 2. Feel free to play with it. If anyone's interested in hosting it on his own server (with longer timeout/higher traffic volume), send me an email. And finally the disclaimer: this is provided as-is. If I need to pull the script due to complaints about excessive traffic or some other issue, I will do so without warning. However, I will submit a post here if it comes to that. And any issues concerning the legality of use of Google Maps resides solely with the end-user. Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 16475
