Eric Fischer
2530efd525
Used the tilestats sample values limit instead of the attributes limit
2018-08-31 16:52:38 -07:00
Eric Fischer
216c0cf428
Be consistent about pluralization in the tilestats options
2018-08-31 16:19:55 -07:00
Eric Fischer
bc84b41246
Add options to change the tilestats limits
2018-08-31 15:12:00 -07:00
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
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
60629da37a
Merge branch 'master' into wagyu-initializer
2018-08-06 10:15:20 -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
e9eca57393
Upgrade to Wagyu 0.4.3
2018-07-31 17:47:52 -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
87a1bb7851
Add an option to treat empty CSV columns as nulls, not empty strings
2018-07-19 14:33:33 -07:00
Eric Fischer
d1a0e495ce
Require that per-feature maxzoom and minzoom be small integers
...
Also fixes a place in the Makefile that accidentally still used
CFLAGS instead of CXXFLAGS
2018-07-12 11:24:30 -07:00
Eric Fischer
262fbf26f0
Fix missing null pointer check
2018-06-19 13:10:58 -07:00
Eric Fischer
8d6bd4e10f
Add a filter extension to allow filtering individual attributes
2018-06-18 11:26:22 -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
c9eed0d457
Be careful to remove null attributes from prefilter/postfilter output
2018-06-06 11:48:57 -07:00
Eric Fischer
c650329eb2
Use a complete feature in the winding test instead of a bare geometry
2018-06-01 13:33:58 -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
48f7f1dd38
Preserve layer and attribute descriptions across tile-join
2018-05-24 16:01:57 -07:00
Eric Fischer
bb8b01a702
Add option to specify description for attributes in tileset metadata
2018-05-24 14:18:22 -07:00
Eric Fischer
54532795f6
Trailing commas in CSVs are now treated as empty fields.
...
Empty fields are now treated as empty strings rather than nulls
in tippecanoe-json-tool, for consistency with tile-join.
2018-05-24 13:54:00 -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
dc3aa2ddfa
Test CSV geometry with invalid coordinates
2018-05-16 14:29:28 -07:00
Eric Fischer
dbd69142b0
Test and documentation
2018-05-11 16:34:18 -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
066934a666
Merge pull request #553 from mapbox/zoom-filter
...
Allow filtering features by zoom level in conditional expressions
2018-04-09 09:24:25 -07:00
Andrew Harvey
0d6112cf20
include empty geometry test for csv
2018-04-07 08:05:45 +10: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
e21e4d3b88
Forgot the indentation change in this test
2018-03-16 17:06:54 -07:00
Eric Fischer
3c827b1d68
Use the standard JSON writer when writing metadata.json
2018-03-16 15:35:26 -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
18e345efb0
Make clusters look better by averaging locations of clustered points
2018-03-01 16:53:59 -08:00
Eric Fischer
a2dfaf85d0
Some basic tests for feature attribute accumulation
2018-02-27 17:49:48 -08:00
Eric Fischer
bfb6778e07
Add feature density tilestats during tiling instead of as a special case
2018-02-27 17:04:15 -08:00
Eric Fischer
f87b71b739
Check the layer before letting a feature be coalsced/clustered/dropped
2018-02-27 15:45:09 -08:00
Eric Fischer
c604a51039
Don't coalesce features whose non-string-pool attributes don't match
...
Fortunately most attributes are in the string pool, but ones that
have passed through the prefilter are not. (Nor are attributes that
are generated by clustering or by attribute accumulation.)
2018-02-27 13:38:37 -08:00
Eric Fischer
06ed9d14d8
Add an attribute for square root of cluster count
2018-02-26 12:53:43 -08:00
Eric Fischer
e4e39289a2
Fix the raw-tiles test and make it a little less fragile
2018-02-26 11:32:18 -08:00
Eric Fischer
a8a342f701
Send dot-dropping through the same pipeline.
...
The first feature in a tile can never be dropped, since there is
no previous feature to attach its properties to.
Remove the previous special case that reset the dropping counter
at the first feature within each tile proper (as opposed to the
first feature in each tile, including its buffer, which is now
the one that is guaranteed to be preserved).
2018-02-23 17:19:54 -08:00
Eric Fischer
27154c8f06
Cluster onto the previous feature instead of onto the next
...
This also allows doing the attribute and tilestats all at once
at the end of the tile instead of having to update a feature
to handle the last cluster.
2018-02-23 12:26:58 -08:00
Eric Fischer
30a277a43e
Always keep the first feature so there is something to coalesce onto
2018-02-22 17:25:54 -08:00
Eric Fischer
2d625d5807
Pass through any non-ASCII characters from file names into layer names
...
The Docker build doesn't include proper locale support
2018-02-07 13:15:36 -08:00
Eric Fischer
17942b3a89
Add an option to produce only a single tile
2018-02-06 17:25:58 -08:00
Eric Fischer
7ab94d43c6
Preserve non-ASCII characters when making layernames from filenames
2018-02-06 17:22:26 -08:00
Eric Fischer
2e5b597ca1
Add --coalesce-fraction-as-needed and --coalesce-densest-as-needed
2018-02-06 14:39:05 -08:00
Eric Fischer
d49606babf
Fix opportunities for integer overflow
2018-01-18 12:37:15 -08:00
Eric Fischer
e07a4dd51b
Fix out-of-bounds error when no threads were needed for a zoom level
2018-01-18 12:12:35 -08:00
Eric Fischer
aaf08a6c55
Add an option to specify the clustering distance directly
2017-12-20 17:33:30 -08:00