mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Canonicalize numbers in stringified attributes so geobuf can match
This commit is contained in:
@@ -323,6 +323,8 @@ inline void WriteExponent(int K, std::string &buffer) {
|
||||
if (K < 0) {
|
||||
buffer.push_back('-');
|
||||
K = -K;
|
||||
} else {
|
||||
buffer.push_back('+');
|
||||
}
|
||||
|
||||
if (K >= 100) {
|
||||
|
||||
Reference in New Issue
Block a user