2014-09-26 60 views

回答

0

導入數據被覆蓋在自定義位置擴展User Guide。您將需要發送post請求發送附件。

一個最小的HTML網頁數據導入可以發現如下:

<!DOCTYPE html> 
    <html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
     <title>HERE - [Custom Location Service] - XML File Upload Example</title> 
    </head> 
    <body> 
     <h1>XML File Upload Example</h1> 
     <form action="http://stg.api.customlocation.nokia.com/v1/file/import/async/xml" enctype="multipart/form-data" method="post"> 
      <label>xmlfile</label> 
      <input type="file" name="xmlfile"><br/> 
      <input type="submit" value="Send"> 
     </form> 
     </body> 
    </html> 

層的管理是管理員用戶指南提供here描述。

+0

嗨賈森,我已經看到用戶指南的一部分與示例XML文件(http://developer.here.com/rest-apis/documentation/custom-location/topics/management-import-xml- async.html)但我不明白的是你如何首先創建一個圖層,以獲得一個圖層ID。然後,什麼是用戶名/密碼,是您的憑證(電子郵件/密碼)登錄在網站上或不同的憑據? – user1918864 2014-09-26 11:19:30

+0

在線HTML文檔只包含數據上傳和查詢。我認爲您需要查看[管理指南](http://developer.here.com/documentation/download/location_custom_nlp/1.6.5/Custom%20Location%20Extension%20v1.6.5%20User%20Guide.pdf )這是可用的PDF來配置用戶名和密碼 – 2014-09-26 12:14:53

0

噢,我看到...嗯,所以我需要一些憑據才能夠使用自定義位置服務創建新憑據...我已發送電子郵件到tcsplatfor[email protected],我希望我將獲得憑據儘快我正在等待測試我的應用程序。謝謝。

相關問題