Commit Graph
27 Commits
Author SHA1 Message Date
Erica Fischer 59026112f6 Make the numeric accumulation prefix configurable 2024-09-18 10:36:09 -07:00
Erica Fischer 21bf44720d Fix count/mean accumulation 2024-09-17 22:15:17 -07:00
Erica Fischer 172f7382b5 Merge remote-tracking branch 'origin/main' into more-attribute-accumulation 2024-09-17 17:26:39 -07:00
Erica Fischer 19c144761b Make sure IDs make it through on the bins 2024-09-17 17:23:54 -07:00
Erica Fischer aa3ef1fbbf Add binning tests 2024-09-17 17:21:59 -07:00
Erica Fischer 060e2ee1c1 Fix a typo that broke accumulation 2024-09-17 15:16:31 -07:00
Erica Fischer 64b4a820c2 Found a flaw, now to debug 2024-09-17 14:16:58 -07:00
Erica Fischer 9a8c8df007 Checkpoint before I break everything 2024-09-17 14:04:02 -07:00
Erica Fischer 27a4f4ecef Handle aggregated attributes with no base attribute in the feature 2024-09-16 17:03:05 -07:00
Erica Fischer a2adb60638 Add means, but somehow I have some counts of 0 2024-09-13 12:39:53 -07:00
Erica Fischer 7a0878da9b Fix backwards conditional 2024-09-13 11:32:51 -07:00
Erica Fischer 56655e6ebf Use the same attribute accumulation logic in binning as in megatiles 2024-09-13 11:11:56 -07:00
Erica Fischer e2cc71b42f Put all that behind an --accumulate-numeric flag 2024-09-12 16:10:24 -07:00
Erica Fischer 9739f342e6 Actually do some accumulation 2024-09-12 15:33:14 -07:00
Erica Fischer 50bf0dc3be More sketching 2024-09-12 14:42:21 -07:00
Erica Fischer 88f8b95f27 More sketching 2024-09-12 14:02:39 -07:00
Erica Fischer b234cb9dac Some sort of test for how all these things interact with each other.
Automatic numeric attribute accumulation does *not* apply to attributes
that have an explicit attribute accumulator set, because the order of
operations is too messy and weird
2024-09-12 11:36:16 -07:00
Erica Fischer becfac9da9 Inching toward attribute accumulation in megatile handling 2024-09-12 11:08:21 -07:00
Erica Fischer 78b4fc19ec Quick bbox reject for bins that can't possibly intersect 2024-09-12 10:08:28 -07:00
Erica Fischer 3e3e7a5e4d Plumb bounding boxes through potential intersections 2024-09-12 09:57:39 -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