Commit Graph

1180 Commits

Author SHA1 Message Date
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
6ed2dce08d Use fake phone number for placeholder 2016-12-17 16:02:50 -05:00
Supaplextw
8f40627936 fix format: remove comma 2016-12-17 15:58:36 -05:00
Supaplextw
ec6134464e Add Taiwan phone format 2016-12-17 15:58:27 -05:00
Bryan Housel
a9ce12a074 Improve factory/works preset, add Product field 2016-12-16 16:35:51 -05:00
Bryan Housel
59dc6f38f3 Merge branch 'patch-1' of https://github.com/abdeldjalil09/iD into abdeldjalil09-patch-1 2016-12-16 16:27:50 -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
abdeldjalil09
888de8487e Add address field to works preset 2016-12-15 17:01:14 +01: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
4fa754e717 Adjust matchScores so features match types other than barrier
(closes #3647)

e.g. `office=* + barrier=wall` should match as an office not a wall
2016-12-12 22:33:53 -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
0c024698d1 Remove "covered" field from Bus Stop preset
(closes #3627)
2016-12-02 05:44:25 -05:00
Bryan Housel
5494d0990a Pull RTL/LTR from Transifex
(closes #3489)
2016-11-27 23:56:17 -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
bkil
c87ff327e1 data/presets/presets/man_made/surveillance.json: add some common fields 2016-11-23 13:40:47 +01:00
bkil
ad1b6998a4 data/presets/fields: add surveillance and camera related properties
https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dsurveillance
https://wiki.openstreetmap.org/wiki/Proposed_features/Extended_tags_for_Key:Surveillance

These are mandatory tags:
* `surveillance`
* `surveillance:type`

I do not feel that the following are important, they can be selected from
the drop down manually anyway:
* `operator`
* `name`

These tags are well established:

* `camera:type` has 15k users
* `camera:mount` has 13k users
* `surveillance:zone` has 17k users (mostly traffic is noted)
* `camera:direction` has 6k users

These tags are in the proposed status:
* `contact:webcam` usage is only starting
* `height`

People used various tags instead of `contact:webcam` in the past
because of it being a recent tag, and/or a lack of knowledge or being
mislead by the dropdown.

Thus it is difficult to quote an exact number, but by using complex
regexp queries, I could find thousands of usages for webcam links
when properly combining man_made/surveillance/camera and various
(sometimes invalid) keywords in the key or value part of a tag:

* `website`
* `image`
* `uri`, `url`, `link`, `http`, `contact`
* `stream`
* `webcam`
2016-11-23 13:40:41 +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
6e86c235b1 Tag should be fence_type not fence
(re #3602)
2016-11-20 23:32:29 -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
bkil
94a546ca63 data/presets/presets/highway/traffic_mirror.json: new
https://wiki.openstreetmap.org/wiki/Tag:highway%3Dtraffic_mirror
2016-11-18 13:28:42 -05:00
bkil
504ed75e49 data/presets/presets/man_made/surveillance.json: add search terms 2016-11-18 13:27:46 -05:00
bkil
a0128e81fb data/presets/presets/amenity/pub.json: add search terms 2016-11-18 13:26:22 -05:00
bkil
2b44f9ed59 data/presets/presets/amenity/hunting_stand.json: add search terms 2016-11-18 13:25:57 -05:00
bkil
ed2f6934e0 data/presets/fields/outdoor_seating.json: new (for pub, restaurant, ...)
https://wiki.openstreetmap.org/wiki/Key:outdoor_seating
2016-11-18 13:25:29 -05:00
bkil
53e2fffee6 data/presets/fields/internet_access/ssid.json: new
https://wiki.openstreetmap.org/wiki/Key:internet_access#Fee_and_attributes
2016-11-18 13:25:11 -05:00
Bryan Housel
e331bb7f8c Use imagery ids instead of names, update blacklist, npm run imagery 2016-11-17 14:16:52 -05:00
Klumbumbus
4d346196d0 Update core.yaml 2016-11-15 12:51:49 +01:00
Bryan Housel
c85a352c7f npm run imagery 2016-11-15 00:43:13 -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
Bryan Housel
f800e5afbc Remove unnecessary window parameter to Context 2016-11-10 15:19:03 -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
6b77116303 Add religious-christian icon to wayside_cross preset 2016-11-07 01:21:15 -05:00
Bryan Housel
37965f40d8 Adjust tower field labels, remove lighthouse icons 2016-11-07 01:12:14 -05:00
bkil
41b9afd507 data/presets: add construction, height and icon to mast, tower 2016-11-07 01:04:33 -05:00
bkil
4d520d4b91 data/presets/README: some typo fixes 2016-11-07 00:45:33 -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