File Exchange

image thumbnail


version (3.79 KB) by Alexander Layton
Convert Well-known text geometries to geostructs


Updated 17 Aug 2015

From GitHub

View Version History

View license on GitHub

WKT2GEOSTRUCT converts geometries in the Well-known text markup language to geostructs (or mapstructs). The structs it creates are the type used/created by functions from the Mapping Toolbox.

GEOSTRUCT2WKT as the name would suggest, does the inverse of WKT2GEOSTRUCT. It generates WKT representations of geostructs (or mapstructs).

Well-known text:

Supported shape types
WKT2GEOSTRUCT only supports a subset of the WKT format.Only 2 dimensional geometries without a linear reference are supported.
The supported types are:
* Point
* LineString
* Polygon
* MultiPoint
* MultiLineString
* MultiPolygon (not supported by geostruct2wkt atm)

Cite As

Alexander Layton (2021). WKT2GEOSTRUCT (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!