Re: Error with MapProjection::Forward [message #86672 is a reply to message #86671] |
Wed, 27 November 2013 09:08   |
atmospheric physics
Messages: 121 Registered: June 2010
|
Senior Member |
|
|
Thanks for more info. I have the following google static map:
http://maps.googleapis.com/maps/api/staticmap?center=51.5255 17,12.927633&zoom=14&size=600x600&maptype=satell ite&sensor=true
After running my program above by correcting size and window to 600 by 600,
I find that the image from the above link of google statics is enlarged in area and covers more portion of above/below, side-ways in comparison to the above link image. Is there a way I can provide the limits of lat-lon axis that I want to overlay on the google statics map? Can you please elaborate how the lat-lon axis is overlayed onto this google statics map for which the center lat and center lon are only provided with zoom factor? It would be of great help if you can provide me some information on this.
Thanks in advance
On Wednesday, November 27, 2013 5:54:24 PM UTC+1, David Fanning wrote:
> Madhavan Bomidi writes:
>
>
>
>> ; Gather the Google Map using the Google Static Map API
>
>> googleStr="http://maps.googleapis.com/maps/api/staticmap?" + $
>
>> "center=" + StrTrim(centerLat,2) + ',' + StrTrim(centerLon,2) + $
>
>> "&zoom=" + StrTrim(zoom,2) + "&size=1200x1200" + $
>
>> "&maptype=satellite&sensor=true&format=png32" ; terrain/satellite/hybrid
>
>
>
> I just noticed that you are trying to recover a 1200x1200 image from
>
> Google. The maximum size of an image returned from Google using this
>
> Google API is 640x640. In fact, this is the size of the image returned
>
> by this command. Maybe that is what you meant by "low resolution". If
>
> so, then I guess we are stuck with it. You can try complaining to
>
> Google. :-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|