Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45665

Static Maps from Lat Long data in XLS file

Newsgroups comp.lang.python
Date 2013-05-21 06:12 -0700
Message-ID <d58b4b5f-1b65-48b4-811f-fd81f1c019fe@googlegroups.com> (permalink)
Subject Static Maps from Lat Long data in XLS file
From kobewka@gmail.com

Show all headers | View raw


Hello,

I'm new to Python, but I think it can solve my problem and I am looking for a someone to point me to tutorial or give me some tips here.

I have an xls file that has about 1,000 latitude and longitude points. I want to do one of two things: 1) Save a static maps and street view image from the coordinates, or 2) create an html file with the map and street view image side by side.

I need the urls to look like this: 

Map with a pin in the centre:
http://maps.googleapis.com/maps/api/staticmap?center=43.65162,-79.40571&zoom=16&size=600x600&markers=color:blue%7Clabel:S%7C43.65162,-79.40571&sensor=false

Image:
http://maps.googleapis.com/maps/api/streetview?location=43.65162,%20-79.40571&size=600x600&sensor=false

I am not sure if option 1 will work because the url doesn't actually lead to an image, but rather Google returns an image when that url is used. 

Any tips or pointers are much appreciated!

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Static Maps from Lat Long data in XLS file kobewka@gmail.com - 2013-05-21 06:12 -0700
  Re: Static Maps from Lat Long data in XLS file Ken Bolton <ken@bscientific.net> - 2013-05-21 09:58 -0400
    Re: Static Maps from Lat Long data in XLS file kobewka@gmail.com - 2013-05-22 04:21 -0700
  Re: Static Maps from Lat Long data in XLS file Tim Daneliuk <tundra@tundraware.com> - 2013-05-21 10:27 -0500
    Re: Static Maps from Lat Long data in XLS file kobewka@gmail.com - 2013-05-22 04:21 -0700

csiph-web