google-streetview-publish

STATUS:INVALID_ARGUMENT and ERROR: The API Key and the authentication credential are from different projects

拈花ヽ惹草 提交于 2020-08-10 08:46:15
问题 In google street view while uploading the metadata of the photo in step 3 I am getting error: { "error": { "status": "INVALID_ARGUMENT", "message": "The API Key and the authentication credential are from different projects.", "code": 400, "details": [ { "@type": "type.googleapis.com/google.rpc.Help", "links": [ { "url": "https://console.developers.google.com/project/3624944027/apiui/credential", "description": "Google developer console API key" } ] } ] } } 回答1: This means the API Key and the

How to connect one pano to multiple panos using Google street view publish API?

百般思念 提交于 2019-12-17 21:34:17
问题 I'm using photo.update request for panos(360 panoramic images) connection in python. I'm able to do only connect one pano to another pano but I want to connect one pano to multiple panos. I'm not getting a successful result. I have sent the following photoUpdate request using Python: update_photo_url = 'https://streetviewpublish.googleapis.com/v1/photo/{}?key={}&updateMask=connections'.format("pano_1","AIzdesdfyxscvvvvvvvvvvvvvvv") headers = {"Authorization": "Bearer {}".format("ya29

Streetview Publish API with PHP - The upload reference cannot be found

巧了我就是萌 提交于 2019-12-12 04:54:23
问题 I'm having some issues with the Streetview Publish API through PHP, attempting to replicate the procedure listed under "Uploading a photo" in the documentation https://developers.google.com/streetview/publish/first-app I've got the first part working and can retrieve the upload URL to a variable $upload_url. This is my code for step 2 $another = array( 'upload-file' => curl_file_create($imagepath) ); $header = array ( "Authorization: Bearer $accesstoken", "Content-Type: multipart/form-data" )

How does street view publish API judge the panorama connection that which direction should it linked to if multiple target set on one panorama?

匆匆过客 提交于 2019-12-08 04:30:21
问题 I have an issue with the connection request in google street view publish API. Both with single and multiple target. If i create single target from source photo { "updatePhotoRequests": [ { "updateMask": "connections", " photo": { "photoId": { "id": "pano_3" }, "connections": [ { "target": { "id": "pano_4" } }, ] } } ] } How the above JSON request set Panorama connection to specific direction of the target panorama. For e.g if i set a connection from pano_1 north position to pano_2 south

How does street view publish API judge the panorama connection that which direction should it linked to if multiple target set on one panorama?

∥☆過路亽.° 提交于 2019-12-06 16:25:59
I have an issue with the connection request in google street view publish API. Both with single and multiple target. If i create single target from source photo { "updatePhotoRequests": [ { "updateMask": "connections", " photo": { "photoId": { "id": "pano_3" }, "connections": [ { "target": { "id": "pano_4" } }, ] } } ] } How the above JSON request set Panorama connection to specific direction of the target panorama. For e.g if i set a connection from pano_1 north position to pano_2 south position its not set properly. the link arrow show to right direction rather than forward or backward

Upload pano Image using street View Publish API

核能气质少年 提交于 2019-12-06 15:12:03
问题 When I am making upload using the the given street View API Request an Upload URL $ curl --request POST \ --url 'https://streetviewpublish.googleapis.com/v1/photo:startUpload?key=YOUR_API_KEY' \ --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \ --header 'Content-Length: 0' Upload the photo bytes to the Upload URL $ curl --request POST \ --url 'UPLOAD_URL' \ --upload-file 'PATH_TO_FILE' \ --header 'Authorization: Bearer YOUR_ACCESS_TOKEN' But its not Working.. Its giving me the error No

How to connect one pano to multiple panos using Google street view publish API?

空扰寡人 提交于 2019-11-28 14:22:08
I'm using photo.update request for panos(360 panoramic images) connection in python. I'm able to do only connect one pano to another pano but I want to connect one pano to multiple panos. I'm not getting a successful result. I have sent the following photoUpdate request using Python: update_photo_url = 'https://streetviewpublish.googleapis.com/v1/photo/{}?key={}&updateMask=connections'.format("pano_1","AIzdesdfyxscvvvvvvvvvvvvvvv") headers = {"Authorization": "Bearer {}".format("ya29.Glx6BO91jWbjzLQKYPvP16fhT-jyOEnIdnoRcZcU9uYCqzwH3Dkuf-qf