Commit Graph

635 Commits

Author SHA1 Message Date
Bryan Housel e9dfa04dd4 Social Facility preset improvements
(closes #3702)

* Add `social facility` field
* Make sure Social Facility presets have both `social_facility` and `social_facility:for`
* Change `social_facility:for` from radio to combo, because so many choices
2016-12-30 23:32:00 -05:00
Bryan Housel 9033c9d638 Standardize on calling things "features" instead of "objects"
(closes #3689)
2016-12-29 21:35:00 -05:00
popov ab5d3e4056 reflect-typo 2016-12-28 01:06:38 -05:00
Bryan Housel 0386ee249e Add castle_type field to Castle preset 2016-12-28 00:33:40 -05:00
Bryan Housel 0c9fb7c407 Improve military presets
(closes #3663)

* Add Nuclear Explosion Site and Military Office presets
* Add Bunker Type field
* Improve styling rules for preset icons
* Improve search terms for all military presets
* Nest military presets under `landuse=military`
* Add ref, iata, icao fields to Military Airfield
* Don't set area pattern fills on buildings
2016-12-27 01:19:13 -05:00
Bryan Housel c664281c2d Add presets for natural Bare Rock, Ridge, Sand
(closes #3646)

Also cleanup terms
2016-12-26 15:09:34 -05:00
Bryan Housel 99bf8d4dbd Remove extra "name" field from Plant Nursery preset
(closes #3678)

Also:
* changed Plant Nursery to be area geometry only, not point
* added "plant" field to Plant Nursery preset
* added "operator" field to this and other related presets
* added search terms for this and other related presets
2016-12-25 14:10:38 -05:00
Bryan Housel 37534aed0e More cleanup of operations and post-paste behavior
* Support move, rotate, reflect, delete post paste on multiselection
* Improve text and error msgs for singular vs multi selections
* Move `disabled` checks from actions to operations
* Reproject center of rotation (closes #3667)
* Cleanup tests
2016-12-21 23:58:13 -05:00
Bryan Housel 82665a6883 Add preset for power=plant
(closes #3661)

This one was a little complicated because they are generally tagged along
with landuse=industrial, and we want to make sure the power=plant is
the tag used for matching.
2016-12-18 21:27:34 -05:00
Bryan Housel a9ce12a074 Improve factory/works preset, add Product field 2016-12-16 16:35:51 -05:00
Bryan Housel 2267035dfb Support both reflect long axis and reflect short axis operations 2016-12-16 13:59:33 -05:00
Bryan Housel dca1c8fb41 Add reflect icons 2016-12-16 11:24:29 -05:00
Bryan Housel 5a6045fd3d Merge branch 'master' into Psigio-3375 2016-12-14 11:30:53 -05:00
Bryan Housel 6bfef30ecd Add waterfall preset
(closes #3608)
2016-12-13 23:22:27 -05:00
Bryan Housel 0f05df86e3 Proper Case labels 2016-12-11 17:35:51 -05:00
Mikołaj "Natsuyasumi" Kuranowski b201cba513 Public bath scheme 2016-12-09 13:17:36 +01:00
Bryan Housel fc0b8a6a90 npm run translations 2016-11-27 23:56:39 -05:00
Bryan Housel 9e50af529b Adjust placeholders, labels.. add specific Surveillance Camera preset
* Having separate presets for Surveillance and Surveillance Camera means
we can show the camera related fields only if `surveillance:type=camera`
* Generally use Upper Case for labels and keep it short
* if list of values is really fixed, use options strings to make them translateable
* if list of values is not fixed, avoid adding placeholder, iD will fetch from taginfo
* Seems like value "ALPR" is preferred over "alpr"
2016-11-26 16:42:37 -05:00
Bryan Housel d2432ad96a Merge branch 'preset/surveillance_extended_fields_camera' of https://github.com/bkil/iD into bkil-preset/surveillance_extended_fields_camera 2016-11-26 16:11:42 -05:00
samely c51c170797 add presets to amenity=food_court and amenity=crematorium 2016-11-26 13:03:08 -05:00
bkil c4140bf2b5 fix up generated files via npm run build 2016-11-23 13:45:26 +01:00
Bryan Housel 90210f4932 Add maxheight field and add it to many highway presets
(closes #3605)
2016-11-21 11:11:13 -05:00
Bryan Housel 8fe66fa65d Add fence and wall type fields, add height field to some barriers
(closes #3602)
2016-11-20 21:04:33 -05:00
Bryan Housel e3212e6ea4 Add presets for Aquarium, Resort, Dance Hall
(closes #3579)
2016-11-19 01:08:29 -05:00
Bryan Housel 9dfdf09d0e Add internet_access, outdoor_seating to presets that might use them 2016-11-18 14:11:10 -05:00
Bryan Housel cf85acf5eb npm run translations 2016-11-17 14:18:25 -05:00
Bryan Housel 2448f1af1c npm run translations 2016-11-17 13:02:40 -05:00
Bryan Housel 857c54c634 npm run build to update generated en.json 2016-11-15 11:41:38 -05:00
Bryan Housel 6828187d96 npm run translations 2016-11-15 00:37:59 -05:00
Bryan Housel 9b7d79a3fe Use live bound object for presets object, change context.presets() getter 2016-11-14 15:44:02 -05:00
Bryan Housel 93d50b4e87 Use live bound object for imagery array, remove context.imagery() accessor
Also update documentation, closes #3359
2016-11-14 11:16:45 -05:00
Martin Raifer 10a6719ea2 add presets for tourism=information subtags
* guidepost
* board
* map
* office
2016-11-09 11:18:39 +01:00
Bryan Housel 16ada1f29a Better error handling for common osm api error conditions
* if 509 Bandwidth Exceeded / 429 Too Many Requests, prompt for login
(closes #2262)
* if 400 Bad Request / 401 Unauthorized / 403 Forbidden - logout and retry
(closes #3546)
2016-11-08 21:43:27 -05:00
Bryan Housel 37965f40d8 Adjust tower field labels, remove lighthouse icons 2016-11-07 01:12:14 -05:00
Bryan Housel 393065725b Add Turning Loop preset, adjust icons
(closes #3557)

For the icons:
* use open circle for traversable features (turning_circle, mini-roundabout)
* use closed circle for non-traversable features (turning_loop, island)
2016-11-06 22:23:58 -05:00
Bryan Housel 9e025297fe Add Internet Cafe preset
(closes #3559)
2016-11-06 21:54:34 -05:00
Jon D 73f3069c59 Rename for consistency, add logic to prevent flip if all of object not visible and if linked to hidden. Label does not render for message when not enabled 2016-11-06 11:15:15 +00:00
Jon D 23990214be Update to only flip around the vertical axis. Start renaming to 'reflect' 2016-11-06 10:48:48 +00:00
Jon D f37475fad9 Add flip horizontal/vertical operations 2016-11-05 19:27:52 +00:00
Jon D 3052466f75 Other changes to expose new operation 2016-11-05 15:04:27 +00:00
Bryan Housel b52306b62f Add Guest Apartment / Condo preset
(closes #3548)
2016-11-05 10:27:27 -04:00
Bryan Housel 72d16fd76d Improve traffic calming presets
(closes #3218)

* Allow traffic calmings on vertex and line geometry where appropriate
* Add parallel_direction field to tag forward/backward
* Add generic traffic calming preset and type field
* Add traffic calming to defaults.json for "vertex" geometry
* Add a bunch of types that we didn't have before (island, dip, choker, etc)
* Add some search terms
2016-11-02 18:12:20 -04:00
Bryan Housel ba15c7d299 Restore recycling_type, improve all the waste/recycling presets
(closes #2689)
2016-10-31 21:07:21 -04:00
Bryan Housel 8cd2d7097c Add preset for camp_site=camp_pitch for individual pitches 2016-10-31 17:08:01 -04:00
Bryan Housel 1692f5ece0 Rename "Camp Site" to "Campground" 2016-10-31 16:49:28 -04:00
Bryan Housel a6cf49db80 Use multiselect field for bike shop services 2016-10-31 15:06:58 -04:00
Bryan Housel 718c02c618 Add Billboard preset
(closes #3386)
2016-10-31 01:10:32 -04:00
Bryan Housel f4157e5add Add Waste Transfer Station preset
(re: #3387)
2016-10-31 00:55:53 -04:00
Bryan Housel 577637f97a npm run translations 2016-10-26 16:38:16 -04:00
Bryan Housel 8fb5f3a5a1 Degunk data sources by named-importing single toplevel key
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454

This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging.  This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00