我想從Google表格中的其餘網址中獲取一行。從谷歌表格中的REST服務導入數據
當我嘗試
=IMPORTDATA("https://imageryuploader.geoplatform.gov/arcgis/rest/services/ImageEvents/MapServer/1/query?text=A0016-4646&outFields=EXIFPhotoDate")
我得到整個代碼塊的頁面
我得到NA爲=IMPORTHTML("https://imageryuploader.geoplatform.gov/arcgis/rest/services/ImageEvents/MapServer/1/query?text=A0016-4646&outFields=EXIFPhotoDate", "list",1)
如果我只是把https://imageryuploader.geoplatform.gov/arcgis/rest/services/ImageEvents/MapServer/1/query?text=A0016-4646&outFields=EXIFPhotoDate
到瀏覽器中,我得到
記錄:2
EXIFPhotoDate:1506173228000點:X:-66.61147999999997 Y: 18.279028333000042
EXIFPhotoDate:1506173228000點:X:-66.61147999999997 Y: 18.279028333000042
我想創建,我們有
一個谷歌片第A列 - 圖像名稱, 並在B列中使用= IMPORTHTML(「https://imageryuploader.geoplatform.gov/arcgis/rest/services/ImageEvents/MapServer/1/query?text=A0016-4646&outFields=EXIFPhotoDate」,「list」,1)或類似的東西,並獲得UNIX D/T。 最後,在C列中,它應該放入dd/mm/yyyy和24 UTC時間的D中。
感謝Convert Exif date to different format我有轉換unix d/t的公式。
如果谷歌表不能做到這一點,樂於使用EXCEL或Python 2.7
樣品GSheet是https://docs.google.com/spreadsheets/d/1Ff-gohRIkumpxqSeEVKyGq6PPEP542PJSB1vBIzI1jA/edit#gid=0