├── .circleci └── config.yml ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bin ├── help └── mapbox-tile-copy.js ├── cloudformation └── travis.template ├── index.js ├── lib ├── get-uri.js ├── migration-stream.js ├── serialtilescopy.js ├── tile-stat-stream.js ├── tilelive-mapbox.js ├── tilelivecopy.js └── utils.js ├── package.json └── test ├── copy.serialtiles.test.js ├── copy.tilelive.test.js ├── executable.test.js ├── fixtures ├── fortythree.mbtiles ├── invalid-zxy.mbtiles ├── invalid.coords-out-of-range.geojson ├── invalid.corrupt.mbtiles ├── invalid.null-tile.mbtiles ├── invalid.serialtiles.gzipped.gz ├── invalid.serialtiles.noinfo.gz ├── invalid.tile-with-no-geometry.mbtiles ├── invalid.tilejson ├── reprojection │ ├── data.cpg │ ├── data.dbf │ ├── data.prj │ ├── data.qpj │ ├── data.shp │ └── data.shx ├── threenine.mbtiles ├── v2-throw.mbtiles ├── valid-v2.mbtiles ├── valid-v2.serialtiles.gzip.vector.gz ├── valid.bigtiff.tif ├── valid.bigtiff.tif.aux.xml ├── valid.bundle-layer-1.geojson ├── valid.bundle-layer-2.geojson ├── valid.geojson ├── valid.geotiff.tif ├── valid.mbtiles ├── valid.mini.geojson ├── valid.serialtiles.gz ├── valid.serialtiles.gzip.vector.gz ├── valid.tilejson └── valid.tm2z ├── get-uri.test.js └── index.test.js /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /test 2 | node_modules 3 | .DS_Store -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/README.md -------------------------------------------------------------------------------- /bin/help: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/bin/help -------------------------------------------------------------------------------- /bin/mapbox-tile-copy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/bin/mapbox-tile-copy.js -------------------------------------------------------------------------------- /cloudformation/travis.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/cloudformation/travis.template -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/index.js -------------------------------------------------------------------------------- /lib/get-uri.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/lib/get-uri.js -------------------------------------------------------------------------------- /lib/migration-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/lib/migration-stream.js -------------------------------------------------------------------------------- /lib/serialtilescopy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/lib/serialtilescopy.js -------------------------------------------------------------------------------- /lib/tile-stat-stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/lib/tile-stat-stream.js -------------------------------------------------------------------------------- /lib/tilelive-mapbox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/lib/tilelive-mapbox.js -------------------------------------------------------------------------------- /lib/tilelivecopy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/lib/tilelivecopy.js -------------------------------------------------------------------------------- /lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/lib/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/package.json -------------------------------------------------------------------------------- /test/copy.serialtiles.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/copy.serialtiles.test.js -------------------------------------------------------------------------------- /test/copy.tilelive.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/copy.tilelive.test.js -------------------------------------------------------------------------------- /test/executable.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/executable.test.js -------------------------------------------------------------------------------- /test/fixtures/fortythree.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/fortythree.mbtiles -------------------------------------------------------------------------------- /test/fixtures/invalid-zxy.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid-zxy.mbtiles -------------------------------------------------------------------------------- /test/fixtures/invalid.coords-out-of-range.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid.coords-out-of-range.geojson -------------------------------------------------------------------------------- /test/fixtures/invalid.corrupt.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid.corrupt.mbtiles -------------------------------------------------------------------------------- /test/fixtures/invalid.null-tile.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid.null-tile.mbtiles -------------------------------------------------------------------------------- /test/fixtures/invalid.serialtiles.gzipped.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid.serialtiles.gzipped.gz -------------------------------------------------------------------------------- /test/fixtures/invalid.serialtiles.noinfo.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid.serialtiles.noinfo.gz -------------------------------------------------------------------------------- /test/fixtures/invalid.tile-with-no-geometry.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid.tile-with-no-geometry.mbtiles -------------------------------------------------------------------------------- /test/fixtures/invalid.tilejson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/invalid.tilejson -------------------------------------------------------------------------------- /test/fixtures/reprojection/data.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /test/fixtures/reprojection/data.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/reprojection/data.dbf -------------------------------------------------------------------------------- /test/fixtures/reprojection/data.prj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/reprojection/data.prj -------------------------------------------------------------------------------- /test/fixtures/reprojection/data.qpj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/reprojection/data.qpj -------------------------------------------------------------------------------- /test/fixtures/reprojection/data.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/reprojection/data.shp -------------------------------------------------------------------------------- /test/fixtures/reprojection/data.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/reprojection/data.shx -------------------------------------------------------------------------------- /test/fixtures/threenine.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/threenine.mbtiles -------------------------------------------------------------------------------- /test/fixtures/v2-throw.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/v2-throw.mbtiles -------------------------------------------------------------------------------- /test/fixtures/valid-v2.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid-v2.mbtiles -------------------------------------------------------------------------------- /test/fixtures/valid-v2.serialtiles.gzip.vector.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid-v2.serialtiles.gzip.vector.gz -------------------------------------------------------------------------------- /test/fixtures/valid.bigtiff.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.bigtiff.tif -------------------------------------------------------------------------------- /test/fixtures/valid.bigtiff.tif.aux.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.bigtiff.tif.aux.xml -------------------------------------------------------------------------------- /test/fixtures/valid.bundle-layer-1.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.bundle-layer-1.geojson -------------------------------------------------------------------------------- /test/fixtures/valid.bundle-layer-2.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.bundle-layer-2.geojson -------------------------------------------------------------------------------- /test/fixtures/valid.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.geojson -------------------------------------------------------------------------------- /test/fixtures/valid.geotiff.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.geotiff.tif -------------------------------------------------------------------------------- /test/fixtures/valid.mbtiles: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.mbtiles -------------------------------------------------------------------------------- /test/fixtures/valid.mini.geojson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.mini.geojson -------------------------------------------------------------------------------- /test/fixtures/valid.serialtiles.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.serialtiles.gz -------------------------------------------------------------------------------- /test/fixtures/valid.serialtiles.gzip.vector.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.serialtiles.gzip.vector.gz -------------------------------------------------------------------------------- /test/fixtures/valid.tilejson: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.tilejson -------------------------------------------------------------------------------- /test/fixtures/valid.tm2z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/fixtures/valid.tm2z -------------------------------------------------------------------------------- /test/get-uri.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/get-uri.test.js -------------------------------------------------------------------------------- /test/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mapbox/mapbox-tile-copy/HEAD/test/index.test.js --------------------------------------------------------------------------------