Commit Graph
40 Commits
Author SHA1 Message Date
Erica Fischer 78a964776f Don't revive spikes that are beyond the tile edge 2023-11-14 12:19:18 -08:00
Erica Fischer b22d6c8ba1 Remove debug spew 2023-11-14 10:06:42 -08:00
Erica Fischer 624c2b697a Try to fix winding reversals introduced by scaling 2023-11-14 09:56:31 -08:00
Erica Fischer bee87bdab2 Limit decay into polygon dust to reasonably compact polygons 2023-11-13 22:16:37 -08:00
Erica Fischer dd8762da1f Remove dead code 2023-11-13 16:03:52 -08:00
Erica Fischer c05ae1bbff Compare segments to the current pool as they come into scope 2023-11-13 13:08:46 -08:00
Erica Fischer 1238711571 Only reinspect segments that changed in the previous pass 2023-11-13 12:12:58 -08:00
Erica Fischer d23f0a243b Speed improvements from doing less repetitive rounding 2023-11-13 11:31:14 -08:00
Erica Fischer e80d8786b8 Drop holes that are not inside an outer ring 2023-11-13 10:30:14 -08:00
Erica Fischer 546b5fdbd3 Remove collinear points 2023-11-13 10:24:07 -08:00
Erica Fischer bd24168416 Add missing header 2023-11-13 10:10:26 -08:00
Erica Fischer d06363e9f9 Turn polygon revival back on; turn off some debug spew 2023-11-12 23:17:26 -08:00
Erica Fischer c0866b9cde Maybe right now? 2023-11-12 22:51:28 -08:00
Erica Fischer ba9dbda6f6 Something is wrong with the traversal 2023-11-12 19:19:35 -08:00
Erica Fischer 3eddb81d81 Trying to straighten out ring nesting 2023-11-12 18:28:43 -08:00
Erica Fischer 5d6a54a235 Ring nesting isn't right yet, so just keep the outer rings 2023-11-11 22:57:47 -08:00
Erica Fischer 10290b1b1b Committing to integer coordinates to fix more accidental mirror segs 2023-11-10 15:45:25 -08:00
Erica Fischer e849d42b13 Bow spindle polygons out in the center to prevent collapse 2023-11-10 14:40:49 -08:00
Erica Fischer c59202788a Remove debug spew 2023-11-10 12:35:56 -08:00
Erica Fischer 5e14b68560 Ring search basically works now? 2023-11-10 12:31:37 -08:00
Erica Fischer f6305b9b51 Deal with horizontals 2023-11-10 09:28:24 -08:00
Erica Fischer 35231d39e4 Deal with vertical lines 2023-11-09 15:15:57 -08:00
Erica Fischer 6bd0cdcb1b Fix multiply duplicated spikes 2023-11-09 14:26:13 -08:00
Erica Fischer 5ba24f0712 Get rid of most spikes 2023-11-09 14:04:38 -08:00
Erica Fischer 474270c151 Visual testing 2023-11-09 13:38:26 -08:00
Erica Fischer 22c308f623 Do some intersecting 2023-11-09 11:09:40 -08:00
Erica Fischer 3f98aa96b2 More missing headers and compiler warnings 2023-11-09 09:16:28 -08:00
Erica Fischer 690738b69c Add some missing headers 2023-11-09 09:11:41 -08:00
Erica Fischer c540ec5764 More progress on intersecting 2023-11-09 09:08:32 -08:00
Erica Fischer 31defc1dc2 Line intersection algorithms 2023-11-08 22:32:23 -08:00
Erica Fischer 6bebc1b427 Doing the scan line through the segments 2023-11-08 15:44:01 -08:00
Erica Fischer 966b911e1f Setting up for scanline 2023-11-08 14:55:27 -08:00
Erica Fischer e15239efdb Starting on my own polygon cleaner 2023-11-08 14:42:35 -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