Skip to content
Back to formatted view

Raw Message

Message-ID: <000c01cac0f4$894898f0$9bd9cad0$@net>
Date: 2010-03-11T08:26:23Z
From: Tomislav Hengl
Subject: Geocode for Bogota
In-Reply-To: <3364ce111003091505s755e1dc2u8e6aff6924a69b34@mail.gmail.com>

Google has an API that allows you to geocode addresses (or anything that spatial coordinates in their database) e.g.:

> readLines(url("http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA
&output=csv&key=abcdefg"), n=1, warn=FALSE)
[1] 200.00000 8.00000 37.42197 -122.08414

See also:

http://spatial-analyst.net/wiki/index.php?title=Mapping_research_hot-spots

They limit, however, the number of geocode requests to 15,000 in a 24 hour period. If the url connection breaks, then it might be a good idea to run the same loop one more time and set add a while command to look for the missing coordinates.

HTH,

T. Hengl
http://home.medewerker.uva.nl/t.hengl/ 


> -----Original Message-----
> From: r-sig-geo-bounces at stat.math.ethz.ch [mailto:r-sig-geo-
> bounces at stat.math.ethz.ch] On Behalf Of Juan Tomas Sayago
> Sent: Wednesday, March 10, 2010 12:06 AM
> To: r-sig-geo at stat.math.ethz.ch
> Subject: [R-sig-Geo] Geocode for Bogota
> 
> Dear List,
> I need to geocode or to convert from address to coordenates.
> If someone knows what program I should use and some tips for  it.
> Thanks
> Juan
> 
> --
> Juan Tom?s Sayago
> Universidad Central
> http://sites.google.com/site/juantomassayago/
> Objetivo: Garantizar a cada ser humano que habite en el pa?s, una cantidad m?nima
> de agua con calidad segura para el consumo humano, en forma regular, permanente y
> suficiente para la vida y la salud
> 
> 	[[alternative HTML version deleted]]