Commit Graph
30 Commits
Author SHA1 Message Date
Erica Fischer 75511a74cd Clip the clip regions to the tile bounds to reduce their complexity 2024-11-27 12:22:36 -08:00
Erica Fischer 641f97f7db Revert accidentally added line 2024-11-27 11:45:44 -08:00
Erica Fischer e5e277a76d Rename for consistency 2024-11-26 15:33:52 -08:00
Erica Fischer ae0c14be83 Remove unused parts of clipper 2024-11-26 15:28:17 -08:00
Erica Fischer 02efa9f1e1 Fix scaling before post-binning clipping. Add test. 2024-11-26 14:15:58 -08:00
Erica Fischer f41970b72a Remember to do polygon clipping after binning too 2024-11-26 13:17:29 -08:00
Erica Fischer c7649e39e5 Add missing fixture, and don't crash if it is missing 2024-11-25 15:54:41 -08:00
Erica Fischer caa91203b7 Add clipping tests 2024-11-25 15:43:51 -08:00
Erica Fischer 21f63a756f Oh, it helps if I actually call the function 2024-11-22 21:21:22 -08:00
Erica Fischer 219f47e51c Compiles, but does not actually seem to clip. Hmm. 2024-11-22 21:14:39 -08:00
Erica Fischer 159b04fa8e Add clipper2 for linestring clipping 2024-11-22 20:51:22 -08:00
Erica Fischer f82a868e88 Copy the geometric binning code to serve as intersection-finding code 2024-11-22 15:12:58 -08:00
Erica Fischer 0170dd8bea Clip points to polygon bounds too 2024-11-22 10:53:30 -08:00
Erica Fischer baba6d382d Remove debug spew 2024-11-22 10:38:01 -08:00
Erica Fischer 3ffc04a0b2 Fix the wagyu flags. We need intersection, not union 2024-11-22 10:34:13 -08:00
Erica Fischer 9c4c95295f Progress in the direction of polygon clipping 2024-11-22 10:29:05 -08:00
Erica Fischer f9ec00d50d Accept a clip polygon argument to tippecanoe-overzoom 2024-11-21 16:32:00 -08:00
Erica Fischer 0a4f6fe546 Factoring out geometry parsing from feature parsing 2024-11-21 15:44:46 -08:00
Erica Fischer 72731a9fce Merge branch 'main' into overzoom-clip 2024-11-21 15:10:49 -08:00
Erica Fischer 30e5a5ce9b Fix post-binning clipping 2024-11-19 09:19:44 -08:00
Erica Fischer 08f9d0d71d Add a test 2024-11-18 21:43:35 -08:00
Erica Fischer 1afe03ed96 Actually do some clipping 2024-11-18 21:34:53 -08:00
Erica Fischer aaad2e3af8 Plumb a clip bounding box around through overzoom 2024-11-18 16:12:33 -08: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