kml2struct(kmlFile) - Schema Aware

Adds automatic field creation for the SimpleField Schema

現在この提出コンテンツをフォロー中です。

Import a Google Earth .kml file of points, lines, polygons, or a combination, as a Matlab struct, compatible with the Mapping Toolbox features, and with shapefiles imported with shaperead().
Structs are composed of the following fields:

- Geometry
- Name
- Description
- Lon
- Lat
- BoundingBox

Mapping Toolbox polygons require a clockwise convention to specify between negative and positive areas. These are not specified in .kml files, so all polygons are converted to clockwise orientation to guarantee that they represent positive space.

Also identifies basic fields specified by the schema and populates them in the structure. This feature may take some customization to your schema.

引用

Lex Lombardi (2026). kml2struct(kmlFile) - Schema Aware (https://jp.mathworks.com/matlabcentral/fileexchange/50148-kml2struct-kmlfile-schema-aware), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: kml2struct

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0