Commit Graph
100 Commits
Author SHA1 Message Date
Eric Fischer 739f2dbc75 Test stability of feature ordering 2016-03-02 16:19:38 -08:00
Eric Fischer fb9525cf4f Add a MultiPoint test 2016-03-02 15:23:22 -08:00
Eric Fischer ae827af8dc Try to avoid another cross-platform rounding error 2016-03-02 15:19:16 -08:00
Eric Fischer 7e5db337c6 Test bare geometry and GeometryCollection 2016-03-02 15:06:27 -08:00
Eric Fischer a847db8c5f Remove dead code 2016-03-02 14:58:07 -08:00
Eric Fischer 0fcd2d9a79 Test for crossing the date line, property encodings, zoom level filters 2016-03-02 14:57:03 -08:00
Eric Fischer 3c85d3243a Merge pull request #176 from mapbox/decode-limit
Increase maximum tile size for decoding
2016-02-19 16:56:44 -08:00
Eric Fischer 1549328e4e Bump version number 2016-02-19 16:50:40 -08:00
Eric Fischer b87d3de5d1 Increase maximum tile size for decoding 2016-02-19 16:33:48 -08:00
Eric Fischer 7dec577eb2 Merge pull request #173 from mapbox/clipper-upgrade
Incorporate Mapnik's Clipper upgrades for consistent results between Mac and Linux
2016-02-17 13:43:09 -08:00
Eric Fischer ce0ac700d7 Bump version number 2016-02-17 13:30:53 -08:00
Eric Fischer a2b0bb01b9 Don't use std::int64_t, for the sake of older compilers 2016-02-17 13:27:45 -08:00
Eric Fischer a4498d34b7 New test standards for the flaky country polygons 2016-02-17 13:23:09 -08:00
Eric Fischer 88e1de62b6 Revert "Temporarily remove flaky polygons from test"
This reverts commit 886b2c3350.
2016-02-17 13:22:14 -08:00
Eric Fischer d25e537d20 Bring back Somerset county test 2016-02-17 13:21:58 -08:00
Eric Fischer 0f5a32b442 Additional Clipper changes through https://github.com/mapnik/clipper/commit/7484da1 2016-02-17 13:10:13 -08:00
Eric Fischer 51fffb7710 Incorporate Clipper fork from https://github.com/mapnik/clipper 2016-02-17 13:02:56 -08:00
Eric Fischer eecdf7747a Merge pull request #170 from mapbox/sane-polygon
Split complex polygons into multiple features
2016-02-11 14:29:33 -08:00
Eric Fischer 84a2a1bd9d Use a test polygon that comes out the same on Mac and Linux 2016-02-11 14:18:09 -08:00
Eric Fischer 4f419ae9b2 Make indent 2016-02-11 12:22:22 -08:00
Eric Fischer 0fa305432b Bump version number 2016-02-11 12:16:46 -08:00
Eric Fischer ea304d3a98 Split complex polygons into multiple features 2016-02-11 12:14:32 -08:00
Eric Fischer ca4faec9f6 Bump version number in all test standards 2016-02-11 11:34:33 -08:00
Eric Fischer ef646e8414 Refactor simple polygon clipping for arbitrary bounding boxes 2016-02-11 11:31:53 -08:00
Eric Fischer c6ad34427a Some work toward letting features have sub-geometries 2016-02-11 11:09:05 -08:00
Eric Fischer a1da515dc9 Bump version number 2016-02-10 12:01:29 -08:00
Eric Fischer f53ce812d3 Merge pull request #168 from mapbox/enforce-maxzoom
Limit maxzoom to the max that actually works
2016-02-03 17:35:19 -08:00
Eric Fischer 01731e21ee Guard against missing source file in test invocation 2016-02-03 17:30:27 -08:00
Eric Fischer cb68984052 Forgot to add source JSON 2016-02-03 17:28:47 -08:00
Eric Fischer bcdb40b41e Limit maxzoom to the max that actually works 2016-02-03 17:12:17 -08:00
Eric Fischer 6239809632 Merge pull request #167 from mapbox/fix-z22
Even if the maxzoom is very high, don't use more bits of precision than exist
2016-02-03 16:59:22 -08:00
Eric Fischer e7f571c9c3 Even if the maxzoom is very high, don't use more bits of precision than exist 2016-02-03 16:52:23 -08:00
Eric Fischer c1963dc645 Merge pull request #165 from mapbox/input-sequence
Preserve input sequence across multiple input files
2016-02-02 15:57:19 -08:00
Eric Fischer b649e99b32 Preserve input sequence across multiple input files 2016-02-02 15:43:27 -08:00
Eric Fischer 49324a3dc6 Merge pull request #164 from mapbox/parallel-test
Spell out a fuzz test for the four input-reading code paths
2016-02-02 14:14:26 -08:00
Eric Fischer 59c5d51e25 Don't allow the initial coordinate pair to be out of bounds 2016-02-02 13:33:49 -08:00
Eric Fischer 54d9e20e30 Add the input-paths test to the standard test target 2016-02-02 12:23:30 -08:00
Eric Fischer dfaba5a3e6 Spell out a fuzz test for the four input-reading code paths 2016-02-02 12:21:19 -08:00
Eric Fischer f5ea5974ee Merge pull request #158 from mapbox/ignore-error
Add an option to ignore sqlite errors on existing mbtiles files
2016-02-01 11:00:36 -08:00
Eric Fischer 2015ba21bf Merge branch 'master' into ignore-error
Conflicts:
	mbtiles.c
2016-02-01 10:10:05 -08:00
Eric Fischer f9a0a55578 Merge pull request #160 from mapbox/layer-name-message
Better message about layer name, and put it on stderr with the rest.
2016-01-29 11:09:20 -08:00
Eric Fischer 6ec211ea4c Better message about layer name, and put it on stderr with the rest. 2016-01-29 11:05:51 -08:00
Eric Fischer 29355c1afd Merge pull request #138 from mapbox/travis-improvements
Add code coverage
2016-01-29 10:40:36 -08:00
Eric Fischer bbd233c0ec Merge branch 'master' into travis-improvements
Conflicts:
	.travis.yml
2016-01-29 10:30:19 -08:00
Eric Fischer 4aa0ddd54a Merge pull request #157 from mapbox/testing
Start adding tests for Tippecanoe
2016-01-28 17:07:25 -08:00
Eric Fischer ec7d72925a Bump version number 2016-01-28 17:01:13 -08:00
Eric Fischer 886b2c3350 Temporarily remove flaky polygons from test 2016-01-28 16:52:46 -08:00
Eric Fischer 9f484e028d And a basic polygon test, with Natural Earth countries 2016-01-28 16:06:30 -08:00
Eric Fischer 2aa1510de8 Stabilize metadata field order, which seems to be causing test flakiness 2016-01-28 15:46:58 -08:00
Eric Fischer e786379358 Fix warning and let the autoformatter do its thing 2016-01-28 15:35:22 -08:00
Eric Fischer 9de13d7ea9 Natural Earth place names for testing basic dot-dropping 2016-01-28 15:27:04 -08:00
Eric Fischer bc14bcdde2 Test merging of multiple input layers 2016-01-28 15:04:57 -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 a84061cf87 Add an option to ignore sqlite errors on existing mbtiles files 2016-01-28 14:18:31 -08:00
Eric Fischer 7c021035a6 Include metadata in tippecanoe-decode. Allow multiple inputs for tests. 2016-01-28 14:06:51 -08:00
Eric Fischer 6d38eff2a2 Use Natural Earth state boundaries to test some flag combinations 2016-01-28 12:34:52 -08:00
Eric Fischer 2a94d8084d No need to have these parts of the test run in the same subshell 2016-01-28 10:59:32 -08:00
Eric Fischer 528bca6629 Use tests in Travis configuration 2016-01-28 10:54:51 -08:00
Eric Fischer 794048c049 Add a test 2016-01-28 10:52:43 -08:00
Eric Fischer 7835f52829 Merge pull request #156 from mapbox/arrayprop
Stringify feature properties that are arrays or hashes
2016-01-27 14:50:52 -08:00
Eric Fischer 0e59a4f774 Retain original form of numbers when stringifying 2016-01-27 14:41:06 -08:00
Eric Fischer 167beae307 Stringify feature properties that are arrays or hashes 2016-01-27 14:29:34 -08:00
Eric Fischer baf576f257 Merge pull request #152 from mapbox/clip-buffer
Make clipping behavior with no buffer consistent with Mapnik
2016-01-20 14:57:38 -08:00
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
Eric Fischer 2fd00413cf Clean up progress indicator and feature sequence 2015-12-22 16:29:45 -08:00
Eric Fischer 02cf4d46ad Close files that were being left open 2015-12-22 15:42:51 -08:00