How to use the wkx.wkb 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 geometry collection from a GEOMETRY name', function() {
    var wkb = WKB.fromName('GEOMETRY');
    wkb.should.be.equal(wkx.wkb.GeometryCollection);
  });
github ngageoint / geopackage-js / test / lib / wkb / testWkb.js View on Github external
it('should get a MultiLineString from a wkx.Types.wkt.MultiLineString name', function() {
    var wkb = WKB.fromName(wkx.wkt.MultiLineString);
    wkb.should.be.equal(wkx.wkb.MultiLineString);
  });

wkx

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

MIT
Latest version published 4 years ago

Package Health Score

67 / 100
Full package analysis