Erica Fischer
424f96e7b7
Clean up ancient weirdness in JSON attribute stringification
2024-02-02 16:28:49 -08:00
Erica Fischer
66f4ed57b6
Fewer copies in attribute stringification
2024-02-02 16:13:07 -08:00
Erica Fischer
6026ff0285
Add explanatory comment for mysterious argument
2024-02-02 15:01:32 -08:00
Erica Fischer
80e264daa9
Store the hash in the tree instead of recalculating
2024-02-02 14:46:58 -08:00
Erica Fischer
4b8574aa87
A few more cases to populate the hash in addpool
2024-02-02 14:12:34 -08:00
Erica Fischer
353cdf16e6
Switch instead of ifs in json parsing
2024-02-02 13:54:41 -08:00
Erica Fischer
5383bb2062
Eliminate repeated hashing of the same string
2024-02-02 13:40:08 -08:00
Erica Fischer
711a757895
Stick a hash search on the front of the tree search in addpool
2024-02-02 13:28:39 -08:00
Erica Fischer
93e0db9fd9
Reduce the chance of hash collisions
2024-02-02 13:00:55 -08:00
Erica Fischer
ef66f39aa5
Use fnv1a instead of std::hash for everything
2024-02-02 12:00:19 -08:00
Erica Fischer
f862d7b651
Be more specific about the string hash function
2024-02-02 11:43:06 -08:00
Erica Fischer
09f225d324
Revert "Revert "Only do approximate attribute deduplication when writing tiles""
...
This reverts commit 18509876c3 .
2024-02-02 11:38:35 -08:00
Erica Fischer
88aaa62b33
Also revert the related test changes
2024-02-02 11:31:28 -08:00
Erica Fischer
18509876c3
Revert "Only do approximate attribute deduplication when writing tiles"
...
This reverts commit c42b34b498 .
2024-02-02 11:29:41 -08:00
Erica Fischer
124462fbdc
Features clipped away to nothing should not participate in that tile
2024-02-02 11:12:59 -08:00
Erica Fischer
bddfb34ea2
All tile creators now create a string pool for the tile
2024-02-02 09:28:44 -08:00
Erica Fischer
52627376e4
Feature dropping tests are sensitive to exact tile size
2024-02-01 16:27:49 -08:00
Erica Fischer
c42b34b498
Only do approximate attribute deduplication when writing tiles
2024-02-01 16:06:42 -08:00
Erica Fischer
910aff8fe7
Move string hashing from mbtiles to text
2024-02-01 15:43:16 -08:00
Erica Fischer
9af42515ec
Fewer atomic operations
2024-02-01 13:06:53 -08:00
Erica Fischer
afe6afe794
Save a copy when retrieving the attribute key
2024-02-01 12:18:02 -08:00
Erica Fischer
7a5d9de1db
Do less work when the tilestats sample values list is already full
2024-02-01 12:09:00 -08:00
Erica Fischer
aa96f126c1
Add a way to run tippecanoe single-threaded for profiling
2024-02-01 11:38:48 -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