Terraformer Well-Known Text Parser
Two way conversion between GeoJSON and WKT. Part of the Terraformer project.
Installing
Node.js
$ npm install terraformer-wkt-parser
Browser
In the browser, Terraformer is required to be used as well.
$ bower install terraformer-wkt-parser
Documentation
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! -->
Resources
Issues
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Contributing
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Licensing
A copy of the license is available in the repository's LICENSE file.