kml2struct

버전 1.1.0.0 (1.95 KB) 작성자: James Slegers
Import a .kml file as a series of shapefile structs. Like kml_shapefile, but more stable.
다운로드 수: 8.4K
업데이트 날짜: 2012/6/8

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

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.

인용 양식

James Slegers (2024). kml2struct (https://www.mathworks.com/matlabcentral/fileexchange/35642-kml2struct), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Fixed description tag clipping, and the cell2double issue - both of which were mentioned by Stephen in the comments.

1.0.0.0