Well-Known Text parser
This package is part of the Terraformer project.
A bare-bones WKT parser. Given a WKT primitive, it parses and returns a
$ 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 primitivevar primitive = wkt;// take a 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.