create account

Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!) by makerhacks

View this thread on: hive.blogpeakd.comecency.com
· @makerhacks · (edited)
$89.95
Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!)
![Screenshot from 2018-06-19 09-45-42.png](https://cdn.steemitimages.com/DQmTFmKaA4J5BLjXYveWhKreFFLDog2ii9DWZ9nTxyCmcmA/Screenshot%20from%202018-06-19%2009-45-42.png)

[In my previous post I mentioned Pythonista](https://steemit.com/arduino/@makerhacks/udp-client-on-mobile-using-pythonista) and I don't think I have really done enough to tell people about this amazing app.

* You can get Pythonista from [their website](http://omz-software.com/pythonista) or the app store
* It's both an IDE and a 2.7/3.5 interpreter 
* If you have xcode you can even package as native apps

### App to load Google Maps with coordinates from a photograph

![output.gif](https://cdn.steemitimages.com/DQmTrf5EFTcQ3UNaDXuoUyga2E5iQEhJQeVJ83KtsnNCS8f/output.gif)

It's not just a cool toy, it actually comes in valuable.

For example, a lot of the time I find interesting places, and when I want to return I can't quite figure out where I was. Now with this custom app, I can extract the location and get directions from my photographs!

Pythonista makes it easy because they have a photo picker built right in, and from the selected asset you can get the location, then launch a browser with the Google Maps URL scheme.

Cool, eh? :)

```
import photos
import webbrowser

picked = photos.pick_asset()
print(dir(picked))
geo_loc = picked.location
lat = geo_loc['latitude']
long = geo_loc['longitude']
map_url = "comgooglemaps://www.google.com/maps/?q={},{}".format(lat,long)
print(map_url)
webbrowser.open(map_url, new=1, autoraise=True)
```
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authormakerhacks
permlinkgetting-google-maps-from-photographs-aka-yes-you-can-build-ios-apps-with-python
categorypython
json_metadata{"tags":["python","programming","making","mobile","iphone"],"image":["https://cdn.steemitimages.com/DQmTFmKaA4J5BLjXYveWhKreFFLDog2ii9DWZ9nTxyCmcmA/Screenshot%20from%202018-06-19%2009-45-42.png","https://cdn.steemitimages.com/DQmTrf5EFTcQ3UNaDXuoUyga2E5iQEhJQeVJ83KtsnNCS8f/output.gif"],"links":["https://steemit.com/arduino/@makerhacks/udp-client-on-mobile-using-pythonista","http://omz-software.com/pythonista"],"app":"steemit/0.1","format":"markdown"}
created2018-06-19 15:37:57
last_update2018-06-19 15:46:03
depth0
children5
last_payout2018-06-26 15:37:57
cashout_time1969-12-31 23:59:59
total_payout_value77.840 HBD
curator_payout_value12.106 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,525
author_reputation156,977,359,570,955
root_title"Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,374,767
net_rshares42,722,682,067,471
author_curate_reward""
vote details (58)
@preslavrachev ·
Hi, another big Pythonista fan here. Just wanted to come by and say hello. A very helpful script, which I am sure, I will add to my collection too.
properties (22)
authorpreslavrachev
permlinkre-makerhacks-getting-google-maps-from-photographs-aka-yes-you-can-build-ios-apps-with-python-20180807t130902392z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-08-07 13:09:03
last_update2018-08-07 13:09:03
depth1
children0
last_payout2018-08-14 13:09:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length147
author_reputation1,410,884,104
root_title"Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,408,284
net_rshares0
@tjoseph1 ·
hello very useful information in these days I have put learn a bit of pyton and is a super versatile tool greetings from venezuela
properties (22)
authortjoseph1
permlinkre-makerhacks-getting-google-maps-from-photographs-aka-yes-you-can-build-ios-apps-with-python-20180619t165141299z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-06-19 16:51:45
last_update2018-06-19 16:51:45
depth1
children0
last_payout2018-06-26 16:51:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length130
author_reputation493,741,673,696
root_title"Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,382,898
net_rshares0
@wonseok786 ·
$0.06
Hi. It is beautiful! but I have one question about that. I think this alogorithm is just extracting GPS value from image file format. not searching or using AI. Right?
👍  
properties (23)
authorwonseok786
permlinkre-makerhacks-getting-google-maps-from-photographs-aka-yes-you-can-build-ios-apps-with-python-20180623t044943099z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-06-23 04:49:45
last_update2018-06-23 04:49:45
depth1
children2
last_payout2018-06-30 04:49:45
cashout_time1969-12-31 23:59:59
total_payout_value0.045 HBD
curator_payout_value0.013 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length167
author_reputation946,625,561
root_title"Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,862,045
net_rshares30,358,814,755
author_curate_reward""
vote details (1)
@makerhacks ·
Correct :)
properties (22)
authormakerhacks
permlinkre-wonseok786-re-makerhacks-getting-google-maps-from-photographs-aka-yes-you-can-build-ios-apps-with-python-20180623t051938442z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-06-23 05:19:36
last_update2018-06-23 05:19:36
depth2
children1
last_payout2018-06-30 05:19:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length10
author_reputation156,977,359,570,955
root_title"Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,864,502
net_rshares0
@wonseok786 ·
Thanks!
properties (22)
authorwonseok786
permlinkre-makerhacks-re-wonseok786-re-makerhacks-getting-google-maps-from-photographs-aka-yes-you-can-build-ios-apps-with-python-20180623t083158697z
categorypython
json_metadata{"tags":["python"],"app":"steemit/0.1"}
created2018-06-23 08:32:00
last_update2018-06-23 08:32:00
depth3
children0
last_payout2018-06-30 08:32:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation946,625,561
root_title"Getting Google Maps from Photographs (AKA Yes, you CAN build iOS apps with Python!)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,881,147
net_rshares0