# Ask google for gps by giving street adress?

**URL:** <https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585>\
**Category:** Libraries\
**Created:** [November 16, 2018, 7:57am UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585 "2018-11-16T07:57:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [November 16, 2018, 7:57am UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585/1 "2018-11-16T07:57:07Z")

</div>

How can I Ask google for gps by giving street adress?

I got a bunch of Adresses and like to retrieve the gps data for the houses.

Adresses are from germany like street, house number, zip code, city.

Thanks a ton!

Chrisir

---

<div class="post-metadata">

**Author:** ![dan850](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dan850](https://discourse.processing.org/u/dan850)\
**Post date:** [November 16, 2018, 8:04am UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585/2 "2018-11-16T08:04:21Z")

</div>

hi, do you have any example code in processing or p5js that tries to implement this ? you will more likely have to look at the Google Maps API.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [November 16, 2018, 8:49am UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585/3 "2018-11-16T08:49:29Z")

</div>

No code yet.

What is the usage for the api?

---

<div class="post-metadata">

**Author:** ![dan850](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dan850](https://discourse.processing.org/u/dan850)\
**Post date:** [November 16, 2018, 9:26am UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585/4 "2018-11-16T09:26:47Z")

</div>

so for instance, this library [https://github.com/bmoren/p5.geolocation](https://github.com/bmoren/p5.geolocation) has methods to get GPS data. Here is an example - [https://editor.p5js.org/projects/HkQ8kMdee](https://editor.p5js.org/projects/HkQ8kMdee)

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [November 16, 2018, 10:38am UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585/5 "2018-11-16T10:38:48Z")

</div>

Thanks a lot!

Great!

---

<div class="post-metadata">

**Author:** ![Kevin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kevin/32/2297_2.png) [@Kevin](https://discourse.processing.org/u/Kevin)\
**Post date:** [November 16, 2018, 9:30pm UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585/6 "2018-11-16T21:30:58Z")

</div>

It sounds like you’re looking for the **Geocoding API** :

> **[Get Started  |  Geocoding API  |  Google for Developers](https://developers.google.com/maps/documentation/geocoding/start)**
>
> Geocoding converts addresses into geographic coordinates to be placed on a map. Reverse Geocoding finds an address based on geographic coordinates or place IDs.

> **Geocoding** is the process of converting addresses (like a street address) into geographic coordinates (like latitude and longitude), which you can use to place markers on a map, or position the map.
> 
> **Reverse geocoding** is the process of converting geographic coordinates into a human-readable address.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [November 17, 2018, 7:41pm UTC](https://discourse.processing.org/t/ask-google-for-gps-by-giving-street-adress/5585/7 "2018-11-17T19:41:45Z")

</div>

Thanks a lot everyone!
