LI3DS / api-li3ds

LI³DS Rest API
GNU General Public License v3.0
0 stars 3 forks source link

API for assembled panoramic views #1

Closed vpicavet closed 7 years ago

vpicavet commented 8 years ago

It would be useful to have an API for cubic panoramic, just like HERE does.

The JS API is here (!) : https://developer.here.com/javascript-apis/documentation/v3/maps/topics/panorama.html

API call : getClosestPanoramas with : lat and lng

Response :

 {
"position":{"lat":48.87324644252658,"lng":2.358848350122571,"alt":95.758},
"url":"http://1.sli.data.here.com/226/0048/65/56/02/48655602",
"id":"48655602"
}

To get real images, there is a defined scheme for the URL :

http://1.sli.data.here.com/226/0048/65/56/02/48655602_r11_f0_x7_y7.jpg?app_id=my_app_id&app_code=my_app_code

http://canonical_pano_url/<pano_id>_r<lod>_f<face>_x<img_tile_x>_y<img_tile_y>.jpg

Proposal : 

vpicavet commented 8 years ago

@ldgeo free to comment. Note that we would still need an API for oriented images nontheless

vpicavet commented 7 years ago

Cubes are not the only option, changed the title to reflect this. Do we want to support different types of panoramic images or just one ?

Among the options : 

mbredif commented 7 years ago

For now, I propose to stick to the following (which is what I came across in the past)

I do not think we should distinguish assembled and unassembled panoramas. For me it is just images with varying field of views (eg a fisheye image is almost a panorama by itself...). An interesting api would be to be able to select based on position and field of view : frustum-based selection !

vpicavet commented 7 years ago

One resource which could be interesting to get an idea of the existing mass market hardware providing 360° images and video : 

images and video examples :

elemoine commented 7 years ago

This is old stuff. Closing for now.