Commit Graph
30 Commits
Author SHA1 Message Date
Erica Fischer 563f7d2bc2 Make drop-densest more consistent across tile boundaries 2023-08-23 13:20:25 -07:00
Erica Fischer 2e271213d6 Try a slightly different byte limit 2023-08-23 13:05:34 -07:00
Erica Fischer ca3b38550f Keep full coordinate precision if we might extend zooms 2023-08-23 12:51:04 -07:00
Erica Fischer 9ab2f32c9c Diff rather than cmp, in the hope of figuring out this broken test 2023-08-23 12:38:00 -07:00
Erica Fischer 54503580e8 Don't spend memory on overzooming when we aren't going to use it 2023-08-23 12:18:33 -07:00
Erica Fischer 49310b6ce4 Fix sequence of overzoomed tiles (Y sorts backwards for TMS) 2023-08-23 11:43:09 -07:00
Erica Fischer d979a20df7 Add missing #include 2023-08-22 18:17:04 -07:00
Erica Fischer b1abd26c23 I think it worked? 2023-08-22 15:19:11 -07:00
Erica Fischer fed97e9fe3 Start tracking a list of the tiles at maxzoom 2023-08-22 13:37:57 -07:00
Erica Fischer 9523ad5856 Reduce magic 2023-08-22 13:06:00 -07:00
Erica Fischer 1dcd75ccd7 More changing accessors to methods 2023-08-22 09:56:38 -07:00
Erica Fischer 234db66aee Move construction into a constructor 2023-08-21 12:48:53 -07:00
Erica Fischer 8850febc0f Factor out duplicated code 2023-08-21 12:27:52 -07:00
Erica Fischer 629d89adbe Slightly more abstraction for the tile-join readers 2023-08-21 11:49:57 -07:00
Erica Fischer 59b5f820f2 Add (currently broken) test of overzooming in tile-join 2023-08-18 13:46:42 -07:00
Erica Fischer 2c1992c45c Add command line option to enable or disable overzooming 2023-08-18 12:55:59 -07:00
Erica Fischer bb107f25bb Hook up pmtiles and dirtiles as overzooming sources 2023-08-18 12:30:22 -07:00
Erica Fischer 2869552328 Ah, there's the bug! 2023-08-18 11:43:22 -07:00
Erica Fischer 8e573fb70e OK, it did something now 2023-08-18 11:19:58 -07:00
Erica Fischer 5367f243a7 Didn't work, but *might* have worked 2023-08-18 11:12:31 -07:00
Erica Fischer 98bca0b742 Refactor to give tile-join access to overzoom() 2023-08-18 10:46:59 -07:00
Erica Fischer faeb328e84 At least when to overzoom, even if not actually doing it yet 2023-08-17 16:27:24 -07:00
Erica Fischer 989cd76403 Add an option to extend zooms if still dropping, but with a limit 2023-08-17 12:44:14 -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