問題タブ [here-routing]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
geocoding - 速度制限の取得 Advanced Datasets API (aka PDE) がうまく機能しない
https://knowledge.here.com/csm_kb?id=public_kb_csm_details&number=KB0017817
速度制限を取得するためにこのドキュメントを参照しましたが、特定の場所ではうまく機能していません。私は正しいことをしているかどうかわかりません。
緯度: 34.9531064、経度: -82.4189515 の場合、この API を使用して ReferenceId の 33712897 を取得できました。 https://reverse.geocoder.ls.hereapi.com/6.2/reversegeocode.json?prox=34.97147,-104.89752&mode=retrieveAddresses&maxresults=1&apiKey={{YOUR_API_KEY}}&locationattributes=linkInfo
tile size = 180° / 2^level [degree] tileY = trunc((latitude + 90°) / tile size) tileX = trunc((longitude + 180°) / tile size)
この式を使用すると、レベルが 9 の場合に tileX で 277、tileY で 355 を取得できます。
しかし、 を呼び出した後https://pde.api.here.com/1/tiles.json?layers=SPEED_LIMITS_FC1&levels=9&tilexy=213,355&app_id={{YOUR_APP_ID}}&app_code={{YOUR_APP_CODE}}&meta=1&callback=onLoadPDETiles、応答で 33712897 ReferenceId を取得できません。その結果、その特定の場所の速度制限を取得できません。
私は何を間違えましたか?