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
bc0edec753
Call a function that will eventually preserve the attributes
2018-02-20 17:24:15 -08:00
Eric Fischer
b73e710855
Add --accumulate-attribute flag and pass the result to tiling
2018-02-20 16:19:49 -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
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
Eric Fischer
01884a3bf6
Make sure the feature gap always increases when trying to reduce density
2017-12-19 12:09:30 -08:00
Eric Fischer
6524b6510e
Credit dangling clustered count at the end of a tile to the last feature
2017-12-18 12:55:22 -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
2234e37883
Quadkey-order index is a better secondary key for --reorder anyway
2017-11-22 12:49:40 -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
9a12a76855
Fix overflow when iterating through 0-length lists backwards
2017-11-17 15:47:10 -08:00
Eric Fischer
6fd4918c4d
Attach coalesced-as-needed leftovers to the last feature, not the first
2017-11-17 15:43:02 -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
621e0afc3c
Merge branch 'more-warnings' into rate-clarify
2017-11-17 11:21:01 -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
891f99f24c
More structure initializers
2017-11-07 13:32:03 -08:00
Eric Fischer
1b60fdbaf0
Some structure initializers
2017-11-07 12:52:43 -08:00
Eric Fischer
d89d46da65
Remove unused parameters
2017-11-07 10:55:34 -08:00
Eric Fischer
0585742a20
Remove unused constant and out-of-date comment
2017-11-03 16:51:45 -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
ecadd779c9
Don't try to coalesce features of different types
2017-10-09 16:26:55 -07:00
Eric Fischer
8ae1ec5379
Distribute coalescing error more evenly
2017-10-06 18:06:37 -07:00
Eric Fischer
be922702ce
Experiment with coalescing features to reduce tile size
2017-10-06 18:01:08 -07:00
Eric Fischer
c2b7d36b1f
Merge branch 'master' into object-attributes
2017-08-21 13:06:07 -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
635429cd87
Fix dangling pointer. Defer tilestats generation until tiling if filtering.
2017-08-08 13:38:48 -07:00
Eric Fischer
eebc8f7639
Remember to close polygons before sending them to the prefilter
2017-08-08 11:58:51 -07:00
Eric Fischer
04d0cc6fa1
Merge branch 'master' into plugins
2017-07-06 22:28:35 -07:00
Eric Fischer
c1889b74fd
Encode null sub-attributes as an empty message, not as their own type
2017-06-05 10:48:58 -07:00
Eric Fischer
dba24959ba
Avoid potential infinite loop from choosing the same min density again
2017-05-31 11:02:02 -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
8776f17980
Bump version number, give better warning message
2017-05-30 16:02:08 -07:00
Shan-Chun Kuo
9c3fb0f669
Change the function name rawtiles to dirtiles
2017-05-24 16:32:44 +01:00
Eric Fischer
b301512860
Merge branch 'master' into plugins
2017-05-12 17:20:30 -07:00
Eric Fischer
94a15eaf85
Merge branch 'master' into plugins
2017-04-07 14:28:58 -07:00
Eric Fischer
1c1ae6a8be
Update documentation and reduce use of global variables
2017-04-07 12:36:34 -07:00
Shan-Chun Kuo
a320248857
Do make indent, add flag --output-to-directory or -e to write pbf files to a directory, also add flag --no-tile-compression or -pC to get raw protobuf
2017-04-07 13:33:01 +01:00
Shan-Chun Kuo
f03b89656c
Seperated out to method and added test for --raw-tiles
2017-04-05 15:59:37 +01:00
Shan-Chun Kuo
aee12ac1fe
Add flag --raw-tiles or -pC to get raw protobuf
2017-04-05 00:34:54 +01:00
Eric Fischer
834ba19277
Add option for newline-delimited output format to tippecanoe-decode
2017-03-28 16:25:40 -07:00
Eric Fischer
fa56adc530
Clean up utility functions that are also used in other projects
2017-03-16 15:06:58 -07:00
Eric Fischer
eaff7b93c5
Merge branch 'master' into plugins
2017-03-15 16:19:33 -07:00
Eric Fischer
9c53268a2b
Stop processing zooms when a feature reaches its explicit maxzoom tag
2017-03-14 16:14:54 -07:00
Eric Fischer
c46f4cfc75
Remove polygon splitting, since polygon cleaning is now fast enough
2017-03-02 12:08:08 -08:00
Eric Fischer
9cbbc4c68d
Merge branch 'master' into plugins-merge
2017-03-02 10:45:25 -08:00
Eric Fischer
218a2fc75e
Clean up layer name handling to fix layer merging crash
2017-02-20 16:19:34 -08:00