Commit Graph
20 Commits
Author SHA1 Message Date
Erica Fischer 2b489cf338 Add point in polygon check. It crashes. 2024-08-23 14:48:24 -07:00
Erica Fischer 419a116168 Most of the bin scan 2024-08-23 14:32:06 -07:00
Erica Fischer 7243ae76c4 Smallest enclosing tile from bbox 2024-08-23 14:10:24 -07:00
Erica Fischer afa6a73a79 Bounding box of tile-relative mvt geometry 2024-08-23 13:12:43 -07:00
Erica Fischer 0514802f66 More fleshing out bin traversal 2024-08-23 12:18:46 -07:00
Erica Fischer ff9b59dacb Can't flatten points, so don't flatten bins either 2024-08-21 16:16:43 -07:00
Erica Fischer 14be3d2505 Starting to spell out the bin matching loop 2024-08-21 15:55:59 -07:00
Erica Fischer 7917d8b132 (Currently non-functional) test of binning 2024-08-21 15:16:44 -07:00
Erica Fischer 513c810c1b Some zip code bins to test with 2024-08-21 14:56:10 -07:00
Erica Fischer f1e5e4f109 Plumb the bins through to overzoom() 2024-08-21 14:30:04 -07:00
Erica Fischer f1112f6a12 Read the file of bins 2024-08-21 14:00:42 -07:00
Erica Fischer 58143b4815 Move code around so overzoom can link against parse_layers 2024-08-21 13:45:38 -07:00
Erica Fischer c91e07aaa6 Factoring out tilestats management from GeoJSON file reading 2024-08-21 12:46:21 -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