mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Follow JSON rules for what looks like a number in a CSV
This commit is contained in:
+1
-1
@@ -207,7 +207,7 @@ void handle(std::string message, int z, unsigned x, unsigned y, std::map<std::st
|
||||
if (joinval.size() > 0) {
|
||||
if (joinval[0] == '"') {
|
||||
joinval = csv_dequote(joinval);
|
||||
} else if ((joinval[0] >= '0' && joinval[0] <= '9') || joinval[0] == '-') {
|
||||
} else if (is_number(joinval)) {
|
||||
attr_type = mvt_double;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user