Eric Fischer
aa7191b1ee
Also test large integers. Work around an apparent bug in strtoull.
2017-11-09 12:52:38 -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
c217a77b0a
Add UTF-8 and UTF-16 emoji to a test
2017-11-03 15:13:08 -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
748ef3b1d5
Add a tippecanoe-decode option to report tile size and feature count
2017-10-09 17:05:29 -07:00
Eric Fischer
c9e4275217
Do fewer tests in the address sanitizer build
2017-09-05 14:02:43 -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
d349b7700d
Add the tests for filtering for feature type
2017-09-05 12:17:23 -07:00
Eric Fischer
681907e88d
Add the feature ID filter tests
2017-09-01 16:53:19 -07:00
Eric Fischer
c232e565db
Working on testing against Mapbox GL JS filter tests
2017-09-01 16:27:27 -07:00
Eric Fischer
a5b1378d1a
Minimize external dependencies for Geobuf testing
2017-08-30 15:32:36 -07:00
Eric Fischer
076dfcdfeb
Work around differences of opinion about the range of feature IDs
...
Geobuf uses signed 64-bit ints
Vector tile spec uses unsigned 64-bit ints
Geobuf silently corrupts IDs through use of floating point
2017-08-30 14:34:59 -07:00
Eric Fischer
607ea6c643
Lower the precision of all test input coordinates to 6 decimal digits
2017-08-30 10:31:51 -07:00
Eric Fischer
15a48e67d6
Canonicalize numbers in stringified attributes so geobuf can match
2017-08-29 17:40:57 -07:00
Eric Fischer
f9a007e8c3
Use milo dtoa for consistent string representation of numbers
2017-08-29 14:44:34 -07:00
Eric Fischer
4b66aa828d
Geobuf testing exposes a bug in type coercion of 0.0 to boolean
2017-08-29 11:43:39 -07:00
Eric Fischer
4d1ddc5a03
Add tile-join options to select zoom levels to copy
2017-08-16 13:49:16 -07:00
Eric Fischer
e6fc22187a
Tilestats metadata no longer needs to be limited to 60K
2017-08-16 12:53:10 -07:00
Eric Fischer
205c28bb64
Fix tilestats with truncated strings. Trim tilestats if TileJSON is huge
2017-08-15 11:23:03 -07:00
Eric Fischer
5fc261020c
Add tests for not producing tilestats
2017-08-15 10:41:00 -07:00
Eric Fischer
e453e32321
Fix test flakiness for filtered tile-join, and some other warnings.
2017-08-09 11:30:16 -07:00
Eric Fischer
915b1481ad
Forgot to check in this file
2017-08-09 10:27:21 -07:00
Eric Fischer
200f6777ba
Fix layer list in tilestats when filtering and tile-joining.
...
(The feature count when filtering will be the sum of features
across tiles instead of filters from the original input, since
the filter reader doesn't know what the original input feature
set was.)
2017-08-08 16:41:20 -07:00
Eric Fischer
635429cd87
Fix dangling pointer. Defer tilestats generation until tiling if filtering.
2017-08-08 13:38:48 -07:00
Eric Fischer
c79f19e3ca
Merge branch 'master' into plugins
2017-08-08 11:08:10 -07:00
Eric Fischer
cc28bbab3a
Move the tilestats into the "json" row of the metadata
2017-07-26 09:54:49 -07:00
Eric Fischer
7e6d10c2fa
In tilestats, truncate and merge layers and attributes with long names
2017-07-21 12:56:30 -07:00
Eric Fischer
62f135a97d
Exclude long attribute values from tilestats output, as specified
2017-07-21 12:28:14 -07:00
Eric Fischer
518c8db790
Straighten out the extra tilestat attributes in some joined tilesets
...
The problem was in the case where the CSV provided a new value for
an attribute that replaced an existing value. Both the old and new
value were being included in the tilestats instead of just the new.
2017-07-20 17:39:41 -07:00
Eric Fischer
54cbc570f1
Don't write to a directory that contains an existing tileset.
...
The -f option will clear the directory now, as with mbtiles.
2017-07-20 14:17:09 -07:00
Eric Fischer
855e344552
Don't keep tilestats for features that are filtered out in tile-join
2017-07-19 16:53:53 -07:00
Eric Fischer
97d0b2a1b5
Retain attributes in alphabetical order, for consistency
2017-07-19 16:40:06 -07:00
Eric Fischer
7b03e1ee87
Include tilestats in the metadata table. (Not all tests are passing)
2017-07-19 13:09:47 -07:00
Eric Fischer
71f57793fd
Derive tilejson attribute types from sample attribute values
2017-07-17 17:31:46 -07:00
Eric Fischer
04d0cc6fa1
Merge branch 'master' into plugins
2017-07-06 22:28:35 -07:00
Eric Fischer
dd0a135b01
Ignore UTF-8 byte order mark if present
2017-06-29 14:42:42 -07:00
Eric Fischer
cf3a0800b8
Add an option to increase maxzoom if features are still being dropped
2017-05-31 10:47:34 -07:00
Eric Fischer
b80a1d7621
Merge pull request #425 from mapbox/better-maxzoom-guessing
...
Better maxzoom guessing by considering resolution within features
2017-05-30 17:22:40 -07:00
Eric Fischer
c7d146ea48
Don't do work for guessing maxzoom unless needed. Add a better test.
2017-05-30 16:58:56 -07:00
Eric Fischer
331707f88a
Better maxzoom guessing by considering resolution within features
2017-05-30 13:28:25 -07:00
Shan-Chun Kuo
52ceaaddb6
Add tile-join source to directories of tiles
2017-05-30 14:53:55 +01:00
Shan-Chun Kuo
ef8af63ab4
Add tile-join options to no tile compression and output to directory
2017-05-25 11:25:57 +01:00
Eric Fischer
eb8ab1dd58
Fix crash with very long (>128K) attribute values
2017-05-18 14:48:18 -07:00
Eric Fischer
b301512860
Merge branch 'master' into plugins
2017-05-12 17:20:30 -07:00
Eric Fischer
2f7b5d8afd
There should be a test for the no-compression mbtiles output format
2017-05-12 16:21:25 -07:00
Eric Fischer
fb6551c59e
Calculate the tileset bounding box in tile-join from the tile boundaries
2017-05-11 12:36:35 -07:00
Eric Fischer
f87a9d1660
Add tile-join options to set tileset name, description, attribution
2017-05-04 15:08:31 -07:00
Eric Fischer
6ec453229c
Preserve the tileset names from the source mbtiles in tile-join
2017-05-04 13:31:30 -07:00