extract images linked in kml and convert to local

5 ビュー (過去 30 日間)
Justin Bell
Justin Bell 2022 年 10 月 19 日
回答済み: Aditya 2023 年 9 月 1 日
I am working with some kml files similar to some publically available ones (linked here) NOAA KMZ Data Sample The KMZ/KML mainly links to publicly available imagery and loads it from the web. This is great if you're somewhere with fast wifi, not great if you're traveling or have firewall issues.
I am trying to find a way to load them once, and then scrape the content to create a local copy. Storage space is not an issue. I have the mapping toolbox. Is there something in general or in Matlab that would allow this?

回答 (1 件)

Aditya
Aditya 2023 年 9 月 1 日
Hello Justin,
Here are few steps which you can follow to load and store the extracted images locally onto your system:
  1. Use the "xmlread" function to load the KML file and apply the appropriate functions to extract the required data.
  2. Utilize the "websave" function to save the images by providing the respective URLs.
For more information on these functions please refer to the following documentations:
Hope this helps!

カテゴリ

Help Center および File ExchangeImport, Export, and Conversion についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by