Erica Fischer
040b6388ab
Keep a list of parent tiles to skip rather than truncating
2024-07-31 15:26:55 -07:00
Erica Fischer
04d7de757b
Current (wrong) behavior when combining coalescing and truncating
2024-07-31 14:37:32 -07:00
Erica Fischer
eb723111f9
Cleanup from adding line simplification in overzoom
2024-07-30 15:53:51 -07:00
Erica Fischer
6a6ec0c038
Oops, checking for the wrong expected return value
2024-07-30 15:38:16 -07:00
Erica Fischer
43e5b6147e
Fix warnings
2024-07-30 15:38:07 -07:00
Erica Fischer
03ef561050
Fix warning
2024-07-30 15:37:59 -07:00
Erica Fischer
33a46560c5
Don't stop early if we ended up dropping any features.
...
Rework the can-the-next-zoom-stop-early logic to avoid going
one zoom further than needed.
2024-07-30 15:37:22 -07:00
Erica Fischer
6489aa7f31
Fflush here too before pwriting
2024-07-30 15:36:45 -07:00
Erica Fischer
8f3819dd95
Don't try to stop early in the children if we dropped anything by rate
2024-07-30 15:36:36 -07:00
Erica Fischer
d4efb4d728
Add tiny polygon reduction / dust to overzoom
2024-07-30 15:35:22 -07:00
Erica Fischer
830885fea0
If stopping early, don't simplify or clean; leave that to overzoom
2024-07-30 15:27:36 -07:00
Erica Fischer
bedfa8af95
Be more conservative, because ever retrying a tile is a big speed hit
2024-07-30 15:27:27 -07:00
Erica Fischer
81436a783d
Estimate tile complexity; don't try truncating when unlikely to work
2024-07-30 15:26:09 -07:00
Erica Fischer
049c24c754
Make room for a vertex count in the header of each serialized tile
2024-07-30 15:25:59 -07:00
Erica Fischer
cf4f912a10
Forgot to commit the actual code change
2024-07-30 15:25:43 -07:00
Erica Fischer
30a16550f0
Add a test of zoom truncation with limited feature count
2024-07-30 15:25:18 -07:00
Erica Fischer
3c07213317
Stop early if we can make a complete tile
2024-07-30 15:24:40 -07:00
Erica Fischer
7057c2bafe
I forgot I already added an option for this
2024-07-30 15:21:31 -07:00
Erica Fischer
744e8b61c9
Changing the detail loop to account for stopping early
2024-07-30 15:21:08 -07:00
Erica Fischer
b07509b2f9
Add option and document its intended behavior
2024-07-30 15:19:22 -07:00
Erica Fischer
6e5d714250
Track file position where the child tile data begins
2024-07-30 15:18:57 -07:00
Erica Fischer
22a1e2747f
Track output position at the file level instead of within each tile
2024-07-30 15:15:55 -07:00
Erica Fischer
4ea8a37611
Accept tilestats limiting options in tile-join, not just tippecanoe ( #8 )
2022-08-12 13:57:04 -07:00
Erica Fischer
fec5e8354c
Improve maxzoom guessing for tightly-clustered point data sources ( #4 )
...
* Improve maxzoom guessing for tightly-clustered point data sources
* Go back to the old distance estimate, since it is less mysterious
* Update changelog and version
2022-08-11 10:13:54 -07:00
Erica Fischer
a9bf6cacd4
Add --smallest-maximum-zoom-guess to specify a minimum maxzoom to guess ( #2 )
...
* Add --maximum-zoom-at-least to specify a minimum maxzoom to guess
* Check whether the specified minimum maxzoom is out of range
* Rename the option to --smallest-maximum-zoom-guess
* Update tests, changelog, and version
2022-08-11 10:04:03 -07:00
Erica Fischer
86f3e98c02
Track the desired tile size for each zoom level in tileset metadata ( #7 )
2022-08-11 09:58:00 -07:00
Erica Fischer
c65d6938a4
Drop or coalesce points too when dropping or coalescing smallest ( #6 )
...
* Handle points too when dropping or coalescing the "smallest" features.
* Add statistics of tile size reduction strategies to tileset metadata
* Update changelog and version
* Update documentation
2022-08-09 15:29:03 -07:00
Erica Fischer
67cd9d8d85
Reduce tippecanoe memory usage ( #5 )
...
* Change JSON objects to a union type to use less memory
* Stop storing the string representation of JSON numbers
* Restore the ability to create features with large integer attributes
* Make sure large-integer feature IDs still behave as before
* Add missing #include
* Don't preallocate as much space for arrays and objects
* Treat inability to check free disk space as a warning, not an error
* Update changelog and version
2022-08-09 15:18:51 -07:00
Erica Fischer
6978a0e102
Reindent with clang-format ( #3 )
2022-07-28 11:19:30 -07:00