Commit Graph

658 Commits

Author SHA1 Message Date
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
Bryan Housel
a988a0647d Add brand field to fuel preset (closes #2300) 2014-07-25 10:34:51 -04:00
Bryan Housel
60af39c7da add mtb:scale, mtb:scale:uphill, mtb:scale:imba (closes #2244) 2014-07-23 13:54:48 -04:00
Bryan Housel
4f141a153e name suggestions should set name and also brand (see #2300) 2014-07-22 14:44:25 -04:00
Bryan Housel
b090035e64 Merge pull request #2296 from bhousel/master
Support option strings for combo fields
2014-07-22 14:08:50 -04:00
John Firebaugh
467e7ee877 Add amenity=bus_station preset (fixes #2298) 2014-07-22 10:53:20 -07:00
Bryan Housel
cc7649406d Update preset options according to #2296 2014-07-22 12:15:05 -04:00
Bryan Housel
af0be9a59b remove unused indexed field property 2014-07-21 19:06:24 -04:00
Bryan Housel
98119b5b5b Add option strings for many combo fields.. 2014-07-21 16:27:30 -04:00
John Firebaugh
a75cd68364 Don't automatically tag motorways, etc. as oneway=yes 2014-07-13 09:23:06 -07:00
John Firebaugh
140f54dc07 Upgrade js-yaml
Fixes dumping of "yes" and "no" keys, which much be quoted.

See http://juliankniephoff.wordpress.com/2012/09/01/reserved-words-in-yaml-and-translating-booleans-in-rails/

Fixes #2286.
2014-07-13 09:09:53 -07:00
Bryan Housel
874a3e2ad6 disable Move and Rotate operations if area < 80% contained in the viewport
see #542.
Also included:
1. DRY up code for "% contained in" extent testing.
2. If action.disabled() returns a better reason, show that instead of the too_large one.
2014-07-11 17:11:50 -04:00
John Firebaugh
06ece1013f Re-add an access_simple field with suitable values 2014-07-10 09:49:33 -07:00
John Firebaugh
32f70af694 Revert "use simple access field for some presets"
This reverts commit 7faaa54165.

Fixes #2280
2014-07-09 11:44:36 -07:00
Aaron Lidman
c0c2bb06f4 Update imagery.json 2014-07-08 16:24:48 -04:00
Paul Norman
700e863b6c Use the more common tagging for a tailor
shop=tailor outnumbers craft=tailor by about 2:1, so should be preferred
2014-06-26 09:00:14 -07:00
Bryan Housel
40537f2a57 Add street lamp preset (fixes #2271) 2014-06-25 17:04:59 -04:00
John Firebaugh
dd42edb4bf Drop postcode for Ireland addresses
Per f2c5dc1d18 (commitcomment-6790305)
2014-06-25 10:21:58 -07:00
Christian Schwarz
c8e984d6d2 Merge branch 'master' of https://github.com/openstreetmap/iD into address-formats 2014-06-15 20:49:16 +02:00
John Firebaugh
11acf216c3 Don’t interpolate geometry type 2014-06-15 09:56:00 -07:00
Christian Schwarz
1ee2a653b3 Added many european address formats 2014-06-15 14:23:11 +02:00
Minh Nguyễn
25d11fe489 Corrected Vietnamese address preset
Nothing in Vietnam uses addr:suburb, and it seems to be intended to be subordinate to addr:district and addr:subdistrict, which means it definitely doesn’t map to thị xã. I also found some examples using addr:district for thị xã. So addr:district should be used for both quận and thị xã in a municipality.

The resulting placeholder text will be rather long, and Vietnamese mail tend to have each component on a separate line, so I also split subdistrict, district, and city onto separate lines.
2014-06-14 23:26:41 -07:00
Minh Nguyễn
37dc5df58c Added Vietnamese address format
Accounts for both rural and urban address formats.
2014-06-14 16:11:58 -07:00
John Firebaugh
f2a9154bf2 Add Brazilian format based on #2124 2014-06-13 11:39:17 -07:00
John Firebaugh
8a0b67afcc Add more placeholders 2014-06-13 11:39:17 -07:00
John Firebaugh
257d3e07df number -> housenumber 2014-06-13 10:38:48 -07:00
Christian Schwarz
13c1711d68 Switched to Nominatim api for now 2014-06-09 20:22:56 +02:00
Christian Schwarz
81effc23cf Removed local countries.json 2014-06-05 20:33:38 +02:00
Christian Schwarz
49eae8e389 Switched to a custom country code service 2014-06-05 20:30:12 +02:00
Christian Schwarz
5a51a6c8c2 Added gb address format with housename field 2014-06-05 00:42:15 +02:00
Christian Schwarz
60f51d7c79 Test country code lookup with nominatim 2014-06-04 01:05:46 +02:00
Christian Schwarz
b3acd56bbb Added support for localization of address fields 2014-06-03 22:49:42 +02:00
Bryan Housel
941ee1d88c Allow suggestion if preset with same name exists, pick suggestion w highest count..#2224 2014-05-28 13:17:48 -04:00
Bryan Housel
1f2420e599 Prefer more specific 'Crosswalk' preset over generic 'Crossing'
Many new users in my area are getting this wrong or skipping crossings entirely because:
1. Most crossings people want to map really are `crossing=zebra`.
2. 'zebra' is not a common term in the US so users don't know to pick it.
3. Popup help for 'Crossing' shows a zebra, so users think that's what they picked.
2014-05-24 12:20:52 -04:00
Bryan Housel
e2f1b39253 Name and icon updates to stadium, dojo, sports_center 2014-05-23 23:34:22 -04:00
Bryan Housel
d4b2bd6834 Merge pull request #2226 from datendelphin/master
Add amenity=dojo preset
2014-05-23 22:27:42 -04:00
Bryan Housel
89ac5f41db Merge pull request #2235 from bhousel/bhousel-fields
Allow checkbox fields to support custom strings
2014-05-23 22:16:14 -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
Martin Raifer
3011cbdaa8 fix typo: "only_straight_ahead" -> "only_straight_on" 2014-05-22 11:51:44 +02:00
John Firebaugh
48dc768bbb Merge branch 'turn-restrictions' 2014-05-21 14:22:22 -07:00
John Firebaugh
ec77ff1222 Update imagery 2014-05-21 14:14:31 -07:00
John Firebaugh
8b6ce214a2 Initial support for only_* restrictions 2014-05-19 15:53:46 -07: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
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
eaaff52d62 Help text 2014-05-18 16:02:48 -07:00