Google Streetview Images without direction or camera angle - google-api

Is it possible to get the image based on an address using the API? I have seen that it is possible to get them via latitude, longitude (which I do have) direction and camera angle (which I do not have).
I made some research and found posts from several years ago, which stated it would not be possible - but technology evolves and I wanted to know if anyone has an idea how to get an image based on the address.
Theoretically Google would be able to do that; they know where the images has been taken and can calculate the direction to the address.

It actually is possible,
the nearest streetview panorama can be found via the API, and the heading to the actual position can be calculated.
As in this article:
Google Maps Api StreetView PanoramaOptions Point of View Setting from Lon Lat

Related

Google Tango - Load 3D Reconstruction and Localize

Hi I'm new to Google Tango and stackoverflow and I'm doing a group project for school using the Tango device. I've searched the site and the web in general, but can't seem to find anything quite like what I'm looking for.
We've successfully used the AreaLearning feature to re-localize within a space and have used the Constructor to create a 3d model of a space. We want to load that model and localize within it so that we can use raycasting to measure the distance to walls.
Is there a way to do this or a better idea of how to obtain the wall (and other obstructions) distances?
thanks,
Ryan

How to get name of a landmark image (e.g. image of Eiffel Tower)?

I want to provide an image of a place (e.g. image of Eiffel Tower) and want Google to give me back that it contains "Eiffel Tower". I need this only for famous landmarks. What API should I use? I tried to look into Google Places API, but I am not sure if it will do what I am looking for. In the EXIF data of images, I do not have GPS co-ordinates (otherwise I could have done reverse geo-location lookup).
Without GPS coordinates, this problem would require a computer vision solution, also known as image or pattern recognition.
There is research being done right now, for example see A new landmark in computer vision from the official Google blog:
... a Google team is presenting a paper on landmark recognition (think:
Statue of Liberty, Eiffel Tower) at the Computer Vision and Pattern
Recognition (CVPR) conference in Miami, Florida. In the paper, we
present a new technology that enables computers to quickly and
efficiently identify images of more than 50,000 landmarks from all
over the world with 80% accuracy.
But clearly we're not there yet as an industry. There is definitly no API and your problem cannot be currently solved programmatically to any reasonable degree.
More or less I encountered me with the same issue in the sense that I want to get back the place name giving the image as a parameter. So far I have two possible solutions:
1) The use of the Google Cloud Vision API for landmark recognition. (Not completely free: https://cloud.google.com/vision/docs/pricing
2) In my case I am also taking into account to have the user coordinates (and possible if the device allows me, the direction). Hence, my approach will be to get places in the nearby getting their images. Make image comparison with respect to my input image (giving as well some priority to the closest place), returning the name of the image which is more similar to my input.
Hope that this sketch of the idea helps. I would be glad to here which approach did you use if you were able to resolve the problem. Greetings.

Saving high resolution images from google maps/earth

So, the situation:
I need to save high resolution images from google maps of an area given by latitude and longitude coords.
Of course I know that from google earth I can save high res. images, but want to save the image as it looks like in google maps, e.g. without satellite images, so only roads, area names, etc.
With print screen I'm not able to create high res. images in google maps, so,
is there any way to save high res. images? For example with maps API, or something.
Again, I need to save an area's high res. image given by latitude/longitude coords.
Thanks in advance for the answers.
For some higher res imagery, you might want to use the Static Maps api, using the scale paramater.
Some more info below.
http://googlegeodevelopers.blogspot.com/2011/08/go-large-with-high-resolution-support.html
https://developers.google.com/maps/documentation/staticmaps/?csw=1#scale_values

Getting route distance given two geo coordinates

I am creating a windows phone application which uses map control in it. I want to calculate the driving distance between two geo coordinates in windows phone? can any help on this please
You need to work through this example in MSDN Magazine http://msdn.microsoft.com/en-us/magazine/hh148148.aspx
It explains how to do the routing and get the distance property in the results.

How to color fill a country on a map outline

Is it possible in Bing or Nokia maps to display a blank map of the world where each country is only outlined by its border, and then fill some countries with a solid color? Thanks!
A recent blog post on developer.here.com announced that:
The Geocoder API now supports the retrieval of admin boundary shapes
(multi-polygon coordinates) with geocoding results. This feature is
available for all countries & territories - in line with the country's
depth of coverage.
The HERE Community Examples on GitHub offers a web-based example showing this. It is written in JavaScript but should give you the idea.
Make http request to the REST Geocoder service using the additionaldata=IncludeShapeLevel,[level], parameter
Parse Well-known-Text format (WKT) using a regular expression.
Take the coordinates and convert to Polygon
Now depending on your situation, on a phone you may prefer to offer offline only support - because you know the maps are available directly from the device, so if you know for sure which regions you require it would make sense to pre-load the shapes based on a KML or GeoJSON file. If you don't know beforehand, your app relies on http anyway (or the potential set of locations is arbitrarily large) you may as well just http use REST geocoding for the regions you need.
By the way, one advantage of the online solution - because the Bing and Nokia Maps both use the same dataset as HERE, you can be certain that any shapes you download will match exactly.
You can render arbitrary polygons on top of Bing maps, but there's no built in functionality to render regions like provinces, states, counties, etc. In order to highlight a region you would need to provide all the points of a polygon and overlay it over a region on the map. Here's a great article that discusses drawing "advanced" polygon shapes with version 7 of the Bing Maps AJAX control.
“Advanced Shapes” (i.e. Donut Polygons) on Bing Maps
A possible duplicate question in regards to Bing maps API
Bing map - highlight country with a polygon on hover

Resources