Remove lint
This commit is contained in:
@@ -979,27 +979,8 @@ describe('ol/format/WKB.js', function () {
|
||||
it('returns the default projection', function () {
|
||||
const wkb = new Uint8Array([
|
||||
// POINT(1 2)
|
||||
0x01,
|
||||
0x01,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0xf0,
|
||||
0x3f,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x40,
|
||||
0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0,
|
||||
0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40,
|
||||
]);
|
||||
const projection = format.readProjection(wkb);
|
||||
expect(projection).to.be(undefined);
|
||||
@@ -1008,30 +989,8 @@ describe('ol/format/WKB.js', function () {
|
||||
it('returns an embed projection', function () {
|
||||
const wkb = new Uint8Array([
|
||||
// SRID=4326;POINT(1 2)
|
||||
0x01,
|
||||
0x01,
|
||||
0x00,
|
||||
0x00,
|
||||
0x20,
|
||||
0xe6,
|
||||
0x10,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0xf0,
|
||||
0x3f,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x01, 0x01, 0x00, 0x00, 0x20, 0xe6, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0xf0, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x40,
|
||||
]);
|
||||
const projection = format.readProjection(wkb);
|
||||
@@ -1066,27 +1025,8 @@ describe('ol/format/WKB.js', function () {
|
||||
it('transforms with dataProjection and featureProjection', function () {
|
||||
const wkb = new Uint8Array([
|
||||
// POINT(1 2)
|
||||
0x01,
|
||||
0x01,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0xf0,
|
||||
0x3f,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x40,
|
||||
0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0,
|
||||
0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40,
|
||||
]);
|
||||
const geom = format.readGeometry(wkb, {
|
||||
dataProjection: 'EPSG:4326',
|
||||
@@ -1100,30 +1040,8 @@ describe('ol/format/WKB.js', function () {
|
||||
it('transforms with auto detection of dataProjection', function () {
|
||||
const wkb = new Uint8Array([
|
||||
// SRID=4326;POINT(1 2)
|
||||
0x01,
|
||||
0x01,
|
||||
0x00,
|
||||
0x00,
|
||||
0x20,
|
||||
0xe6,
|
||||
0x10,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0xf0,
|
||||
0x3f,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x00,
|
||||
0x01, 0x01, 0x00, 0x00, 0x20, 0xe6, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x00, 0x00, 0x00, 0xf0, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
0x40,
|
||||
]);
|
||||
const geom = format.readGeometry(wkb, {
|
||||
|
||||
Reference in New Issue
Block a user