Well-Known Text parser
$ npm install terraformer-wkt-parser
In the browser, Terraformer is required to be used as well.
$ bower install terraformer-wkt-parser
For full documentation check out the offical website.
var wkt = ;// parse a WKT file, convert it into a terraformer primitivevar primitive = wkt;// take a terraformer primitive and convert it into a WKT representationvar polygon = wkt;
<!-- Load the main Terraformer library --><!-- Load the WKT Parser --><!-- Use it! -->
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.