Eric Fischer
ea304d3a98
Split complex polygons into multiple features
2016-02-11 12:14:32 -08:00
Eric Fischer
c6ad34427a
Some work toward letting features have sub-geometries
2016-02-11 11:09:05 -08:00
Eric Fischer
e786379358
Fix warning and let the autoformatter do its thing
2016-01-28 15:35:22 -08:00
Eric Fischer
b17f8fc663
Stabilize map center and mbtiles filename to fix test flakiness
2016-01-28 14:38:10 -08:00
Eric Fischer
7aa27b7f4c
Make calculation of child tile overlap match clipping behavior.
...
Coordinates that are right on the tile boundary appear in both
adjacent tiles.
Make tippecanoe-decode also use exact edge coordinates instead of
half-pixel locations.
2016-01-20 13:58:17 -08:00
Eric Fischer
ffbddef756
Accurate feature count, more chatty base zoom determination, less chatty tiling
2016-01-11 13:11:21 -08:00
Eric Fischer
404bf69847
Give an error if -p or -a is used with an undefined option letter
2016-01-11 10:47:06 -08:00
Eric Fischer
93d0767829
Add an option to do line simplification only at zooms below maxzoom
2016-01-08 11:31:10 -08:00
Eric Fischer
1f8b6faec8
Simplify lines consistently on opposite sides of tile boundaries
2016-01-07 11:35:11 -08:00
Eric Fischer
c8573634e1
Track how many threads are active to calculate how many sub-threads to use
2016-01-05 13:56:36 -08:00
Eric Fischer
977533e449
Use multiple threads within a single tile for geometric simplification
2016-01-05 12:29:40 -08:00
Eric Fischer
228a4d6bb9
Make the geometric origin a per-reader property for thread safety
2015-12-22 16:58:27 -08:00
Eric Fischer
a8b39aa2ff
Merge branch 'master' into multithread-input2
2015-12-22 14:10:21 -08:00
Eric Fischer
bd081c864e
It tiles again!
2015-12-21 18:00:07 -08:00
Eric Fischer
de60545da8
Include the segment number in the serialized geometry
2015-12-21 17:21:18 -08:00
Dane Springmeyer
fee18cc31e
Add errno.h - refs #131
2015-12-20 15:13:33 -08:00
Eric Fischer
fee8b33bc8
Fix a place where it was still passing around maxzoom as basezoom
2015-12-15 12:08:07 -08:00
Eric Fischer
76de0c82d2
Further cleanup of minzoom- and maxzoom-related variable names
2015-12-15 12:00:05 -08:00
Eric Fischer
7372a2c4bc
Add basezoom parameter for dot-dropping, independent of maxzoom
2015-12-15 11:56:49 -08:00
Eric Fischer
a60a9238e5
Use integers instead of floating point for numeric attributes if possible
2015-12-14 15:45:57 -08:00
Eric Fischer
cf279940da
Don't simplify "unused" movetos from points. Don't write empty geometries.
2015-12-11 12:34:55 -08:00
Eric Fischer
256139b385
Clipping is faster with only one duplicate/shifted geometry copy
2015-12-08 16:57:04 -08:00
Eric Fischer
c832b34160
Better handling of features that cross the antimeridian
2015-12-03 13:12:34 -08:00
Eric Fischer
e1f4bdd36c
Check how many CPUs and filehandles there are instead of guessing
2015-11-11 16:10:39 -08:00
Eric Fischer
7f24cd6767
Don't produce layers with no features. Say "layer" instead of "name" in decode.
2015-11-02 14:03:45 -08:00
Eric Fischer
358e9cad5b
Use closepath for each polygon ring to match the vector tile spec
2015-10-28 14:34:57 -07:00
Eric Fischer
e554a121fb
Fix formatting
2015-10-20 12:03:49 -07:00
Eric Fischer
eb5c78482a
Bump version number and add changelog details
2015-10-20 12:01:10 -07:00
Eric Fischer
a38668a6da
Add volatile declaration to shared global variables
2015-10-20 10:15:02 -07:00
Eric Fischer
e4e14b2078
Link with -lpthread
2015-10-19 15:43:06 -07:00
Eric Fischer
965176f254
Make the progress indicator more aware of progress in other threads
2015-10-19 14:19:32 -07:00
Eric Fischer
56910fd016
Restore the error message when a tile can't be made small enough
2015-10-19 13:39:44 -07:00
Eric Fischer
3bb87227ec
Locking for map center
2015-10-19 13:32:02 -07:00
Eric Fischer
ef5fdf4036
Locking around the file keys
2015-10-19 13:26:47 -07:00
Eric Fischer
3da692250d
Remove unused argument
2015-10-19 13:11:00 -07:00
Eric Fischer
5d014e040f
Actually create threads and hand the tiling tasks off to them
2015-10-19 12:32:40 -07:00
Eric Fischer
3ad499fa44
Merge branch 'master' into multithread
...
Conflicts:
tile.cc
2015-10-19 10:31:13 -07:00
Eric Fischer
f64e2c94e2
Let Clipper clean up polygons again after scaling and simplification
2015-10-15 17:11:29 -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
c0480673c5
Add a tippecanoe-specific GeoJSON extension for feature minzoom and maxzoom.
2015-10-06 16:51:23 -07:00
Eric Fischer
763bc36563
Add const to fix the build
2015-09-15 13:23:34 -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
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
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
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