MATLABの地図から位置情報を取得する方法

13 vues (au cours des 30 derniers jours)
Sakura
Sakura le 3 Déc 2021
Commenté : Sakura le 6 Déc 2021
恐らく初歩的な質問だと思いますが、調べても分からないことがあったので、教えていただきたいです。
webmapを使って、予め分かっている緯度経度を地図上にプロットする方法は分かっているのですが、地図上から位置を1つ選択し緯度経度を取得する方法を教えてください。また、その位置の標高を取得する方法があれば教えてください。
現在、webmapは国土地理院のを利用しています。→ webmap('KokudoMap (KokudoMap)')
よろしくお願いいたします。

Réponses (1)

Atsushi Ueno
Atsushi Ueno le 3 Déc 2021
ググったらimputm関数のドキュメントが出てきました。
でも、Mapping Toolboxが無く、ここのLive Scriptでも動かせないです(泣)
webmap
Error using map.webmap.Canvas
This functionality is not available on remote platforms.

Error in webmap (line 155)
wm = map.webmap.Canvas();
[lat, lon] = inputm
  1 commentaire
Sakura
Sakura le 6 Déc 2021
教えてくださって、ありがとうございます!
webmapではなく、figure上なら動くようです。(以下のようなエラーがありました。)
No axes in current figure
もう少し調べてみます。。

Connectez-vous pour commenter.

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!