Commit Graph

669 Commits

Author SHA1 Message Date
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
1a8ef310c6 Merge branch 'master' into preset-cleanup
Conflicts:
	data/presets/presets.json
	data/presets/presets/amenity/post_office.json
2014-08-25 14:05:49 -04:00
Bryan Housel
bf4659e98f more consistency in presets..
* in general, display fields:
    operator, address, building_area, hours (where this makes sense)
* make kindergarten, school, college, university more similar
* show building_area for most craft=* and shop=*
* remove erroneous `tinsmith` file
* update README
* structure json files like:
    icon, fields, geometry, terms, tags, name
    (most json files were this way already)
2014-08-25 13:44:49 -04:00
John Firebaugh
f11e8c5635 Add address to post office preset (fixes #2332) 2014-08-25 10:29:18 -07:00
John Firebaugh
0221c9b877 Rewrite area intro sentence (#2336) 2014-08-25 10:26:27 -07:00
Bryan Housel
a8840a1075 Better presets for running, motor, non-motor race tracks
closes #2330
2014-08-22 12:34:39 -04:00
John Firebaugh
362d1b4a58 Add preset for amenity=bureau_de_change (fixes #2309) 2014-07-29 14:24:04 -07:00
John Firebaugh
b448d0e236 Make amenity preset non-searchable (fixes #2310) 2014-07-29 14:21:35 -07:00
John Firebaugh
1519ad6273 Merge pull request #2299 from simonpoole/patch-3
Reword description for delete action
2014-07-29 10:43:22 -07: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
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
simonpoole
b1b3bc73eb Reword description for delete action
The current text implies that deleting hides a feature on the map, and not what it really does.
2014-07-22 10:42:14 +02: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