# Google Maps from street address

**URL:** <https://www.ruby-forum.com/t/google-maps-from-street-address/129038>\
**Category:** Rails\
**Created:** [February 13, 2008, 6:36pm UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038 "2008-02-13T18:36:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [February 13, 2008, 6:36pm UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038/1 "2008-02-13T18:36:48Z")

</div>

Hi all,

I am trying to create an app that when a street address (Street, city,  
state, zip) is given, a map is displayed along with a point indication  
where on that map the address is. I have done some quick searches, but  
haven’t found exactly what I am looking for. Anybody done anything like  
this? Thanks,

-S

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [February 13, 2008, 7:10pm UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038/2 "2008-02-13T19:10:44Z")

</div>

The lookup is called geocoding, and Google will do it for you. From  
there dropping a point on a google map is not to involved.

> **[Платформа Google Карт  |  Google for Developers](https://developers.google.com/maps/?csw=1)**
>
> Описания платформы Google Карт

Also check out the examples, they cover just about everything.

and if your willing to run Rails 1.2.something this might help  
[http://rubyforge.org/projects/ym4r/](http://rubyforge.org/projects/ym4r/)

Best of luck,  
Aaron

On Feb 13, 12:36 pm, Shandy N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [February 13, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038/3 "2008-02-13T19:14:21Z")

</div>

On Wed, Feb 13, 2008 at 06:36:48PM +0100, Shandy N. wrote:

> I am trying to create an app that when a street address (Street, city,  
> state, zip) is given, a map is displayed along with a point indication  
> where on that map the address is. I have done some quick searches, but  
> haven’t found exactly what I am looking for. Anybody done anything like  
> this? Thanks,

You’ll need to understand geocoding, and you’ll need to understand the  
Google Maps API (JavaScript). Some googling with those terms, plus  
possibly  
rails, will get you the information you need. I think there’s some sort  
of  
geocoding rails plugin out there, too, but I haven’t used it.

> -S  
> –Greg

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [February 14, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038/4 "2008-02-14T13:34:40Z")

</div>

> rails, will get you the information you need. I think there’s some sort of  
> geocoding rails plugin out there, too, but I haven’t used it.

[http://agilewebdevelopment.com/plugins/search?search=geocode](http://agilewebdevelopment.com/plugins/search?search=geocode)

I haven’t used any of those though.

Alain R.

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [February 14, 2008, 2:40pm UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038/5 "2008-02-14T14:40:38Z")

</div>

If it fits your needs, use GeoKit. It is exactly for this purpose. It  
abstracts the api’s so you can easily create a map based on a street  
address.

URL: [http://geokit.rubyforge.org/](http://geokit.rubyforge.org/)

One of my favorite plugins, used it many times. I am often amazed at how  
rich and powerful these free rails plugins are.

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [February 18, 2008, 9:39am UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038/6 "2008-02-18T09:39:57Z")

</div>

Take a look at this:  
[http://www.railslodge.com/ruby\_gems/12-georuby](http://www.railslodge.com/ruby_gems/12-georuby)

and [http://www.railslodge.com/ruby\_gems/13-graticule](http://www.railslodge.com/ruby_gems/13-graticule)

and then [http://www.railslodge.com/plugins/385-spatial-adapter](http://www.railslodge.com/plugins/385-spatial-adapter)

Those 3 combined currently work with edge rails and haver everything you  
will need.

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [February 14, 2008, 5:23pm UTC](https://www.ruby-forum.com/t/google-maps-from-street-address/129038/7 "2008-02-14T17:23:09Z")

</div>

Nathan E. wrote:

> If it fits your needs, use GeoKit. It is exactly for this purpose. It  
> abstracts the api’s so you can easily create a map based on a street  
> address.
> 
> URL: [http://geokit.rubyforge.org/](http://geokit.rubyforge.org/)
> 
> One of my favorite plugins, used it many times. I am often amazed at how  
> rich and powerful these free rails plugins are.

That looks like exactly what I need. I haven’t had a chance to play with  
it, but over the next few days I will. Thansk everyone for your help.

-S
