Google street view multiple arrow marks issue between panorama - google-street-view

In google street view API after publishing all panorama images with latitude and longitude, heading and connections nearly after 2-3 hours initially arrow marks connections comes perfectly..but after approximately 24 hours extra links(arrow marks) are getting added between panorama images..how to solve this..?
I have tried with different scenarios like...i have three panorama 1,2,3
scenario:1
connections [1-->2 , 2-->1, 2-->3 , 3-->2]
scenario:2
connections [1-->2 , 2-->3]
but my problem still exists...
strong text
when i send my request initially -
'{"1":{"pose":{"latitude":"12.912440944324","longitude":"77.585632559827"},"heading":"4.45","connections":[2,3]},"2":{"pose":{"latitude":"12.912425081018","longitude":"77.58564121332"},"heading":"0","connections":1},"3":{"pose":{"latitude":"12.912453965825","longitude":"77.58561986013"},"heading":"2.15","connections":[1,4]},"4":{"pose":{"latitude":"12.912466987325","longitude":"77.585607160431"},"heading":"0","connections":[3,5]},"5":{"pose":{"latitude":"12.912480008826","longitude":"77.585594460732"},"heading":"0","connections":[4,6]},"6":{"pose":{"latitude":"12.912492712923","longitude":"77.585607494417"},"heading":"5.53","connections":[5,7]},"7":{"pose":{"latitude":"12.912505417019","longitude":"77.585620528104"},"heading":"9.8","connections":[6,8]},"8":{"pose":{"latitude":"12.912490918923","longitude":"77.585631414393"},"heading":"11.3","connections":[7,9]},"9":{"pose":{"latitude":"12.912476420827","longitude":"77.585642300682"},"heading":"10.93","connections":8},"10":{"pose":{"latitude":"12.912429059007","longitude":"77.585584619159"},"heading":"0","connections":11} } ' when i receive request from google street view API after nearly 24 hours
'{"1":{"pose":{"latitude":12.912440944324,"longitude":77.585632559827},"heading":4.449999809265137,"connections":[2,3]},"2":{"pose":{"latitude":12.912425081018,"longitude":77.58564121332},"connections":1},"3":{"pose":{"latitude":12.912453965825,"longitude":77.58561986013},"heading":2.1500000953674316,"connections":[1,4,2,8]},"4":{"pose":{"latitude":12.912466987325,"longitude":77.585607160431},"connections":[3,5,6,8]},"5":{"pose":{"latitude":12.912480008826,"longitude":77.585594460732},"connections":[4,6]},"6":{"pose":{"latitude":12.912492712923,"longitude":77.585607494417},"heading":5.53000020980835,"connections":[5,7,3,4,8]},"7":{"pose":{"latitude":12.912505417019,"longitude":77.585620528104},"heading":9.800000190734863,"connections":[6,8]},"8":{"pose":{"latitude":12.912490918923,"longitude":77.585631414393},"heading":11.300000190734863,"connections":[7,9,3,4]},"9":{"pose":{"latitude":12.912476420827,"longitude":77.585642300682},"heading":10.930000305175781,"connections":8} }'

You need to open the Street View App with your account and disable "Auto-connect 360 photos" in the settings. You may need to re-upload your connections to get rid of the automatically created connections.

Related

Low resolution Email Preview in Salesforce for marketing cloud connect emails

Question about Marketing Cloud Connect - In case of Individual Email Result in Salesforce, an email preview is sent from MC to SF object along with a thumbnail preview of the email template (as base64 encoded image). This thumbnail has two problems.
a. isn’t clear enough for the sales agent to see what was sent to customer
b. can’t find what offer percentage was given to customer as the preview has ampscript value instead of actual value.
There is no way to change the default configs of MCC to increase the thumbnail size. To solve this and improve the image resolution, I’ve thought of below solutions. Is there any other possible way that you’ve done?
From customer send log, take ‘view_email_url’ and get the html using a visual force page and remove all the ‘https://click…xx.com/’ links to ensure click/ open counts aren’t impacted. Downside - # of api calls to make are higher
For every email, create a jpg preview of the email template and store it in MC and store this in SF in a custom object as ‘EmailName vs EmailPreviewUrl’. And, whenever a marketer creates a new email, they have to ensure that they create a jpg copy in MC and update associated record in Saleforce custom object. Downside - sales agent will not know what % of offer is given to customer (ps - % of offer is decided in MC automation based on raw order information we’ve about this customer). To manage this downside, we can send the offer details of each customer to SF using updateSingleSalesforceObject method everytime an email is sent. To do this, all the campaigns should be standardized to some extend.
Any other thoughts? is there any configs that I can flip to increase the image size?
To answer this question, we ended up creating a cloudpage code resource (similar to API) that returns the complete HTML of 'view_email_url' (aka view as web page) for a given email + Subscriber + datesent + BU. We used SSJS to query sendLog DE using these inputs to figure out the view_email_url value. To avoid counting view_email_url opens to tracking opens, we wrapped the open counter pixel inside a context variable - something like below.
%%[
IF _messagecontext != 'VAWP' THEN
]%%
<custom name="opencounter" type="tracking" />
%%[ ENDIF ]%%

Data Studio Cannot Sum Numbers to Chart

I need help to create a chart of sum multiple sources in Google Data Studio. My sources are:
Google Search Console: Clicks
Google My Business: Phone Calls, Website Visits, and Direction Requests
Problem
The chart is not SUM-ing those numbers. See image below, the green line Combined Actions should be the SUM of all the 4 metrics I mentioned above. FYI I renamed the parameters to help me differentiate:
Site Search Clicks = GSC Clicks
Tebet Phone Calls = GMB Phone Calls
Tebet Website Visits = GMB Website Visits
Tebet Direction Requests = GMB Direction Requests
This is the formula I use
SUM(Clicks+Phone calls+Directions requests+Website visits)
This is the data source
I thought it was the number format that was corrupted, but if that's the case then why the individual chart is shown correctly? I can also draw each individual chart using SUM(Clicks), SUM(Phone calls), etc.
For Your Information, I have another chart in this page that works by summing:
Google Search Console: Impressions
Google My Business: Direct search impressions
So those 2 data metrics are working well.
Any help would be appreciated. Also let me know if you need any more context on this question. Thank you.
The issue is due to having NULL values (if there is no data for a single Metric at a single date in the SUM function, then that entire date row will be displayed as 0 in the Time Series chart); one approach is to incorporate the IFNULL function below which treats NULL values as the numeric literal 0:
SUM(IFNULL(Clicks, 0) + IFNULL(Phone Calls, 0) + IFNULL(Directions Requests, 0) + IFNULL(Website Visits, 0))
Editable Google Data Studio Report (Embedded Google Sheets Data Source) and a GIF to elaborate:

Planning calendar default one month view on mobile

Currently, I am developing an app in which users should be able to pick a date from the calendar. It works pretty much ok on desktop and also on mobile phone.
My problem is that the 'One Month' view is not reachable from mobile phones. What I need is to be able to have a similar view to the one shown below from my mobile phone.
I have already tried to PlanningCalendarView with intervalType="Month" but it just made it worse cause it shows the same appointments associated.
The “1 Month” option is not supported as intervalType for PlanningCalendarView.
But you can combine both your custom views ("Day" , "Week") and the already built in view for “1 Month”
by using the “builtInViews” property from PlanningCalendar.
Something like:
...
<PlanningCalendar
id="PC1"
startDate="{path: '/startDate'}"
rows="{path: '/people'}"
builtInViews="One Month"
...
<views>
<PlanningCalendarView
...
Please see also this Plunkr.

How do timeline items get removed?

I was playing with the sample app for glass api - sent a bunch of items to my timeline, but now I cant figure out how to remove them? Will they timeout on their own eventually?
Philosophically, the timeline is not a collection that you're intended to manage like an email inbox. The idea is that as new cards come in, old cards fade into the past.
But, to get into the specifics, the cards will decay. They will no longer appear on your Glass after 7 days, and will decay from your timeline collection in the Mirror API after 30 days.
Some words of warning, though. This decay property isn't part of the API specification, and it's subject to change, do don't depend on this property for any of your development.
Send a REST DELETE operation to the timeline item URL:
DELETE https://www.googleapis.com/mirror/v1/timeline/{id}
They will also expire after a while (currently 7 days on the client and 30 days on the server.)

Automate daily collection of weather station data from NCDc

Here is the link to where the data can be found. Scrolling down to Surface Data : Daily and selecting the Global and U. S. Web Page Icon. On the next page, Select the radio button Country and press continue. From the next page's drop down menu, select any state and then press the radio button for entire state (I need more than 100 stations per day).
The next page allows you to select the date range.
I am dumping these data files into excel and sorting (which is a pain, since it could obviously be
automated).
Is there a way I can access the most current data via a script (VBA or otherwise)?
My main problem is that I can't send the server a simple request to obtain the data. Also, there is an FTP site but only allows .gz files to be downloaded, each over a gig, so its not reasonable for my situation.
Any help would be appreciated!
There National Climatic Data Center has several data APIs available for this.

Resources