Wednesday, April 20, 2016

Google street view: Alternative way to getting street view data

Leave a Comment

I've been trying to get data from Google street view for quite some time. For research purposes, I need to be able to estimate the sky area at some particular map location. That's why I need an estimation of the spherical view and I thought that using Google street view would be a good idea. What I actually need is given a 3d direction I should be able to tell what is the color of the pixel in this direction.

What I have come up is the following. I am downloading 6 images using Google Street View Image API to use them as cube textures (particularly I submit 6 queries with parameters:

(heading, pitch) = {(0, 0), (90, 0), (180, 0), (270, 0), (0, 90), (0, -90)} 

When I map those 6 images to a cube what I get is the following:

corner example

The problem is that it seems there is some numerical error and the corners mismatch. I have an idea how to fix it but the complexity grows by a lot.

I've also looked at the JavaScript API but could not find a way to access the data from there. There is a mention of UV mapping on the offcial guide page

enter image description here

but it seems this is directed just for user generated content.

Am I missing something? Are there any alternative methods for doing this?

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment