terraformer-wkt-parser
Advanced tools
Comparing version 0.1.6 to 0.1.7
{ | ||
"name": "terraformer-wkt-parser", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Well-Known Text parser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,10 +9,12 @@ # Terraformer Well-Known Text Parser | ||
$ npm install terraformer-wkt | ||
$ npm install terraformer-wkt-parser | ||
## Usage | ||
var wkt = require('terraformer-wkt'); | ||
var wkt = require('terraformer-wkt-parser'); | ||
// parse a WKT file, convert it into a primitive | ||
var primitive = wkt.parse('LINESTRING (30 10, 10 30, 40 40)'); | ||
// take a primitive and convert it into a WKT representation | ||
var polygon = wkt.convert( | ||
@@ -19,0 +21,0 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52532
28