Eric Fischer
|
10cd9c8875
|
Check the ring order manually and reorder them if they don't nest right
|
2016-03-29 11:05:39 -07:00 |
|
Eric Fischer
|
c404082421
|
Factor out copied-and-pasted polygon area calculations
|
2016-03-28 17:01:17 -07:00 |
|
Eric Fischer
|
6f5199adc7
|
Check whether polygon inner rings are inside the outer ring
|
2016-03-28 16:52:33 -07:00 |
|
Eric Fischer
|
c6051d876f
|
Merge branch 'master' into earcut-polygon
Conflicts:
geometry.cc
|
2016-03-28 15:45:16 -07:00 |
|
Eric Fischer
|
72b7dc977a
|
Merge pull request #196 from mapbox/stray-geom
Remove temporary files that were accidentally left in place
|
2016-03-28 15:31:31 -07:00 |
|
Eric Fischer
|
448d1a124e
|
Handle case of options that aren't processed individually
|
2016-03-28 15:10:04 -07:00 |
|
Eric Fischer
|
edce0f088d
|
Add GNU-style long options
|
2016-03-28 15:03:28 -07:00 |
|
Eric Fischer
|
b47653e2e6
|
Remove temporary files that were accidentally left in place
|
2016-03-28 14:00:01 -07:00 |
|
Eric Fischer
|
9f2e221338
|
Merge pull request #193 from mapbox/malloc
Check return values after allocating memory
|
2016-03-28 13:46:45 -07:00 |
|
Eric Fischer
|
5a2a1b793a
|
Exit cleanly if there was no valid input instead of giving an mmap error
|
2016-03-28 13:22:03 -07:00 |
|
Eric Fischer
|
cf2abf67d2
|
Oops: need to check array size in bytes, not number of objects
|
2016-03-28 13:08:54 -07:00 |
|
Eric Fischer
|
356575d0e0
|
Check for JSON array and hash overflows
|
2016-03-28 12:25:33 -07:00 |
|
Eric Fischer
|
7d602987e7
|
Merge pull request #194 from stevage/patch-2
Warn of spurious errors (as per #191)
|
2016-03-28 12:07:41 -07:00 |
|
Eric Fischer
|
21a635fb7a
|
Check for string length overflow
|
2016-03-28 12:00:55 -07:00 |
|
Eric Fischer
|
a92bdce12e
|
Upgrade clipper to f9c1344a09
|
2016-03-28 10:31:17 -07:00 |
|
Eric Fischer
|
1e5d420b66
|
Fix warnings about unused arguments
|
2016-03-25 13:45:28 -07:00 |
|
Eric Fischer
|
12be3e5a32
|
This one really is an int upstream
|
2016-03-25 13:21:32 -07:00 |
|
Eric Fischer
|
52dbed8132
|
Fix a few warnings about globals
|
2016-03-25 13:03:57 -07:00 |
|
Eric Fischer
|
c2231318bd
|
Many places where I used unsigned array indices but meant size_t
|
2016-03-25 12:20:32 -07:00 |
|
Eric Fischer
|
eee596d5f5
|
Check return values from memory allocation
|
2016-03-25 11:57:33 -07:00 |
|
Eric Fischer
|
bc5a7b251f
|
Check return values after allocating memory
|
2016-03-25 11:20:56 -07:00 |
|
Eric Fischer
|
91ffb084a7
|
Install libc++-dev in another attempt to fix the build
|
2016-03-24 17:26:29 -07:00 |
|
Eric Fischer
|
052c0a55df
|
Try forcing libc++ on Linux to fix the build
|
2016-03-24 17:17:11 -07:00 |
|
Eric Fischer
|
76ab63c1d0
|
Another attempt at fixing Travis on Linux
|
2016-03-24 15:31:44 -07:00 |
|
Eric Fischer
|
a03b461aa5
|
Try to fix Travis on Linux
|
2016-03-24 15:18:51 -07:00 |
|
Eric Fischer
|
64c98b38b4
|
Add Clipper header dependency
|
2016-03-24 14:39:38 -07:00 |
|
Eric Fischer
|
05ff656aba
|
Upgrade to Clipper 9dfe779ed7a
|
2016-03-24 14:36:36 -07:00 |
|
Eric Fischer
|
f37eccafe6
|
Merge branch 'master' into earcut-polygon
|
2016-03-24 14:32:49 -07:00 |
|
Eric Fischer
|
d4776c8bfb
|
Warn when splitting up a 700-sided polygon for the first time
|
2016-03-23 17:35:19 -07:00 |
|
Eric Fischer
|
705a58d255
|
Reverse polygon rings if they come out of Clipper with the wrong polarity
|
2016-03-23 17:10:10 -07:00 |
|
Eric Fischer
|
54c7cfff4c
|
Upgrade to Clipper 296c37e3206bfa
|
2016-03-23 16:46:55 -07:00 |
|
Eric Fischer
|
eebba7b75b
|
Merge pull request #189 from mapbox/decode-pbf
Add the ability to tippecanoe-decode a standalone .pbf tile
|
2016-03-22 17:35:42 -07:00 |
|
Eric Fischer
|
962f82d44e
|
Add a test for decoding standalone PBFs
|
2016-03-22 17:12:09 -07:00 |
|
Eric Fischer
|
d960963623
|
Add the ability to tippecanoe-decode a standalone .pbf tile
|
2016-03-22 16:51:29 -07:00 |
|
Eric Fischer
|
4fc6ca3c3b
|
Keep from getting stuck in an infinite loop
|
2016-03-21 17:23:34 -07:00 |
|
Eric Fischer
|
a989611515
|
Upgrade to Clipper 3eb6a85910aff
|
2016-03-21 16:13:47 -07:00 |
|
Eric Fischer
|
707036fe79
|
Upgrade Clipper to 07b828b1 to fix self-intersecting polygons
|
2016-03-18 16:35:29 -07:00 |
|
Eric Fischer
|
7140a3dd91
|
Merge pull request #186 from mapbox/resolution-doc
Clarify maximum resolution in README and warning
|
2016-03-17 11:54:24 -07:00 |
|
Eric Fischer
|
16ca5cfeec
|
Clarify maximum resolution in README and warning
|
2016-03-17 11:23:54 -07:00 |
|
Eric Fischer
|
c66fd315e1
|
Merge pull request #185 from mapbox/line-polygons
Silently drop zero-area polygons instead of showing Clipper errors
|
2016-03-10 17:31:47 -08:00 |
|
Eric Fischer
|
7896c3c2c9
|
Don't get stuck in a loop if subdividing a complex polygon fails
|
2016-03-10 17:07:22 -08:00 |
|
Eric Fischer
|
7eccc7a758
|
Silently drop zero-area polygons instead of showing Clipper errors
|
2016-03-10 16:03:02 -08:00 |
|
Eric Fischer
|
652abc9a62
|
Put all the apt-get instructions on one line
|
2016-03-10 12:15:49 -08:00 |
|
Eric Fischer
|
c387af48cc
|
Merge pull request #182 from mapbox/thrashing
Reorder geometry as part of index merging, to reduce thrashing in low memory
|
2016-03-08 13:41:47 -08:00 |
|
Eric Fischer
|
cf5082122a
|
Close original geometry temp files as soon as they are no longer needed
|
2016-03-07 16:45:35 -08:00 |
|
Eric Fischer
|
bf585a5849
|
Add newline to clean up progress messages
|
2016-03-07 16:38:21 -08:00 |
|
Eric Fischer
|
11e737ff29
|
Reorder geometry as part of the merge
|
2016-03-07 16:34:12 -08:00 |
|
Eric Fischer
|
310887e019
|
Fix duplicated variable name
|
2016-03-07 13:40:32 -08:00 |
|
Eric Fischer
|
81d2a8bfed
|
Encourage -B, not -z, to set the base zoom level
|
2016-03-07 13:21:53 -08:00 |
|
Eric Fischer
|
b7f3fcfc7f
|
Merge pull request #180 from mapbox/coverage
Add a gamma-reduction test and base zoom/drop rate guessing tests
|
2016-03-03 17:34:56 -08:00 |
|
Eric Fischer
|
f17cec5c44
|
Factor out gap logic instead of duplicating it
|
2016-03-03 17:03:47 -08:00 |
|
Eric Fischer
|
d38b5a999e
|
Make base zoom and drop rate guessing more testable, and test them
|
2016-03-03 17:03:03 -08:00 |
|
Eric Fischer
|
e4ab47b3d6
|
Add a gamma-reduction test
|
2016-03-03 15:44:07 -08:00 |
|
Eric Fischer
|
b3aa32b9a3
|
Merge pull request #179 from mapbox/coverage
More tests for higher code coverage
|
2016-03-02 17:25:54 -08:00 |
|
Eric Fischer
|
c9fdd62c91
|
Try to add zoom skipping to code coverage
|
2016-03-02 16:37:55 -08:00 |
|
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 |
|