RE: [mapserver-users] Mapserver consuming Google Maps
How do I write code (map File) to consume aerial images (not obliques) from Google maps or Bing etc. This is an example of a few services that I am consuming right now... BUT need the aerialsI assume that I can consume the aerials just as you see in Bing or Google Maps.. Any help would be greatly appreciated. map title=Weather Radar default=false zindex=-1 filehttp://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?LAYERS=nexrad-n0ramp;SERVICE=WMSamp;VERSION=1.1.1amp;REQUEST=GetMapamp;STYLES=amp;FORMAT=image/pngamp;SRS=EPSG:26915amp;BBOX=%MINX%,%MINY%,%MAXX%,%MAXY%amp;WIDTH=%WIDTH%amp;HEIGHT=%HEIGHT%amp;TRANSPARENT=TRUE/file /map map title=Infrared Satellite default=false zindex=-1 filehttp://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/conus_ir.cgi?LAYERS=nexrad-iramp;SERVICE=WMSamp;VERSION=1.1.1amp;REQUEST=GetMapamp;STYLES=amp;FORMAT=image/pngamp;SRS=EPSG:26915amp;BBOX=%MINX%,%MINY%,%MAXX%,%MAXY%amp;WIDTH=%WIDTH%amp;HEIGHT=%HEIGHT%amp;TRANSPARENT=TRUE/file /map -Original Message- From: Christopher Schmidt [mailto:crschm...@metacarta.com] Sent: Monday, September 21, 2009 4:14 PM To: Jay Kapalczynski Subject: Re: [mapserver-users] Mapserver consuming Google Maps On Mon, Sep 21, 2009 at 03:49:54PM -0500, Jay Kapalczynski wrote: I am trying to see if there is a way to consume the Aerial images from Google Maps inside a map server / open layers application. Not the obliques... Is this at all possible? Even fee based OpenLayers does this by design. (It is not a 'Desktop client'.) So yes. If you want more information, send mail to a mailing list, rather than to me personally. -- Chris -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Christopher Schmidt Sent: Wednesday, August 26, 2009 12:16 PM To: Marco Foi (marco.foi) Cc: Rahkonen Jukka; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapserver consuming Google Maps On Wed, Aug 26, 2009 at 05:13:53PM +0200, Marco Foi (marco.foi) wrote: Some time ago a similar issue was raised among UDig users and the conclusion was that: IT IS NOT POSSIBLE to consume Google Maps in Desktop clients. This isn't strictly true. Desktop clients which are capable of embedding a browser can use the browser, render a scene, take the resulting image, and display that to the client. There are a number of clients which do exactly that in OpenStreetMap editors, for example. However, this is obviousl significantly more complex than just fetching the tiles, which is the way most people discuss doing it. Anything is possible, but that doesn't mean it will be easy. Regards, -- Christopher Schmidt MetaCarta ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Christopher Schmidt MetaCarta ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver consuming Google Maps
Hi, Openlayers applications are not cascading Google Maps tiles but client applications are requesting them from Google API, directly from the users computers. I think that chapter 10 in the document at http://code.google.com/intl/fi-FI/apis/maps/terms.html says rather clear that you are not allowed to serve Google Map data through your Mapserver. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Niels-Peter Jensen Lähetetty: 26. elokuuta 2009 10:05 Vastaanottaja: 'Christopher Schmidt' Kopio: mapserver-users@lists.osgeo.org Aihe: SV: [mapserver-users] Mapserver consuming Google Maps Yes, it could be a violation of terms, but not if the copyright notice and links still is there - or am I wrong on that ? At least, thats this is what the Openlayers community thinks. I think it would be a very nice if that could be accomplished with MapServer too. Niels-Peter -Oprindelig meddelelse- Fra: Christopher Schmidt [mailto:crschm...@metacarta.com] Sendt: 25. august 2009 17:14 Til: Niels-Peter Jensen Cc: mapserver-users@lists.osgeo.org Emne: Re: [mapserver-users] Mapserver consuming Google Maps On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote: Hi mapserver users Does anybody know if there has been done work to let MapServer consume Google maps ? I know that this is possible in OpenLayers (an example: http://openlayers.org/dev/examples/google.html), but with MapServer I can only se it the other way around, MapeServer serving maps til a GoogleMaps application by WMS. Doing so would be a violation of the terms of use of Google Maps. Regards, -- Christopher Schmidt MetaCarta No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release Date: 08/24/09 12:55:00 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver consuming Google Maps
On Wed, Aug 26, 2009 at 05:13:53PM +0200, Marco Foi (marco.foi) wrote: Some time ago a similar issue was raised among UDig users and the conclusion was that: IT IS NOT POSSIBLE to consume Google Maps in Desktop clients. This isn't strictly true. Desktop clients which are capable of embedding a browser can use the browser, render a scene, take the resulting image, and display that to the client. There are a number of clients which do exactly that in OpenStreetMap editors, for example. However, this is obviousl significantly more complex than just fetching the tiles, which is the way most people discuss doing it. Anything is possible, but that doesn't mean it will be easy. Regards, -- Christopher Schmidt MetaCarta ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver consuming Google Maps
With the advent of the Bing WMS service, that will be the best solution, it appears (for now). Mike On 8/26/09 3:01 PM, Christopher Schmidt crschm...@metacarta.com wrote: On Wed, Aug 26, 2009 at 01:25:11PM -0400, Smith, Michael ERDC-CRREL-NH wrote: What about using the Google Maps static API and making multiple calls and tiling? Is that within the TOS? The Google Maps static API doesn't let you pass in a bounding box, it lets you pas in a 'center and zoom'. The resulting tile will not always be centered exactly on that point such that it can be tiled, based on what I understand: Requests are still based around a grid, it's just not one that's obvious, iiuc. That said, I have no idea if this is within the Terms of Use. It also has other side effects; Google logo on each tile, etc. so it's not a great solution even if it does work, but would probably be better for desktop solutions which have a single view that they want to display data over, as I understand it. Regards, ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver consuming Google Maps
On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote: Hi mapserver users Does anybody know if there has been done work to let MapServer consume Google maps ? I know that this is possible in OpenLayers (an example: http://openlayers.org/dev/examples/google.html), but with MapServer I can only se it the other way around, MapeServer serving maps til a GoogleMaps application by WMS. Doing so would be a violation of the terms of use of Google Maps. Regards, -- Christopher Schmidt MetaCarta ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users