Commit Graph
13 Commits
Author SHA1 Message Date
Erica Fischer 65e276c27c Track nodes added at tile edges during clipping 2023-05-23 15:52:26 -07:00
Erica Fischer 46e153e4a6 Clip in floating point, not integers, which makes no difference 2023-05-23 11:53:03 -07:00
Erica Fischer 2dcb2d7989 Make it round, not truncate, which reverts the last commit's test diffs 2023-05-23 11:26:18 -07:00
Erica Fischer e8c48c0fad Restore non-Wagyu polygon clipping from prior to 2fdec7d2 2023-05-23 11:23:17 -07:00
Erica Fischer 9a5bd5da55 Round instead of truncating when clipping lines 2023-05-23 11:06:41 -07:00
Erica Fischer f91245a522 Stabilize line simplification to behave the same regardless of winding 2023-05-23 10:48: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