Commit Graph

142 Commits

Author SHA1 Message Date
Bryan Housel 1a9c111d78 Set field.keys so that delete/undo buttons work
For multiselect fields,
field.key should have a ':' on the end of it - we use as the prefix, not the real key
field.keys should contain the array of real keys being modified

see https://github.com/openstreetmap/iD/blob/master/js/id/ui/preset.js#L17-L45

The address field preset works like this also..
It contains an array of key.fields for all the subfields that might be set.
For multiselect fields, we don't know ahead of time what all the subfields are,
so we append to the list in `change()` and rebuild list in `tags()`
2016-04-22 21:22:24 -04:00
Kushan Joshi 9261752068 add multiselect preset 2016-04-03 12:40:14 +05:30
Bryan Housel d45613bef5 Use access=yes instead of access=public for toilets
(closes #2576)
2016-02-16 23:49:53 -05:00
Bryan Housel e45cb9619b Add Site Relation to defaults.json, run make
(closes #2930)
2016-02-01 14:14:23 -05:00
Bryan Housel 84c98dacb7 Restore generated files in git and 4 space json
https://github.com/openstreetmap/iD/commit/90cd412bbe0bf0cfbe0631a8073a5c8d415093f3#commitcomment-15780969
2016-02-01 12:27:29 -05:00
Bryan Housel 90cd412bbe Don't check in as many data/ generated files, less agressive minification
(partial revert of c2833ba to help prevent merge conflicts)
2016-01-29 23:28:37 -05:00
Bryan Housel 0f352047d4 Building field should be combo not typeCombo
(because `building=yes` is a valid and popular tag)
2016-01-29 21:12:43 -05:00
Bryan Housel 792656f60f Add universal multiline text field for description, fixme (closes #1518) 2016-01-23 23:15:41 -05:00
Bryan Housel 129eaa4f18 make imagery 2016-01-19 22:59:26 -05:00
Bryan Housel ad7fc672f0 Run make to update generated preset files 2015-12-30 21:10:18 -05:00
Bryan Housel b7e343114f preset icons, add dock field 2015-12-27 00:31:48 -05:00
Bryan Housel 20a80830fe Change maxstay to combo with options, no placeholder (closes #2866) 2015-12-09 13:46:53 -08:00
Bryan Housel bddb7cb8c8 Add maxstay field for amenity=parking preset (closes #2851) 2015-12-07 23:37:51 -08:00
Bryan Housel df1cbbffb4 Add handrail field to steps preset (closes #2815) 2015-11-25 00:14:55 -05:00
Bryan Housel 12409e48e1 Add traffic signal type field 2015-09-27 23:00:07 -04:00
Bryan Housel 522e593f11 Improvements to access field (closes #2763) 2015-09-08 00:03:34 -04:00
Bryan Housel 701731485e Less strict polygon intersection test in findOuter (closes #2755) 2015-09-01 14:48:40 -04:00
Bryan Housel 6afefb7510 Use different leaf_cycle/leaf_type for singular tree (closes #2753)
And don't show "mixed" options for singular tree (closes #2752)
2015-09-01 13:47:04 -04:00
Bryan Housel 794cac6ef1 Change caption "Access" -> "Allowed Access" (closes #2761) 2015-09-01 13:19:25 -04:00
Bryan Housel 9a7042b530 Add recycling:glass_bottles, recycling:plastic (closes #2730) 2015-07-30 09:52:06 -04:00
Bryan Housel 11c009ee70 Add bicycle=dismount access option (closes #2726) 2015-07-27 16:17:43 -04:00
Bryan Housel ee00564a6c Add preset for area:highway=* (closes #2627) 2015-07-08 21:34:49 -04:00
Bryan Housel 46812abd1b Restore complete list of keys for address preset (closes #2698) 2015-07-01 16:15:07 -04:00
Bryan Housel 58cb66f472 Add highway=corridor and universal level field
For now, `highway=corridor`:
  * styled like highway=pedestrian
  * and matches 'paths' feature filter.

(closes #2687, closes #2218)
2015-06-30 22:02:22 -04:00
Bryan Housel f2dea4eb3c Translatable options strings and fix recycling icon 2015-06-30 10:55:31 -04:00
Eric Brelsford dbaf8a1465 Add recycling_type preset field
Fixes #2689
2015-06-17 14:18:30 -04:00
Eric Brelsford 1814133371 Remove dropdown to change cycleway on both sides 2015-06-15 13:23:16 -04:00
Eric Brelsford a5dfee71b1 Use "none" as cycleway field placeholder
Ensure "no" is not saved to OSM
2015-06-09 15:15:48 -04:00
Eric Brelsford 31c57c01ce Add cycleway preset for highways with bike lanes 2015-06-09 14:49:50 -04:00
Bryan Housel 840e3727cb Add presets for man_made=storage_tank and silo (closes #2662) 2015-05-28 09:42:49 -04:00
Bryan Housel f761ca1f91 Add RV/Marine toilet disposal presets and related fields (closes #2623) 2015-05-27 17:38:12 -04:00
Bryan Housel cc9bcba4e6 Add drive_through preset to fast_food, atm, etc
Thanks @brianegge (closes #2459)
2015-03-18 10:50:00 -04:00
Bryan Housel dffff73d39 Use combo not checkbox for building field (fixes #2553) 2015-03-18 10:25:59 -04:00
Bryan Housel 50a3fe320e Add service field for railways (closes #2552) 2015-03-12 14:33:06 -04:00
Bryan Housel 81798423c0 Add incline field for highway=steps (fixes #2456) 2015-03-06 10:08:33 -05:00
Bryan Housel 781db91fbc make clean to remove old chaintool field 2015-02-14 11:33:16 -05:00
Bryan Housel b36c9df610 field service:bicycle:chaintool changed to chain_tool
(re: #2497)
2015-02-14 11:29:43 -05:00
Bryan Housel 65425cb738 Fix typo in smoothness.json: should be "impassable"
(closes #2523)
2015-02-09 13:22:22 -05:00
Bryan Housel 62c9afcd2d Add gender field to amenity=toilets (closes #2422) 2015-02-03 12:36:25 -05:00
Bryan Housel 3bc98bec58 Update tree and forest presets
(closes #2512)

for `natural=tree`, `natural=wood`, `landuse=forest`
deprecate keys `type` and `wood`
now use keys `leaf_type`, `leaf_cycle`
2015-01-24 23:16:11 -05:00
Bryan Housel 1ca44a2677 Add brand field to amenity=bicycle_repair_station
(re: #2497)
2015-01-24 22:16:43 -05:00
Bryan Housel d668498414 Add amenity=bicycle_repair_station preset (closes #2497) 2015-01-13 21:47:52 -05:00
John Firebaugh d9294e3e04 Add substation type field
Fixes #2486
2014-12-21 15:37:13 -08:00
John Firebaugh 29c2a85488 Add takeaway and delivery fields
Fixes #2483
2014-12-21 15:27:18 -08:00
Aleksandr Zykov f1f4835848 added bench field
added bench and covered fields to bus_stop preset
2014-11-23 12:52:14 +05:00
Bryan Housel f67ec4f957 another round of preset cleanups:
* improve search terms, and remove some which were redundant
* add many missing presets under `shop=*` (from wiki)
* remove `vertex` geometry from many building-like presets
2014-08-26 00:25:34 -04:00
Bryan Housel a8840a1075 Better presets for running, motor, non-motor race tracks
closes #2330
2014-08-22 12:34:39 -04:00
Minh Nguyễn ff32dc3897 climing → climbing 2014-07-26 15:58:05 -07:00
John Firebaugh 9f00e465e9 Revert brand-related preset changes
I'm not convinced we shouldn't be encouraging simply tagging
`name=McDonald's`, `name=Shell`, etc., without `brand` or
`operator` at all.
2014-07-25 10:02:12 -07:00
Bryan Housel 7cd7ec8af6 add brand field to fast_food, restaurant presets too 2014-07-25 11:22:04 -04:00