Commit Graph

1073 Commits

Author SHA1 Message Date
Eric Fischer
f99d320253 Fix indent style 2015-08-21 14:27:41 -07:00
Eric Fischer
ea6775f124 Merge pull request #77 from mapbox/tile-join
Tool to join new CSV data to an existing tileset
2015-08-21 14:12:34 -07:00
Eric Fischer
88b9750959 Fix a bunch of compiler warnings 2015-08-21 10:33:57 -07:00
Eric Fischer
529c9aedc9 Join attributes from CSV into tiles 2015-08-20 17:32:58 -07:00
Eric Fischer
9a49534098 Parse the CSV 2015-08-20 16:45:45 -07:00
Eric Fischer
514da467e1 Only allow one input .mbtiles because multiple really won't work 2015-08-20 16:15:09 -07:00
Eric Fischer
06ca52526d Copy the bounding box, center, zoom range metadata over 2015-08-20 16:12:34 -07:00
Eric Fischer
f131987f9e Fix my pointer confusion around the global keys per layer 2015-08-20 15:48:11 -07:00
Eric Fischer
29fcbf244d Write each tile to the destination tileset 2015-08-20 15:15:47 -07:00
Eric Fischer
2e3f03172e Write out the JSON part of the metadata 2015-08-20 15:01:34 -07:00
Eric Fischer
ed378681e4 Making the string pool in the destination tile 2015-08-20 14:50:26 -07:00
Eric Fischer
863c9a5929 Retrieving keys and values 2015-08-20 14:27:39 -07:00
Eric Fischer
224321f6c8 Look up layers by name because the source mbtiles might be inconsistent 2015-08-20 13:42:24 -07:00
Eric Fischer
caafe2fe5c Checkpoint in copying data from one tileset to another 2015-08-20 13:02:34 -07:00
Alex Barth
86d5a542de Fix typo 2015-08-15 09:50:04 -04:00
Eric Fischer
9761010550 Downgrade no-features error to a warning 2015-08-11 16:55:54 -07:00
Eric Fischer
bc661ef3d5 Most of the way to handling GeometryCollections 2015-08-11 16:51:44 -07:00
Eric Fischer
b4339b2f75 Merge pull request #75 from mapbox/memleak
Fix memory leak when closing out tiles that had all features clipped away
2015-07-29 16:49:37 -07:00
Eric Fischer
a51ddbe180 Fix misspelling in ifdef 2015-07-29 16:46:56 -07:00
Eric Fischer
10e35c4300 Fix memory leak when closing out tiles that had all features clipped away 2015-07-29 16:45:41 -07:00
Eric Fischer
39cd5e210e Merge pull request #74 from mapbox/doc
Actually using the stock sqlite on MacOS
2015-07-28 12:49:54 -07:00
Eric Fischer
70d11cc335 Actually using the stock sqlite on MacOS 2015-07-28 12:48:49 -07:00
Eric Fischer
b115a07005 Merge pull request #73 from mapbox/doc
Clarify documentation for dependencies
2015-07-28 12:39:40 -07:00
Eric Fischer
26beada6bd Clarify documentation for dependencies 2015-07-28 12:38:35 -07:00
Eric Fischer
32179b7ad6 Merge pull request #72 from mapbox/manylayers
Don't crash if there are more than 128 layers
2015-07-27 16:21:24 -07:00
Eric Fischer
cc05f46fb7 Don't crash if there are more than 128 layers 2015-07-27 16:20:20 -07:00
Eric Fischer
b897712a10 Remove double-setting of thread task list 2015-07-23 16:24:50 -07:00
Eric Fischer
a64913c989 Move the data that threads will need into a parameter block 2015-07-23 16:17:23 -07:00
Eric Fischer
41faf3a5c2 Merge branch 'master' of https://github.com/mapbox/tippecanoe 2015-07-14 17:12:02 -07:00
Eric Fischer
e01ea076ed Fix double-free crash with unsupported property type 2015-07-14 17:11:34 -07:00
Eric Fischer
506c801c65 Merge pull request #67 from mapbox/overflow
Fix buffer overflow in length of temporary file names
2015-07-10 10:27:39 -07:00
Eric Fischer
9d25afa41f Fix buffer overflow in length of temporary file names 2015-07-10 10:26:23 -07:00
Eric Fischer
d55af3b3a6 Run through the thread task queues, although still sequentially 2015-07-09 16:14:24 -07:00
Eric Fischer
2957f16b4b Assign tasks (reading temporary files) to threads 2015-07-09 16:09:40 -07:00
Eric Fischer
2bdb51e995 Calculate how many threads should be run 2015-07-09 15:24:47 -07:00
Eric Fischer
5d4ab6df1b Merge branch 'master' into multithread 2015-07-08 16:36:58 -07:00
Eric Fischer
3452ee92ab Fix formatting 2015-07-08 16:35:02 -07:00
Eric Fischer
e5a6f981b7 Work out the sharding math for multhreading 2015-07-08 16:33:22 -07:00
Eric Fischer
9abf09eb7e Merge pull request #66 from mapbox/quiet
Add option to quiet the chatty progress indicators
2015-07-08 15:07:15 -07:00
Eric Fischer
138699d243 Add option to quiet the chatty progress indicators 2015-07-08 15:06:21 -07:00
Eric Fischer
3bc5a07e5b Merge pull request #65 from mapbox/skip
Skipping over zoom levels when there is a minzoom, and other performance improvements
2015-07-08 14:44:55 -07:00
Eric Fischer
e7b4443838 Enforce code style 2015-07-08 14:42:12 -07:00
Eric Fischer
0ff6819efb Merge branch 'skip' of https://github.com/mapbox/tippecanoe into skip 2015-07-08 12:26:01 -07:00
Eric Fischer
6fd72d4518 Remove vacuum step, which doesn't seem to make .mbtiles smaller in practice
yet takes time and temporary disk space to perform
2015-07-08 12:25:09 -07:00
Eric Fischer
c19c913bf9 Fix confusing error messages from sloppy copying and pasting of code 2015-07-08 11:52:22 -07:00
Eric Fischer
65f3737325 Use a hash table of binary trees for string pooling, not just a binary tree 2015-07-02 17:07:11 -07:00
Eric Fischer
1b72804358 Precalculate which child tiles a feature can overlap
instead of looping over them all
2015-07-01 15:17:35 -07:00
Eric Fischer
18cdcb0732 Drop linetos smaller than tile resolution before doing normal simplification
Since simplification is rather expensive
2015-07-01 12:16:50 -07:00
Eric Fischer
af13a95dc1 Shard the child tiles as widely as possible even if not skipping levels
to help future parallelization
2015-07-01 12:04:45 -07:00
Eric Fischer
b2fdcba6b0 Don't shrink string buffers before returning them as JSON objects.
It takes a little bit of time, and it's already not shrinking them
for number objects.
2015-06-30 17:21:48 -07:00