Add an option to convert double-precision attributes to single

This commit is contained in:
Erica Fischer
2022-08-19 15:02:00 -07:00
parent 64b23e6b8e
commit b7a00da8bc
7 changed files with 16 additions and 2 deletions
+1
View File
@@ -411,6 +411,7 @@ be reduced to the maximum that can be used with the specified _maxzoom_.
* `-pe` or `--empty-csv-columns-are-null`: Treat empty CSV columns as nulls rather than as empty strings.
* `-aI` or `--convert-stringified-ids-to-numbers`: If a feature ID is the string representation of a number, convert it to a plain number to use as the feature ID.
* `--use-attribute-for-id=`*name*: Use the attribute with the specified *name* as if it were specified as the feature ID. (If this attribute is a stringified number, you must also use `-aI` to convert it to a number.)
* `-pN` or `--single-precision`: Write double-precision numeric attribute values to tiles as single-precision to reduce tile size.
### Filtering features by attributes