Eric Fischer
0058360cde
Use 4096-unit tiles as much as possible to keep GL happy
2015-10-27 12:22:18 -07:00
Eric Fischer
3da692250d
Remove unused argument
2015-10-19 13:11:00 -07:00
Eric Fischer
3ad499fa44
Merge branch 'master' into multithread
...
Conflicts:
tile.cc
2015-10-19 10:31:13 -07:00
Eric Fischer
5dc9f50345
Clean up polygon generation and clipping. Make sure winding order is correct.
2015-10-07 16:52:52 -07:00
Eric Fischer
6767aa7a5c
Add documentation. Be lenient about zooms as numbers vs strings.
2015-10-07 13:54:31 -07:00
Eric Fischer
c0480673c5
Add a tippecanoe-specific GeoJSON extension for feature minzoom and maxzoom.
2015-10-06 16:51:23 -07:00
Eric Fischer
5ef4ea4b27
Detect and parse bare GeoJSON geometries that aren't part of a Feature
2015-09-25 17:28:15 -07:00
Eric Fischer
5ab2673b8c
Add a flag to preserve the original order of the features from the input
2015-09-14 15:42:06 -07:00
Eric Fischer
601c092883
Merge branch 'master' into multithread
...
Conflicts:
tile.cc
2015-09-14 10:52:58 -07:00
Eric Fischer
541d3518c2
Change some defaults that keep tripping people up:
...
* Default detail with low -z is only 13, so it works with GL
* No coalescing, line-reversing, or reordering by attributes except by request
* Dropping lines like points moves from -d to -a
2015-08-27 16:04:37 -07:00
Eric Fischer
d9974d3cc7
Merge pull request #78 from mapbox/geometrycollection
...
Support GeometryCollection input
2015-08-25 13:17:57 -07:00
Eric Fischer
f99d320253
Fix indent style
2015-08-21 14:27:41 -07: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
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
cc05f46fb7
Don't crash if there are more than 128 layers
2015-07-27 16:20:20 -07:00
Eric Fischer
e01ea076ed
Fix double-free crash with unsupported property type
2015-07-14 17:11:34 -07:00
Eric Fischer
5d4ab6df1b
Merge branch 'master' into multithread
2015-07-08 16:36:58 -07:00
Eric Fischer
e5a6f981b7
Work out the sharding math for multhreading
2015-07-08 16:33:22 -07:00
Eric Fischer
138699d243
Add option to quiet the chatty progress indicators
2015-07-08 15:06:21 -07:00
Eric Fischer
767a581874
Inline the I/O in the long long serialization loop
2015-06-30 16:47:25 -07:00
Eric Fischer
efe3c62bb1
Start breaking the assumption that the next zoom is exactly 1 deeper
2015-06-29 16:16:38 -07:00
Eric Fischer
62052cafab
Move zoom traversal into C++
2015-06-19 17:29:56 -07:00
Eric Fischer
e6c5aa9bfe
Oops. Make sure that 0 stays 0 even when swizzling
2015-06-19 15:53:09 -07:00
Eric Fischer
e6997b00ff
Swizzle the string comparison so it's not pathological if input is presorted
2015-06-19 15:49:51 -07:00
Eric Fischer
498e723563
Yet another temp file, for the tree of pointers into the string pool
2015-06-18 16:30:51 -07:00
Eric Fischer
dc3021656e
Build the string pool in an appendable memory map, not the normal heap
2015-06-18 16:13:37 -07:00
Eric Fischer
d96dee8dad
Fix formatting again
2015-06-18 14:47:29 -07:00
Eric Fischer
a185073f0a
Shrink the geometry by shaving off bits below the maxzoom tile resolution
2015-06-18 14:16:16 -07:00
Eric Fischer
a1d3ecf9bb
Save another byte per attribute by moving the type to the string pool
2015-06-18 12:12:20 -07:00
Eric Fischer
1a44538bdf
Use the first coordinates of the first feature as the origin for deltas
2015-06-18 10:52:01 -07:00
Eric Fischer
46626e4f08
Delta encoding for motion within features
2015-06-17 17:48:29 -07:00
Eric Fischer
725ea71e57
Fix formatting
2015-06-17 17:30:17 -07:00
Eric Fischer
cde1e60603
Use a string pool to avoid duplicating keys and values
2015-06-17 17:18:08 -07:00
Eric Fischer
55e93a5d37
Use variable-length zigzag for ints and long longs
2015-06-17 16:46:36 -07:00
Eric Fischer
8a1f0d83e1
Consistent indent style with clang-format
2015-06-03 11:22:13 -07:00
Eric Fischer
34b00eca73
Merge pull request #50 from mapbox/gl4096
...
Add a command line option to specify the minimum allowed tile extent
2015-06-03 11:11:16 -07:00
Eric Fischer
70291f0415
Merge pull request #51 from mapbox/fitsample
...
Flag to drop as many features as necessary to keep tiles under the size limit
2015-06-03 11:10:54 -07:00
Eric Fischer
bc2f243f0b
Add a command line option to specify the minimum allowed tile extent
2015-06-01 15:01:46 -07:00
Tom MacWright
95997b50c4
Add tippecanoe -v
2015-05-29 10:50:11 -04:00
Tom MacWright
ce6a1aac88
Only error if minzoom is truly greater, not just equal
2015-05-29 10:33:44 -04:00
Tom MacWright
a0693446d5
Add check that min is less than max. Fixes #40
2015-05-28 13:21:38 -04:00
Eric Fischer
38dc80ec68
Fix a place that wasn't checking for disk write errors
2015-05-20 18:04:34 -07:00
Eric Fischer
167ec690a0
Warn if no Features have been seen after 50 JSON hashes are closed.
2015-04-17 10:48:03 -07:00
Eric Fischer
d64328ac35
Fix crash when encoding boolean properties.
2015-04-10 13:03:11 -07:00
Eric Fischer
4041811372
Add flags to disable simplification/coalescing/limits when unwanted
2015-04-10 11:36:30 -07:00
Eric Fischer
fd8de691eb
Fix layer name crash when reading from the standard input
2015-03-25 14:07:34 -07:00
Eric Fischer
a076c5619d
Merge remote-tracking branch 'origin/master' into multilayer
2015-03-25 13:54:29 -07:00
Eric Fischer
86925eea4c
Write out geometries for all layers
2015-03-24 17:07:51 -07:00