Commit Graph

4499 Commits

Author SHA1 Message Date
Bryan Housel
191c7002f4 Handle empty selectedIDs.. 2014-05-22 16:20:52 -04:00
Bryan Housel
8380981ac3 Pretend oneway field is a oneway_yes field if junction=roundabout is set. 2014-05-22 15:47:54 -04:00
Bryan Housel
e3e2ea602a Checkmark fields now support custom string options
oneway fields now show "Assumed to be No" or "Assumed to be Yes" instead of "Unknown" #2220
2014-05-22 13:51:23 -04:00
Bryan Housel
d973580203 Add to .gitignore: .DS_Store, node_modules 2014-05-22 13:44:45 -04:00
Bryan Housel
b8501bcf89 iD.Way.isOneWay should return false if oneway=no #2220
i.e. overrides implied oneway tag like `highway=motorway` or `junction=roundabout`
2014-05-20 00:14:23 -04:00
Bryan Housel
af41940663 revert e07104f761 see #2220 2014-05-19 16:10:07 -04:00
Bryan Housel
e41f438daf Add prefix for ford=yes for vertex geometry #2224 2014-05-19 15:45:24 -04:00
Bryan Housel
a757142146 Rename "Entrance" as "Entrance/Exit" and add parking_entrance preset. 2014-05-19 15:39:16 -04:00
Bryan Housel
545183c721 Remove foot: yes placeholder for cycleway and bridleway #2221 2014-05-19 12:56:43 -04:00
Bryan Housel
429f20a450 Improve access tag placeholders #2221 2014-05-19 12:22:52 -04:00
Bryan Housel
4c5e6bee75 Add a preset for ford=yes tag #2224 2014-05-19 11:29:33 -04:00
Bryan Housel
47e5273da0 use new maki icons #2227 2014-05-19 11:13:21 -04:00
Bryan Housel
e07104f761 Way can be reasonably assumed to not be oneway. #2220 2014-05-19 10:58:35 -04:00
John Firebaugh
173d379316 Merge branch 'bhousel-bhousel-fields' 2014-05-18 12:39:24 -07:00
John Firebaugh
f9520362c9 Use match rather than split 2014-05-18 12:39:15 -07:00
Bryan Housel
22c71bffca Update regexp, and remove trim from old key.. 2014-05-16 16:31:34 -04:00
Bryan Housel
846d637aa7 Trim tag keys, and prevent duplicate tag keys (#2043) 2014-05-16 12:37:02 -04:00
John Firebaugh
cb1972d76f Make field reference more flexible
Will need to support {"rtype": "restriction"} for turn
restriction field.
2014-05-14 17:22:24 -07:00
Martin Raifer
4261fefc6e Fix inline tag help for fields that handle multiple tags
Some preset fields like the access-restriction field manage
multiple tags at once (access=*, foot=*, bicycle=*, …). Then
iD wasn't able to show inline help when clicking the ⓘ button.

This introduces a new parameter for these kind of fields:
`referenceKey` determines the tag key which should be used to
search taginfo documentation for.

Fixes #2222.
2014-05-11 21:02:25 +02:00
Martin Raifer
fee1ce7443 update maki sprite 2014-05-11 20:52:46 +02:00
John Firebaugh
a35990cfc7 Update translations 2014-05-03 13:12:24 -07:00
Bryan Housel
749d145f50 Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-03 10:34:09 -04:00
Bryan Housel
004be4bb9a Access field should allow "yes" placeholders to be overridden (#2213) 2014-05-02 15:30:00 -04:00
Bryan Housel
14efaee004 Remove "designated" from the general access case (#2213) 2014-05-02 14:46:07 -04:00
Bryan Housel
0eca063b8e Move building styles after everything.
(mostly so railway=station tagged building looks like a building)
2014-05-01 10:40:26 -04:00
Bryan Housel
21882299c7 Move building tag class before everything
(so railway=station tagged building looks like a building)
2014-05-01 10:38:52 -04:00
Bryan Housel
e3eb244d3f Remove fuel fields from amenity=fuel for now, issue #1987 2014-05-01 10:09:32 -04:00
Bryan Housel
66a1464031 Avoid dashed stroke on railway areas and railway platforms.. 2014-05-01 01:16:33 -04:00
Bryan Housel
d46e34053e Add presets for gas station fuel types, EV charging station. 2014-04-30 22:11:07 -04:00
Bryan Housel
11f3336024 Add 'width', 'length', 'lit' for appropriate presets (cycleways, sidewalks, sports pitch, etc) 2014-04-30 16:29:48 -04:00
Bryan Housel
b55bb0e55d Move all structure styles (bridge/tunnel/embarkment) after way styles. 2014-04-30 14:03:51 -04:00
Bryan Housel
f3ee2664a1 Render embarkment/cutting with dashed casing 2014-04-30 14:01:46 -04:00
Bryan Housel
5bcd228f27 Remove tag-highway from tunnel css, so railway and waterway tunnels get some opacity too. 2014-04-30 10:23:04 -04:00
Bryan Housel
c289f33e86 Order building before other tag classes, so buildings always show as red 2014-04-30 00:01:56 -04:00
Bryan Housel
6202d01bf3 Add population field for various place presets 2014-04-29 22:23:55 -04:00
John Firebaugh
b2b3a34d6b Add landuse=churchyard preset 2014-04-26 16:46:30 -07:00
John Firebaugh
ce237a56b2 Add some fields for crossings 2014-04-26 16:01:58 -07:00
John Firebaugh
c2ac0518b8 Fix more fill opacities 2014-04-26 13:32:59 -07:00
John Firebaugh
75bf1cfd04 Fix typo 2014-04-26 12:50:12 -07:00
John Firebaugh
300c777280 Add shop=wine preset 2014-04-26 12:44:13 -07:00
John Firebaugh
154c9a72e4 Remove smoking field from generic building preset
Fixes #2209
2014-04-26 12:40:13 -07:00
John Firebaugh
afce1c9840 Merge pull request #2194 from bhousel/bhousel-operations
Improvements to circularize action
2014-04-23 19:11:40 -07:00
John Firebaugh
8417329039 Fix highway=pedestrian area fill 2014-04-23 18:58:23 -07:00
Bryan Housel
cab2705d57 Add tests for circularizing concave ways, straight line ways, Add isCircular() test.. 2014-04-23 16:11:42 -04:00
Bryan Housel
d245121b19 Fix isConvex() to correctly test the angle that closes the way. 2014-04-23 14:12:20 -04:00
Bryan Housel
33782a3958 Require 2 uniq points for circularize. Handle 2 point case, where D3 centroid() fails. 2014-04-21 23:29:25 -04:00
John Firebaugh
643db5af81 Use defaultcheck for building_area field (fixes #2111) 2014-04-15 16:33:43 -07:00
John Firebaugh
95edc5ff03 Fix up defaultcheck field type
It now works as determinate checkbox, where a checked
state produces *=yes and an unchecked state produces no
tag.
2014-04-15 16:33:43 -07:00
John Firebaugh
7b958cc1eb Fix custom template prompt showing "undefined" 2014-04-15 15:55:52 -07:00
John Firebaugh
273b5e2f63 Fix fill colors 2014-04-15 15:41:57 -07:00