Prefix unsearchable preset filenames with underscore

This commit is contained in:
Bryan Housel
2016-08-03 11:49:00 -04:00
parent 423329c1eb
commit 0d2f78c209
27 changed files with 10 additions and 0 deletions

View File

@@ -48,6 +48,16 @@ A basic preset is of the form:
}
```
#### Searchable
Deprecated or generic presets can include the property `"searchable": false`.
This means that they will be recognized by iD when editing existing data,
but will not be available as an option when adding new features.
By convention, unsearchable presets have filenames that begin with an underscore
(e.g. `data/presets/presets/landuse/_farm.json`)
## Fields
Fields are, like presets, defined in JSON structures. A typical field is