Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-06-10 Thread Jan Martin
Hi, check out gpsdrive. They have quite a lot on calculating and downloading tiles not just from google. http://apps.sourceforge.net/mediawiki/gpsdrive/index.php?title=Creating_maps http://gtm.tel.uva.es/ztep/maps/dmap.htm Jan On Wed, Jun 10, 2009 at 11:18 PM, Tom B wrote: > > Hi, > > It tur

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-06-10 Thread Tom B
Hi, It turns outs that stitching together Google Static Maps images is indeed in violation of the Google Maps ToS. See 10.2 of: http://code.google.com/apis/maps/terms.html Does anyone happen to have any other ideas of how to achieve this goal without violating the ToS? My guess is that it's no

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-05-28 Thread Tom B
OK, this has been pretty straightforward (thanks for the tips, Gregor). The one issue I'm having is calculating the latitude value of the tiles' centers while accounting for the change in distance per latitude degree while traveling north-south. The code I'm using now calculates a "latitude degr

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-05-27 Thread Gregor at HostGIS
Tom B wrote: > Has anyone had a chance to try this out? Gregor, any luck with getting R&D > funding, by any chance? If not, I might go ahead and take a crack at it, > since it is something our map will eventually need. The customer wasn't up for it when I presented it to him, so I have nothing

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-05-27 Thread Tom B
Has anyone had a chance to try this out? Gregor, any luck with getting R&D funding, by any chance? If not, I might go ahead and take a crack at it, since it is something our map will eventually need. Thanks, Tom Chris Adams wrote: > > Gregor at HostGIS wrote: >> Chris Adams wrote: >>> How ab

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-29 Thread Chris Adams
Gregor at HostGIS wrote: > Chris Adams wrote: >> How about this? >> http://code.google.com/apis/maps/documentation/staticmaps/ > > Hey, nice! > > I do see 1 issue with some uses: "640x640 is the largest image size > allowed" So you may have to figure up, say, 4 references points within > the imag

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-29 Thread Chris Adams
The google scales are given in the open layers code, you should be able to calculate it easily. Christopher Schmidt wrote: > On Tue, Apr 28, 2009 at 01:59:05PM -0700, Gregor at HostGIS wrote: > >> Chris Adams wrote: >> >>> How about this? >>> http://code.google.com/apis/maps/documentation

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-28 Thread Tom B
Great, this sounds promising, at the very least. Many thanks for all the input on this; Gregor, definitely let us know how it goes if you're able to swing the development on it. This seems like something that might be of interest to many folks. Thanks, Tom Christopher Schmidt-2 wrote: > > On

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-28 Thread Christopher Schmidt
On Tue, Apr 28, 2009 at 01:59:05PM -0700, Gregor at HostGIS wrote: > Chris Adams wrote: > > How about this? > > http://code.google.com/apis/maps/documentation/staticmaps/ > > Hey, nice! > > I do see 1 issue with some uses: "640x640 is the largest image size > allowed" So you may have to figure u

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-28 Thread Christopher Schmidt
On Tue, Apr 28, 2009 at 01:31:58PM -0700, Tom B wrote: > > Hi, > > I'm trying to give users the option of saving/printing a map, and I'm > currently working off the "tile stitching" code to create a composite image > of the map's layers: > http://trac.openlayers.org/wiki/Printing > > Since the O

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-28 Thread Gregor at HostGIS
Chris Adams wrote: > How about this? > http://code.google.com/apis/maps/documentation/staticmaps/ Hey, nice! I do see 1 issue with some uses: "640x640 is the largest image size allowed" So you may have to figure up, say, 4 references points within the image and make those queries to get the ima

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-28 Thread Chris Adams
How about this? http://code.google.com/apis/maps/documentation/staticmaps/ Tom B wrote: > Hi, > > I'm trying to give users the option of saving/printing a map, and I'm > currently working off the "tile stitching" code to create a composite image > of the map's layers: > http://trac.openlayers.org

Re: [OpenLayers-Users] Saving with a Google Maps base layer

2009-04-28 Thread Gregor at HostGIS
> More generally: I didn't see any conclusive threads about adding Google Maps > layers to a composite image--has anyone done this? To my knowledge, the GM API and the OL API over top of it do not expose enough information to fetch the URLs. GM changes their naming scheme now and then, so any su

[OpenLayers-Users] Saving with a Google Maps base layer

2009-04-28 Thread Tom B
Hi, I'm trying to give users the option of saving/printing a map, and I'm currently working off the "tile stitching" code to create a composite image of the map's layers: http://trac.openlayers.org/wiki/Printing Since the OpenLayers.Layer.Google class doesn't have a "grid" property, the Google M