commit d0b005ce112dc782017032dff5cd8a6d84222244 Author: Tom Hughes <tom@compton.nu> Date: Sat Mar 2 14:56:05 2013 +0000 Patch out tests that rely on data of unknown providence diff --git a/test/data/world_extent_merc.geojson b/test/data/world_extent_merc.geojson index c507016..5207eef 100644 --- a/test/data/world_extent_merc.geojson +++ b/test/data/world_extent_merc.geojson @@ -1,5 +1,5 @@ { -"crs": { "type": "name", "properties": { "name": "epsg:900913" } }, +"crs": { "type": "name", "properties": { "name": "epsg:3857" } }, "type": "FeatureCollection", "features": [ { "type": "Feature", diff --git a/test/shapefile.3857.test.js b/test/shapefile.3857.test.js index 5ac6abc..1292695 100644 --- a/test/shapefile.3857.test.js +++ b/test/shapefile.3857.test.js @@ -103,18 +103,6 @@ describe('Mercator', function() { assert.equal(parsed.valid, expected.valid); }); - it('should detect 900913', function() { - var val = '+init=epsg:900913'; - var parsed = srs.parse(val); - assert.ok(parsed.proj4); - //assert.equal(parsed.proj4,''); - assert.equal(parsed.srid, expected.srid); - assert.equal(parsed.auth, expected.auth); - assert.equal(parsed.esri, expected.esri); - assert.equal(parsed.is_geographic, expected.is_geographic); - assert.equal(parsed.valid, expected.valid); - }); - it('should detect esri 900913', function() { var val = fs.readFileSync('./test/data/900913.esri.prj').toString(); var parsed = srs.parse(val);