Commit Graph

588 Commits

Author SHA1 Message Date
Eric Fischer
1602574647 Bump version number 2016-01-20 14:53:58 -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
45043922e7 Merge pull request #150 from mapbox/stream-parallel
Chunked parallel reading of input streams
2016-01-12 14:29:39 -08:00
Eric Fischer
872df4bd9f Bump version number 2016-01-12 14:27:05 -08:00
Eric Fischer
83322d8e35 Guard against unlikely overflow 2016-01-12 14:16:17 -08:00
Eric Fischer
ecae14e2d4 Stabilize feature order between the different reading methods 2016-01-12 14:12:56 -08:00
Eric Fischer
ca97c5ec6d Update docs 2016-01-12 12:36:12 -08:00
Eric Fischer
e4afaa7a27 Renaming in the hope of clarity 2016-01-12 12:31:17 -08:00
Eric Fischer
0680236e46 Fix warning 2016-01-12 12:18:05 -08:00
Eric Fischer
9d6ece5bbc Buffered reading makes it faster than the single-threaded version 2016-01-12 11:47:46 -08:00
Eric Fischer
333956ce42 Fix crashes 2016-01-11 17:29:06 -08:00
Eric Fischer
2d16577945 Starts but crashes 2016-01-11 16:52:45 -08:00
Eric Fischer
132b7ecd12 Factor out parallel reading; start to set up semi-parallel reading 2016-01-11 16:06:55 -08:00
Eric Fischer
29db0e8988 Merge pull request #149 from mapbox/fix-progress
Progress indicator improvements
2016-01-11 13:27:36 -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
20bd661693 Merge pull request #148 from mapbox/option-check
Give an error if -p or -a is used with an undefined option letter
2016-01-11 12:25:30 -08:00
Eric Fischer
a597733a01 Fix the build 2016-01-11 11:00:23 -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
502d269143 Merge pull request #145 from mapbox/fix-layer-merge
Fix the layer number for layers being merged together
2016-01-08 13:28:31 -08:00
Eric Fischer
43c9bb705d Fix the layer number for layers being merged together 2016-01-08 13:26:56 -08:00
Eric Fischer
581728f157 Merge pull request #143 from mapbox/limit-simplify
Add an option to do line simplification only at zooms below maxzoom
2016-01-08 11:55:23 -08:00
Eric Fischer
b05478787b Bump version number 2016-01-08 11:54:14 -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
5e02bdd90a Merge pull request #142 from mapbox/consistent-clip
Simplify lines consistently on opposite sides of tile boundaries
2016-01-07 11:51:58 -08:00
Eric Fischer
1f8b6faec8 Simplify lines consistently on opposite sides of tile boundaries 2016-01-07 11:35:11 -08:00
Eric Fischer
e1e028b865 Merge pull request #141 from mapbox/multithread-low-zooms
Multithread line simplification and polygon cleaning at low zooms
2016-01-06 14:41:00 -08:00
Eric Fischer
22293ca6e8 Bump version number 2016-01-06 13:29:59 -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
f43d18eb73 Bring back the old simple polygon clipping algorithm 2016-01-04 17:31:33 -08:00
Eric Fischer
32111af79d Merge pull request #136 from mapbox/multithread-input2
Multithreaded input
2016-01-04 17:29:25 -08:00
Eric Fischer
1d77261509 Bump version number 2016-01-04 17:20:38 -08:00
Eric Fischer
2b378ceb9f Use multiple threads to sort the features 2016-01-04 14:45:34 -08:00
Eric Fischer
b39a1714c0 Merge remote-tracking branch 'origin/master' into multithread-input2 2015-12-22 17:04:32 -08:00
Eric Fischer
228a4d6bb9 Make the geometric origin a per-reader property for thread safety 2015-12-22 16:58:27 -08:00
Dane Springmeyer
76cf1f8951 Merge pull request #135 from mapbox/build-inherit
Inherit CXX,CC,CFLAGS,CXXFLAGS,LDFLAGS from env
2015-12-22 16:33:22 -08:00
Eric Fischer
2fd00413cf Clean up progress indicator and feature sequence 2015-12-22 16:29:45 -08:00
Dane Springmeyer
8e3f8b8dc3 inherit CXX,CC,CFLAGS,CXXFLAGS,LDFLAGS from env 2015-12-22 16:26:24 -08:00
Eric Fischer
02cf4d46ad Close files that were being left open 2015-12-22 15:42:51 -08:00
Eric Fischer
fde3aa45de Make parallel reading a command-line option 2015-12-22 14:58:19 -08:00
Eric Fischer
ca4d1beb7c Guard against trying to map an empty string pool into memory 2015-12-22 14:27:38 -08:00
Eric Fischer
a8b39aa2ff Merge branch 'master' into multithread-input2 2015-12-22 14:10:21 -08:00
Eric Fischer
40ec317c36 Launch a separate thread to read each segment 2015-12-22 14:02:31 -08:00
Eric Fischer
f290794f22 Bump version number 2015-12-22 10:40:13 -08:00
Eric Fischer
a9ad1d99df Merge pull request #134 from mapbox/fixshards
Round the number of threads to use down to a power of 2
2015-12-22 10:35:22 -08:00
Eric Fischer
edd325e338 Round the number of threads to use down to a power of 2
Since other calculations depend on this being true
2015-12-22 10:33:08 -08:00
Eric Fischer
bd081c864e It tiles again! 2015-12-21 18:00:07 -08:00
Eric Fischer
aaf9e87bce Reassemble the combined string pool and metadata files 2015-12-21 17:46:04 -08:00
Eric Fischer
de60545da8 Include the segment number in the serialized geometry 2015-12-21 17:21:18 -08:00
Eric Fischer
1f335eec44 Get rid of a global I had forgotten about 2015-12-21 17:00:07 -08:00