How to use the wkx.wkt function in wkx

To help you get started, we’ve selected a few wkx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ngageoint / geopackage-js / test / lib / wkb / testWkb.js View on Github external
it('should get a Polygon from a wkx.Types.wkt.Polygon name', function() {
    var wkb = WKB.fromName(wkx.wkt.Polygon);
    wkb.should.be.equal(wkx.wkb.Polygon);
  });
github ngageoint / geopackage-js / test / lib / wkb / testWkb.js View on Github external
it('should get a point from a wkx.Types.wkt.Point name', function() {
    var wkb = WKB.fromName(wkx.wkt.Point);
    wkb.should.be.equal(wkx.wkb.Point);
  });

wkx

A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer

MIT
Latest version published 5 years ago

Package Health Score

67 / 100
Full package analysis