Add an option to use a specified feature attribute as the feature ID

This commit is contained in:
Eric Fischer
2018-11-02 15:21:52 -07:00
parent 53de8a2014
commit bd2423a5ea
11 changed files with 155 additions and 4 deletions
+1
View File
@@ -353,6 +353,7 @@ resolution is obtained than by using a smaller _maxzoom_ or _detail_.
to specify how the named _attribute_ is accumulated onto the attribute of the same name in a feature that does survive.
* `-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.)
### Filtering features by attributes