Street Bearing from Google API? - google-api

Kind of what it says on the tin: is there an API method, anywhere in the Google Maps/Directions/Geocoding APIs, that gives the bearing of a street relative to north when given a PlaceID? I've already tried maps/api/place/details, but it doesn't seem to contain the information I want.

I hope this will help you.
Try this:
https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood4&

Related

google-cloud-vision API gives fewer results

I was using ruby client of Google Cloud Vision, to extract the vehicle information on Automobile Original Titles.
Observations:
When I used the client API, i was getting 171 words.
But, when I used the google's API demo here: https://cloud.google.com/vision/, I got 459 words. It has much of the information I was looking for.
Can anyone please explain, how to get the most out of the API ?
I found the answer to my question,
thanks to #marlon-giona.
I was referring to the post: Google Vision API text detection strange behaviour - Javascript
When I used the image.document to extract dense text, I got the exact words I was looking for

Google Places Type for german subway stations

Hej out there,
I have a small problem with the Google Places API and the defined types. I want to get all subway stations of German cities. In Germany you call them U-Bahn (underground tram) and S-Bahn (mostly provided by German Railway). Unfortunately the Places API returns for the Types subway_station and train_station only the spots for the German Railway. The subway isn't returned at all.
Does anyone know how to get these types of spots out of the places api?
Thank you!
We used OpenStreet Map for that. There you can filter the POI with railway attributes: http://wiki.openstreetmap.org/wiki/DE:Key:railway
This is an old question but I just found out that you can use type= light_rail_station.
I hope this helps other searchers with the same question.

How do I get a short code in India?

I am developing an application that requires the use of a short code, but I can't seem to figure out where to get one. I need one in India, but when I look for one, there are plenty of companies that rent keywords to use in their short code, but I can't find anyway to get my own short code. Once again, I want my own short code, not a keyword in someone else's. Can someone point me in the right direction?
Better you contact Service providers like vodafone, Airtel, relaince...
Just by googling I came across this, May be This be of some help

Google Places Api in Turkey

Can i use google places api in Turkey ?
Because when I send the parameters,i take zero results
How can I fix it ?
If you're typing the parameters (and they're not sent dynamically) try another country. If you still take zero results you're doing something wrong.

Finding nearest street given a lat-long location

Is there any such API where given a location (in terms of latlong), I could find whether the given point is on road/street or not. And if possible also gives me nearest street/road to that location. I found API from [Find nearby Streets] -> http://www.geonames.org/maps/us-reverse-geocoder.html#findNearbyStreets , but it just gives solution for US.
Help me if u know of any better solution/algorithm. ( I am particularly interested in India.)
You can use the Google Maps Geocoding API which does exactly that: https://developers.google.com/maps/documentation/geocoding/intro
Take a look at the "Reverse Geocoding" section.
Google maps api provides reverse Geocoding api, you need to pass lat and long values to get address
http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&sensor=true_or_false
Check this
http://code.google.com/apis/maps/documentation/geocoding/#JSON
Much simpler with OSRM (nearest) webservice. Look at my answer here:
https://stackoverflow.com/a/30403046/4640499

Resources