Commit Graph

273 Commits

Author SHA1 Message Date
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
Will White 18a9d50e2f v0.7.6 2014-12-13 11:26:33 -05:00
Will White a8fee8bfd9 Merge pull request #49 from mapbox/multi-index
Query from `map` table with more than one index.
2014-12-13 11:25:39 -05:00
Will White aa5f688407 Query from map table with more than one index.
mbtiles files often have two indexes on the map table. This doesn't
impact our ability to do an optimized query against it for ZXYStream.
2014-12-13 11:13:13 -05:00
Young Hahn b09e1eb2b6 0.7.5 2014-12-10 16:32:52 -05:00
Young Hahn b720f77eeb Merge pull request #47 from mapbox/zxystream-use-index
Use map table + map index if present for zxystream
2014-12-10 16:32:00 -05:00
Young Hahn 3c0369a2ce Merge branch 'appveyor-debug' into zxystream-use-index 2014-12-10 03:11:59 -05:00
Young Hahn edf6bfbb36 What now appv. 2014-12-10 03:10:19 -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 bdfa6a65a4 v0.7.4 2014-11-18 12:59:52 -05:00
Will White 6216454a28 Merge pull request #46 from mapbox/null-tile
Detect null or non-buffer tile
2014-11-18 12:59:14 -05:00
Will White 9ce7d7381e Detect null or non-buffer tile. 2014-11-18 12:55:58 -05:00
Young Hahn 881fa9d315 0.7.3 2014-11-13 10:53:58 -05:00
Young Hahn 7a24f11cc6 Merge pull request #45 from mapbox/space-in-path-fix
fix error when mbtiles path contains a space
2014-11-13 10:53:12 -05:00
Young Hahn bcf0b2d40b Merge branch 'test-spaces' into space-in-path-fix 2014-11-13 09:17:03 -05:00
Young Hahn d7e02a5a2a Add (failing) test for spaces. Refs #45. 2014-11-13 09:13:39 -05:00
Tom Lee 9e0c85b03c fix error when mbtiles path contains a space
root cause is that qs.parse() unescapes URL components while url.parse() does not.
https://groups.google.com/forum/#!topic/nodejs/8P7GZqBw0xg
http://nodejs.org/api/querystring.html#querystring_querystring_unescape
2014-11-12 18:58:27 -05:00
Will White 12052a280d 0.7.2 2014-11-10 20:51:15 -05:00
Will White df215c37f0 Merge pull request #44 from mapbox/small-batch
Smaller batch size
2014-11-10 20:50:43 -05:00
Will White deca745520 Smaller batch size. 2014-11-10 20:41:15 -05:00
Young Hahn 03d3007400 0.7.1 2014-10-29 18:14:26 -04:00
Young Hahn 42b6a512b6 Add handling for err if tiles table does not exist. 2014-10-29 18:10:27 -04:00
Young Hahn cf72f04a70 Add (failing) test against sqlite db without tiles table. 2014-10-29 18:09:36 -04:00
Young Hahn 2d1dc14119 0.7.0 2014-10-29 17:38:28 -04:00
Young Hahn c9fce40a0c Merge pull request #43 from mapbox/zxystream
Add readable ZXYStream and createZXYStream method.
2014-10-29 17:33:15 -04:00
Young Hahn a7c5b40049 Changelog entry. 2014-10-29 17:31:12 -04:00
Young Hahn 85427f2ee9 Comment about 'batch' option. 2014-10-29 17:29:53 -04:00
Young Hahn 59a6360035 Add readable ZXYStream and createZXYStream method. Refs #42. 2014-10-29 17:11:59 -04:00
Young Hahn 5931bb739b 0.6.1 2014-09-30 12:25:23 -04:00
Young Hahn 5af33f6012 Deindent post tapification. 2014-09-30 12:24:47 -04:00
Young Hahn ae95a20327 Merge pull request #41 from mapbox/tape
Tape
2014-09-30 09:20:36 -07:00
Young Hahn 9f8dc64ef5 Merge pull request #40 from mapbox/committing-lock
Add locking to mbtiles commits
2014-09-30 09:17:41 -07:00
Young Hahn affc7efc4f Punt on node v0.11 on windows for now. 2014-09-30 12:17:14 -04:00
Young Hahn df58e13bc5 appveyor u r so cute 2014-09-30 12:11:56 -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 e44cd8b3ef Clear caches once -- at the beginning of the commit -- so more writes can be queued behind it. 2014-09-30 11:54:24 -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 8a7c3da9f3 0.6.0 2014-09-29 15:18:22 -04:00
Young Hahn 12d7a91e31 Add npmignore. 2014-09-29 15:17:36 -04:00
Young Hahn f6b14a2622 Leave v0.11 testing out for now. 2014-09-29 15:12:37 -04:00
Young Hahn c089c471d2 node v0.11 doesn't like mocha run... 2014-09-29 15:08:18 -04:00
Young Hahn 1c3df33d6d Use sudo:false in travis yml. 2014-09-29 15:04:04 -04:00
Young Hahn fd882f19ed Less precision on geocoder centroid tests. 2014-09-29 14:55:07 -04:00
Dane Springmeyer e543f4062a use sqlite3@3.0.0 and drop node v0.8.x support 2014-09-21 15:49:22 -07:00
John Firebaugh 5a68266e9f 0.5.0 2014-08-20 11:20:44 -07:00
John Firebaugh 40faaa3d15 Merge pull request #38 from mapbox/tiletype010
Update to tiletype 0.1.x
2014-08-20 11:18:29 -07:00
Young Hahn 99e1f03739 Update to tiletype 0.1.x 2014-08-20 07:45:15 -04:00
Dane Springmeyer 1a13179ffc Add appveyor/travis 2014-07-25 11:27:31 -07:00