122 Commits

Author SHA1 Message Date
Eric Fischer
addbd0a854 Keep tile-join from generating a tileset name longer than 255 chars 2018-08-20 17:45:18 -07:00
Eric Fischer
0a3e4ad561 Fix missing filename in warning messages 2018-08-16 13:46:37 -07:00
Eric Fischer
98cf4d94aa Don't accept features or geometries inside another object's properties 2018-08-08 13:42:49 -07:00
Eric Fischer
8d67e460d4 Add --exclude-all to tile-join 2018-08-07 10:27:38 -07:00
Eric Fischer
baab0cef55 Increment version number 2018-08-06 12:25:22 -07:00
Eric Fischer
c9cc12e7ff Add "csv" to the list of suffixes to trim off of layer names 2018-08-01 17:49:54 -07:00
Eric Fischer
3fb833979e Take cluster distance into account when guessing a maxzoom 2018-08-01 13:14:14 -07:00
Eric Fischer
759bceb986 Duplicate features within the buffer of the antimeridian on both sides 2018-07-27 16:14:49 -07:00
Eric Fischer
6f295f29fc Add an option to automatically assign ids to features 2018-07-26 15:08:47 -07:00
Eric Fischer
856c055857 Don't guess a higher maxzoom than is allowed for manual selection
If maxzoom + detail > 32, some geometric operations are undefined
2018-07-25 11:18:40 -07:00
Eric Fischer
87a1bb7851 Add an option to treat empty CSV columns as nulls, not empty strings 2018-07-19 14:33:33 -07:00
Eric Fischer
c2bb35e6ff Bump version number 2018-06-19 14:15:27 -07:00
Eric Fischer
7f90ba5e1b Include version number in tile-join output too 2018-06-07 21:37:25 -07:00
Eric Fischer
11c6c869aa Include a creator field in tileset metadata with the Tippecanoe version
Also finally eradicates binary diffs from the tests
2018-06-07 11:20:12 -07:00
Eric Fischer
760a0c9209 Add missing JSON type check; bump version number. 2018-06-06 11:54:23 -07:00
Eric Fischer
48486b5d7b Add --use-source-polygon-winding and --reverse-source-polygon-winding 2018-06-01 12:59:28 -07:00
Eric Fischer
32b3a15406 Add test for JSON specification of layer file, name, and description 2018-05-24 12:41:14 -07:00
Eric Fischer
a4825f6af4 Explicitly check for infinite and not-a-number input coordinates 2018-05-15 12:55:17 -07:00
Eric Fischer
dbd69142b0 Test and documentation 2018-05-11 16:34:18 -07:00
Eric Fischer
59dd095607 Make file positions and lengths thread-safe 2018-05-07 14:42:49 -07:00
Eric Fischer
8ba884530a Also take note of --force-feature-limit if extending zooms 2018-05-04 12:43:27 -07:00
Eric Fischer
a383f5c725 Use an exit status of 100 if some but not all zoom levels succeeded 2018-04-18 20:48:13 +03:00
Eric Fischer
d01d8177a0 Allow filtering features by zoom level in conditional expressions
This moves filtering from the serialization stage to the
tiling stage so that the zoom level can be known to the filter.

The side effect is to carry null attributes much further through
the pipeline than previously.
2018-04-05 14:15:19 -07:00
Eric Fischer
7f843c4d36 Check integrity of sqlite3 file before decoding or tile-joining 2018-03-29 12:02:59 -07:00
Eric Fischer
71df4d3e81 Always include tile and layer in tippecanoe-decode, fixing corrupt JSON. 2018-03-14 16:35:59 -07:00
Eric Fischer
834c05038c Add --progress-interval setting to reduce progress indicator frequency 2018-03-13 14:51:48 -07:00
Eric Fischer
18e345efb0 Make clusters look better by averaging locations of clustered points 2018-03-01 16:53:59 -08:00
Eric Fischer
ebe10a27d7 Add documentation 2018-02-27 14:45:46 -08:00
Eric Fischer
17942b3a89 Add an option to produce only a single tile 2018-02-06 17:25:58 -08:00
Eric Fischer
d49606babf Fix opportunities for integer overflow 2018-01-18 12:37:15 -08:00
Eric Fischer
b03dabe098 Add an option for clustering features 2017-12-14 14:30:08 -08:00
Eric Fischer
2e32004589 Don't coalesce features that have different IDs.
Remove the 700-point limit on coalesced features, since
polygon merging is no longer a performance problem.
2017-12-13 12:05:53 -08:00
Eric Fischer
d7f44ab082 Factor out code for reading metadata.json 2017-11-30 15:49:38 -08:00
Eric Fischer
ba1c343204 Make --allow-existing work on dirs; trim .geojson from layer names 2017-11-29 16:24:48 -08:00
Eric Fischer
8230987405 Fix a bug that could cause the wrong features to be coalesced 2017-11-22 11:54:25 -08:00
Eric Fischer
ecbfad2576 Fix problem where --detect-shared-borders could simplify polygons away 2017-11-17 15:35:19 -08:00
Eric Fischer
76d86f7d45 Add an option to quiet the progress indicator but not warnings 2017-11-16 17:08:59 -08:00
Eric Fischer
87ce5b9310 Be more careful about checking for overflow when parsing numbers 2017-11-09 12:11:07 -08:00
Eric Fischer
e39db074fe Bump version number 2017-11-03 15:19:43 -07:00
Eric Fischer
41c026796d Port fix for array index out of bounds in decimal conversion
https://github.com/miloyip/dtoa-benchmark/issues/7

commit fe550f38669fe0f488926c1ef0feb6c101f586d6
Author: Eli Fidler <efidler@topologyinc.com>
Date:   Tue May 31 11:51:37 2016 -0400

    avoid array index out-of-bounds

    UBSAN gave "runtime error: index 13 out of bounds for type 'const uint32_t [10]'"
2017-11-02 16:42:29 -07:00
Eric Fischer
faf40658a6 Bump version number 2017-10-30 13:53:54 -07:00
Eric Fischer
197d36bdc3 Make sure to encode tile-joined integers as ints, not doubles 2017-10-27 12:43:23 -07:00
Eric Fischer
18a5300e87 Add tile-join option to rename layers 2017-10-27 11:04:06 -07:00
Eric Fischer
ee6da93494 Fix error when parsing attributes with empty-string keys 2017-10-13 11:22:15 -07:00
Eric Fischer
91e469aac2 Merge any leftover feature remnants onto some feature.
Add a test for coalescing small features onto large ones.
2017-10-09 17:37:21 -07:00
Eric Fischer
764a8ac17c Use 32-bit offsets in the string pool search tree to reduce its size 2017-09-06 15:26:19 -07:00
Eric Fischer
bdd95af8b2 Be careful not to generate empty layers in tile-join.
Add a test of filtering during tile-join.
Bump version number.
2017-09-05 13:33:10 -07:00
Eric Fischer
9a21c04f06 Bump version number; fix node version that I accidentally reverted 2017-08-31 14:17:18 -07:00
Eric Fischer
0b3e731f0b Add better diagnostics for NaN or Infinity in input JSON 2017-08-21 10:44:04 -07:00
Eric Fischer
4d1ddc5a03 Add tile-join options to select zoom levels to copy 2017-08-16 13:49:16 -07:00