Commit Graph

1107 Commits

Author SHA1 Message Date
Eric Fischer
6a2e80769e Choose a deeper initial tile than 0/0/0 if one contains all the features 2016-12-16 12:22:38 -08:00
Eric Fischer
78d91b3fde Merge pull request #333 from mapbox/wagyu-clean
Switch polygon topology correction from Clipper to Wagyu
2016-12-14 16:13:31 -08:00
Eric Fischer
275d25739d Update to wagyu-0.2.1 (eec53a6) 2016-12-14 14:14:55 -08:00
Eric Fischer
b3c116b989 Merge branch 'master' into wagyu-clean 2016-12-14 11:12:07 -08:00
Eric Fischer
5549789da5 Merge pull request #338 from mapbox/warnings
Fix warnings identified by g++
2016-12-14 11:11:29 -08:00
Eric Fischer
56e1f55bb6 Fix warnings identified by g++ 2016-12-13 17:54:55 -08:00
Eric Fischer
3e4fcd22ec Merge pull request #337 from mapbox/sanitize-integer
Fix integer overflow identified by -fsanitize=integer
2016-12-13 17:28:27 -08:00
Eric Fischer
d7d5bed781 Remove duplicate vertices before calling wagyu 2016-12-13 16:55:33 -08:00
Eric Fischer
af3d48e5b3 Fix integer overflow identified by -fsanitize=integer 2016-12-13 16:19:38 -08:00
Eric Fischer
ce3ffee8ff Merge pull request #336 from mapbox/tile-join-fixes
Don't allow two attributes with the same name, and strip \r from CSV.
2016-12-13 15:24:15 -08:00
Eric Fischer
f928133993 Don't allow two attributes with the same name, and strip \r from CSV. 2016-12-13 14:35:51 -08:00
Eric Fischer
a4f5406cfb Switch polygon topology correction from Clipper to Wagyu 2016-12-07 14:29:09 -08:00
Eric Fischer
22cb5186d7 Copy of wagyu-0.2.0 (b3fa127) 2016-12-07 14:14:56 -08:00
Eric Fischer
c0d5171f1d Copy of geometry.hpp-0.9.0 (e3acceb) 2016-12-07 14:11:53 -08:00
Eric Fischer
89bfd27a8b Copy of variant-1.1.4 (02bd1ac) 2016-12-07 14:09:51 -08:00
Dane Springmeyer
bdd2632fb7 clean all binary programs 2016-12-06 16:52:37 -08:00
Eric Fischer
785d341cde Merge pull request #331 from mapbox/no-dropping-if-zoom-tagged
Dot-dropping doesn't apply if there is a per-feature minzoom tag
2016-12-06 16:03:00 -08:00
Eric Fischer
e8c5759f70 Dot-dropping doesn't apply if there is a per-feature minzoom tag 2016-12-06 15:36:10 -08:00
Eric Fischer
afa782fb7f Merge pull request #328 from mapbox/grid-snap-rounding
Round coordinates in low-zoom grid instead of truncating
2016-11-30 14:31:23 -08:00
Eric Fischer
f6d5d1803b Round coordinates in low-zoom grid instead of truncating
To avoid rounding error if features are already tile-grid-aligned
2016-11-29 15:18:44 -08:00
Eric Fischer
ab9eafa0b7 Merge pull request #325 from mapbox/gridded
Option to snap low zooms to a stairstep grid
2016-11-29 13:59:15 -08:00
Eric Fischer
f1ff7301c1 Add a test for grid snapping 2016-11-28 16:32:54 -08:00
Eric Fischer
0db8d9ed8b Option to snap low zooms to a stairstep grid 2016-11-28 15:45:38 -08:00
Eric Fischer
c68d553e94 Merge pull request #323 from mapbox/point-area
Stop --drop-smallest-as-needed from always dropping all points
2016-11-23 15:10:25 -08:00
Eric Fischer
c867ce5f32 Stop --drop-smallest-as-needed from always dropping all points 2016-11-23 13:57:32 -08:00
Eric Fischer
2d022c6c57 Merge pull request #312 from mapbox/dynamic-gamma
Add an option to dynamically increase gamma until tiles are small enough
2016-11-21 14:33:23 -08:00
Eric Fischer
bedace67e7 Remove --merge-polygons-as-needed until it works well. Bump version. 2016-11-21 13:36:31 -08:00
Eric Fischer
e9aa8c1b7d Add an option to prevent tiny polygon reduction 2016-11-21 11:26:37 -08:00
Eric Fischer
dc9e68b128 Make feature-dropping option names a little more consistent 2016-11-17 12:40:11 -08:00
Eric Fischer
5479e59aa9 Save another byte in features that have no metadata 2016-11-17 10:11:59 -08:00
Eric Fischer
439b544c8c Don't serialize the feature sequence number unless needed for -pi 2016-11-16 17:35:25 -08:00
Eric Fischer
a69a087b08 Merge pull request #319 from jingsam/patch-1
Create .gitignore
2016-11-16 10:25:26 -08:00
jingsam
eb1c724fc4 Create .gitignore 2016-11-16 16:10:41 +08:00
Eric Fischer
9ea29601ab Don't let line simplification reduce a polygon ring to below 3 points 2016-11-14 11:22:21 -08:00
Eric Fischer
32aa653082 Don't spend geometry space on index or extent unless it is needed 2016-11-11 17:37:46 -08:00
Eric Fischer
013e6512b4 Add an option to drop the smallest features to make tiles small enough 2016-11-09 17:09:05 -08:00
Eric Fischer
38ce49d2d4 Another option for plain fractional dropping, but across the whole zoom 2016-11-04 12:26:13 -07:00
Eric Fischer
ee48be26e0 Rename -k to -M before I regret that the unit for it is not kilobytes 2016-11-04 11:15:53 -07:00
Eric Fischer
700ca489c7 Fix flakiness: don't decrease the global feature gap 2016-11-03 17:49:32 -07:00
Eric Fischer
a8bdbe8012 Fix the progress indicator when doing two passes over each zoom level 2016-11-03 17:13:11 -07:00
Eric Fischer
689f2ef7e9 Make better guesses about what gap will make a tile small enough 2016-11-02 16:57:35 -07:00
Eric Fischer
2e3ba8f374 Retain original feature index rather than recalculating
For better density calculation of clipped features
2016-11-02 15:11:22 -07:00
Eric Fischer
d0db3323fb Binary search to find gap that leaves the desired fraction of features 2016-11-02 14:25:04 -07:00
Eric Fischer
faa5720e3b Remove dead code 2016-11-01 16:31:45 -07:00
Eric Fischer
2e026f9b3b Use float instead of double in tiles if the value comes out the same 2016-10-27 14:37:46 -07:00
Eric Fischer
0834626d63 More careful JSON parsing thanks to http://seriot.ch/parsing_json.html 2016-10-27 11:39:50 -07:00
Eric Fischer
80e5159144 Remove dead code 2016-10-26 16:00:59 -07:00
Eric Fischer
7e6aa19d42 Make sure memfile growth gets tested 2016-10-26 15:57:24 -07:00
Eric Fischer
8296190487 Remove leftovers from early versions of --detect-shared-borders 2016-10-26 15:47:26 -07:00
Eric Fischer
93d3c40593 Remove dead code 2016-10-26 15:43:46 -07:00