Commit Graph

50 Commits

Author SHA1 Message Date
Konstantin Käfer
ad1f87512f cast to number 2011-07-26 15:56:07 +02:00
Konstantin Käfer
0c177e1c35 make the batchsize configurable 2011-07-26 15:54:57 +02:00
Konstantin Käfer
e60dd402a6 Another bug found by @yhahn that lead to comitting too often 2011-07-26 15:44:39 +02:00
Konstantin Käfer
44e9c7ebf7 also set _pending to 0 to prevent calling COMMIT too frequently 2011-07-26 13:53:25 +02:00
Young Hahn
a294f350cb putInfo: Don't exit on invalid keys. 2011-07-25 12:12:27 -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
a0c816c691 check that the file is in write mode 2011-07-18 14:21:50 +02:00
Konstantin Käfer
84509fd0dd unwatch files when removing them from the cache 2011-07-13 21:58:11 +02:00
Konstantin Käfer
69ba7cbbb1 add reloading of database and test 2011-07-11 17:51:39 +02:00
Konstantin Käfer
a647e84431 convert to eventemitter format with caching 2011-07-08 21:40:40 +02:00
Konstantin Käfer
4abe725ed8 typo 2011-07-08 16:24:05 +02:00
Konstantin Käfer
0dc04d0840 support .. as well 2011-07-08 16:22:12 +02:00
Konstantin Käfer
732033fc5c add protocol register function 2011-07-08 16:03:16 +02:00
Konstantin Käfer
491f49570d allow using relative paths 2011-07-08 16:03:08 +02:00
Konstantin Käfer
c6dc413816 more docs 2011-07-07 23:16:18 +02:00
Konstantin Käfer
a1b02f2cf2 add docs and remove old write methods 2011-07-07 23:09:19 +02:00
Konstantin Käfer
1e38f3d1a9 fix errors 2011-07-07 22:54:10 +02:00
Konstantin Käfer
f244fe5517 refactor tile writing 2011-07-07 22:52:29 +02:00
Konstantin Käfer
c0fb0fd2a6 first shot at putTile 2011-07-07 21:04:11 +02:00
Konstantin Käfer
bce3cfcc58 rename non-public functions and variables to begin with an underscore 2011-07-07 15:10:26 +02:00
Konstantin Käfer
49d99af3bd fix for center 2011-07-06 14:17:14 +02:00
Konstantin Käfer
e4f47b91a2 load center 2011-07-06 13:53:06 +02:00
Konstantin Käfer
be5f442f7f add first new-world putTile() function 2011-07-05 19:27:44 +02:00
Konstantin Käfer
49cf70c0ab mbtiles are tms 2011-06-30 19:36:13 +02:00
Konstantin Käfer
3f4044a02b the header name is ETag, not E-Tag 2011-06-30 12:09:53 +02:00
Konstantin Käfer
c1c56a244f fix tests 2011-06-29 20:56:32 +02:00
Konstantin Käfer
096408f44e don't call the callback twice in case it fails
Conflicts:

	lib/mbtiles.js
2011-06-29 14:44:24 +02:00
Konstantin Käfer
b20f0937b8 change interface to XYZ 2011-06-28 20:11:35 +02:00
Konstantin Käfer
92fe4ae9db reformat 2011-06-28 18:09:12 +02:00
Konstantin Käfer
0e637e27e6 add size 2011-06-28 18:08:56 +02:00
Konstantin Käfer
f5c87a14fa pass header information with a .getTile() request 2011-06-28 16:47:23 +02:00
Konstantin Käfer
413ecb3b57 update bin/mb* utils 2011-06-28 15:12:56 +02:00
Konstantin Käfer
36bdc51821 change x, y, z, to z, x, y 2011-06-27 20:34:10 +02:00
Konstantin Käfer
d87ca40681 safe handling of malformed databases 2011-06-27 19:57:07 +02:00
Konstantin Käfer
9f08ae3e26 add tests with empty/non-existent database 2011-06-27 19:39:41 +02:00
Konstantin Käfer
e643a5bbc0 change tests to new interface 2011-06-27 19:29:08 +02:00
Konstantin Käfer
4a8b9ad111 use new tilesource interface 2011-06-27 15:31:56 +02:00
Konstantin Käfer
4d8da2dbae Merge branch 'master' of github.com:mapbox/node-mbtiles into tilelive-refactoring
Conflicts:
	lib/mbtiles.js
2011-06-27 09:34:32 +02:00
Konstantin Käfer
fc8164249e add missing require 2011-06-24 10:01:56 +02:00
Konstantin Käfer
19cf7bee5d add dependency to sphericalmercator so that we can move the .info method to mbtiles 2011-06-24 09:56:45 +02:00
Will White
c0ed6d34ec Return proper "not found" error when utfgrid tables are missing. 2011-06-23 13:43:05 -04:00
Konstantin Käfer
c5660f598d first stab at online tiles 2011-06-21 21:45:38 +02:00
Konstantin Käfer
6fe47f5fa9 return real error objects 2011-06-21 16:39:14 +02:00
Young Hahn
528fdf2625 Add mbcheck. 2011-05-19 14:42:17 -04:00
Konstantin Käfer
14d969e810 add grid tests and return error with invalid grid 2011-05-13 15:51:52 -04:00
Konstantin Käfer
9cb9ad771d forward zlib decompression errors instead of failing hard 2011-05-12 16:24:40 -04:00
Young Hahn
f92d754816 Fix bad var. 2011-05-12 16:07:24 -04:00
Young Hahn
aed3fb1d8a Simplify, update for tilelive batch rendering API. 2011-05-10 23:30:54 -04:00
Young Hahn
03d2d4eb47 Initial commit of tilelive-mbtiles 2011-05-06 21:11:30 -04:00