73 Commits

Author SHA1 Message Date
Suhas Deshpande
d6bd7c5a66 add tests around mbTile SQKM calculation 2020-07-09 17:24:38 -07:00
Hannes Junnila
ea3550cd53 Update tests to match new metadata 2019-05-09 16:00:14 +08:00
Dane Springmeyer
a71a19ec40 support node v10 - test on all LTS version 2018-06-26 07:49:29 -07:00
jingsam
9e9a1ebbb9 Support sqlite mode flags (#73)
* Update mbtiles.js

* some reading

* remove seemingly unused/dead code

* core api functionality

* test note

* grids

* remove index test

* add tilelive example

* vNext

* follow sqlite3 URI filenames

* add mode test

* add mode test

* fix ci

* fix ci

* Update mbtiles.js

* follow sqlite3 URI filenames

* add mode test

* add mode test

* fix ci

* fix ci

* Update readme on mode flags
2018-03-27 11:23:48 -04:00
Andrew Pendleton
405d987716 Ditch inflateSync in favor of plain inflate; test iteration order; add d3-queue dep 2016-04-14 18:49:34 -04:00
Andrew Pendleton
4474634452 Improve error handling for geocoderDataIterator 2016-04-14 13:32:38 -04:00
Andrew Pendleton
d3845ea9f9 Add test of geocoderDataIterator 2016-04-14 13:24:27 -04:00
Young Hahn
f4f5b473a5 Cleanup after test 2015-10-29 15:43:16 -04:00
Young Hahn
da3c7327de Add (failing) test to show getGeocoderData handles missing table gracefully 2015-10-29 15:37:05 -04:00
Ryan Clark
b1b7b00d62 only list map records that include tile data in ZXYStream() 2015-04-23 15:44:07 -07:00
Ryan Clark
60121958ca test that fails without finalized statement 2015-03-09 22:22:16 -04:00
Young Hahn
62831d95bb Retain batch concept and return lines in groups of 1000 2015-01-16 13:22:41 -05:00
Young Hahn
ea292f20c9 Used prepared statement rather than batch/offset for zxystream. 2015-01-16 12:54:59 -05:00
Young Hahn
067db2ce70 Sketch of using map table + map index if present for zxystream. 2014-12-10 03:07:32 -05:00
Will White
9ce7d7381e Detect null or non-buffer tile. 2014-11-18 12:55:58 -05:00
Young Hahn
d7e02a5a2a Add (failing) test for spaces. Refs #45. 2014-11-13 09:13:39 -05:00
Will White
deca745520 Smaller batch size. 2014-11-10 20:41:15 -05:00
Young Hahn
cf72f04a70 Add (failing) test against sqlite db without tiles table. 2014-10-29 18:09:36 -04:00
Young Hahn
59a6360035 Add readable ZXYStream and createZXYStream method. Refs #42. 2014-10-29 17:11:59 -04:00
Young Hahn
5af33f6012 Deindent post tapification. 2014-09-30 12:24:47 -04:00
Young Hahn
2a0ec3d871 Use os.tmpdir() 2014-09-30 12:08:12 -04:00
Young Hahn
30a9c23ff7 Switch to tape. 2014-09-30 12:05:49 -04:00
Young Hahn
a375ae1df0 Add locking to mbtiles commits -- sqlite3 doesn't allow concurrent transactions. 2014-09-30 11:52:04 -04:00
Young Hahn
fd882f19ed Less precision on geocoder centroid tests. 2014-09-29 14:55:07 -04:00
Young Hahn
0ed1500ac1 Robustify geocoder indexing of legacy MBTiles sources. 2014-01-21 23:55:30 -05:00
Young Hahn
da8cc54128 Update getIndexableDocs for geojson handling in carmen. 2013-12-13 03:31:50 -05:00
Young Hahn
51c598ddac Add support for geocoder api (carmen dev). 2013-12-05 15:00:17 -05:00
Young Hahn
0c2ff3ed4e Add custom list property to tests. 2013-07-12 13:21:15 -04:00
Young Hahn
46f0b33bc8 Add support for nested json metadata. 2013-07-12 05:41:31 -04:00
Young Hahn
906d6a444d Remove Step, underscore dependencies from main module. 2013-07-12 05:25:03 -04:00
Young Hahn
f0714fe167 Higher timeout on info test. 2013-07-12 04:23:07 -04:00
Young Hahn
4cf1dcc173 Switch tests to mocha. 2013-07-12 04:22:00 -04:00
Will White
25c2a99d72 Return empty hash from list if directory doesn't exist.
Conflicts:

	test/list.test.js
2012-04-02 15:13:28 -04:00
Young Hahn
b5cbaf8cb1 Merge. 2012-03-07 04:55:26 -05:00
Young Hahn
08baba769b Merge branch 'master' into nosetup 2012-03-07 04:41:26 -05:00
Young Hahn
10f41ef2d1 Same fix for write.test.js. 2012-03-07 04:41:01 -05:00
Young Hahn
12e9371426 Merge branch 'master' into nosetup 2012-03-07 04:39:31 -05:00
Young Hahn
aa63292fdc Use readFileSync to avoid errors on low ulimit setups. 2012-03-07 04:35:56 -05:00
Young Hahn
cca4271aa3 Move setup step to #startWriting method. 2012-02-24 17:15:50 -05:00
Young Hahn
a2b64d2f23 Better syntax for date parsing. 2012-02-06 12:12:11 -05:00
Young Hahn
ca0ea39d34 Add tests for Tile, Grid headers. 2012-02-06 12:09:34 -05:00
Dane Springmeyer
cf427905fd update tests 2011-11-18 17:45:15 -08:00
Young Hahn
599c519447 Remove memory cache, file watcher. 2011-11-10 15:26:47 -05:00
Konstantin Käfer
fb30fb0ee5 fix hang after previous request failed 2011-09-20 22:45:23 +02:00
Will White
01c9552976 Add test of corrupt database. 2011-08-29 21:16:09 -04:00
Konstantin Käfer
1afaec43d7 add putInfo method 2011-07-18 19:45:17 +02:00
Konstantin Käfer
64888c7e56 fix handling of empty files 2011-07-18 16:36:11 +02:00
Konstantin Käfer
69ba7cbbb1 add reloading of database and test 2011-07-11 17:51:39 +02:00
Konstantin Käfer
c767df7ee6 remove race condition from parallel writing 2011-07-11 15:44:56 +02:00
Konstantin Käfer
bdb387ce10 add grid writing test 2011-07-07 22:54:25 +02:00