How can I extract a satellite image from google maps given a Lat Long Rectangle? (or, two (lat,long) points that form a bounding box).
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question sounds to me like you want to extract the raw satellite tiles used on Google Maps. That’s against the Terms of Use and if you insist in doing I’m pretty sure you’ll get blocked out of the service, so… don’t 😉
Instead, use the Static Maps API as Mano points out. If you don’t want to compute the values from the
centerandzoomparameters, you can use thevisibleparameter like this:http://maps.googleapis.com/maps/api/staticmap?sensor=false&size=640×400&maptype=satellite&visible=29.64,-13.09&visible=27.38,-18.53&markers=color:red%7Ccolor:red%7Clabel:A%7C27.38,-18.53&markers=color:red%7Ccolor:red%7Clabel:B%7C29.64,-13.09
Bear in mind the
visibleparameter (of which you can provide more than two values) does not guarantee that the corners of the map will be on any of them. They will be visible, which often means the map will include some area around them, in addition to the area among them. Here’s is the image: