mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-03 00:45:41 +02:00
* Plumb bounding boxes through potential intersections
* Quick bbox reject for bins that can't possibly intersect
* Inching toward attribute accumulation in megatile handling
* 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
* More sketching
* More sketching
* Actually do some accumulation
* Put all that behind an --accumulate-numeric flag
* Use the same attribute accumulation logic in binning as in megatiles
* Fix backwards conditional
* Add means, but somehow I have some counts of 0
* Handle aggregated attributes with no base attribute in the feature
* Checkpoint before I break everything
* Found a flaw, now to debug
* Fix a typo that broke accumulation
* Add binning tests
* Make sure IDs make it through on the bins
* Fix count/mean accumulation
* Make the numeric accumulation prefix configurable
* Make sure the accumulate test still works with a different prefix
* Forgot to update this test
* More testing to make sure cluster sizes make it all the way through
* Fix neglected --accumulate-attribute when binning
* Mark unexercised attribute accumulation cases as "can't happen"
* Factor out numeric preservation
* Attrs with the accumulation prefix are just preserved, not accumulated
* Test behavior of prefixed attributes
* Plumbing for exclude and exclude-prefix
* Implement and test attribute prefix stripping in overzoom
* Update version and changelog
* For debugging, make an attribute list of source feature IDs
* Revert "For debugging, make an attribute list of source feature IDs"
This reverts commit 65fc99c9d1.
21 lines
811 B
C++
21 lines
811 B
C++
#ifndef TEXT_HPP
|
|
#define TEXT_HPP
|
|
|
|
#include <string>
|
|
|
|
std::string check_utf8(std::string text);
|
|
const char *utf8_next(const char *s, long *c);
|
|
std::string truncate16(std::string const &s, size_t runes);
|
|
int integer_zoom(std::string where, std::string text);
|
|
std::string format_commandline(int argc, char **argv);
|
|
std::vector<std::string> read_unidecode(const char *fname);
|
|
std::string unidecode_smash(std::vector<std::string> const &unidecode_data, const char *s);
|
|
unsigned long long fnv1a(std::string const &s);
|
|
unsigned long long fnv1a(const char *s, char additional);
|
|
unsigned long long fnv1a(size_t size, void *p);
|
|
unsigned long long bit_reverse(unsigned long long v);
|
|
std::string truncate_string(std::string const &s, size_t len);
|
|
bool starts_with(std::string const &s, std::string const &prefix);
|
|
|
|
#endif
|