resolved conflict

This commit is contained in:
saman bb
2013-03-12 20:54:26 -04:00
55 changed files with 221 additions and 113 deletions
+1 -1
View File
@@ -1 +1 @@
{"access":{"key":"access","type":"combo"},"address":{"type":"address","keys":["addr:housename","addr:housenumber","addr:street","addr:city"],"universal":true},"atm":{"key":"atm","type":"check"},"building":{"key":"building","type":"combo"},"building_area":{"key":"building","type":"check","default":{"area":"yes"}},"building_yes":{"key":"building","type":"combo","default":{"area":"yes"}},"capacity":{"key":"capacity","type":"text"},"cuisine":{"key":"cuisine","type":"combo","indexed":true},"denomination":{"key":"denomination","type":"combo"},"elevation":{"key":"ele","type":"number","universal":true},"emergency":{"key":"emergency","type":"check"},"fax":{"key":"fax","type":"tel"},"fee":{"key":"fee","type":"check"},"internet_access":{"key":"internet_access","type":"combo","options":["yes","no","wlan","wired","terminal"]},"layer":{"key":"layer","type":"combo"},"levels":{"key":"building:levels","type":"number"},"maxspeed":{"key":"maxspeed","type":"combo"},"network":{"key":"network","type":"text"},"oneway":{"key":"oneway","type":"check"},"opening_hours":{"key":"opening_hours","type":"text"},"operator":{"key":"operator","type":"text"},"phone":{"key":"phone","type":"tel"},"religion":{"key":"religion","type":"combo","options":["christian","muslim","buddhist","jewish","hindu","shinto","taoist"]},"roadtype":{"title":" ","type":"radio","options":["bridge","tunnel","embankment","cutting"]},"shelter":{"key":"shelter","type":"check"},"source":{"key":"source","type":"text","universal":true},"surface":{"key":"surface","type":"combo"},"telephone":{"key":"phone","type":"tel","universal":true},"website":{"key":"website","type":"url","universal":true},"wikipedia":{"key":"wikipedia","type":"text","universal":true}}
{"access":{"key":"access","type":"combo"},"address":{"type":"address","keys":["addr:housename","addr:housenumber","addr:street","addr:city"],"universal":true},"aeroway":{"key":"aeroway","type":"combo"},"amenity":{"key":"amenity","type":"combo"},"atm":{"key":"atm","type":"check"},"bicycle_parking":{"key":"bicycle_parking","type":"combo"},"building":{"key":"building","type":"combo"},"building_area":{"key":"building","type":"check","default":{"area":"yes"}},"building_yes":{"key":"building","type":"combo","default":{"area":"yes"}},"capacity":{"key":"capacity","type":"text"},"collection_times":{"key":"collection_times","type":"text"},"construction":{"key":"construction","type":"combo"},"crossing":{"key":"crossing","type":"combo"},"cuisine":{"key":"cuisine","type":"combo","indexed":true},"denomination":{"key":"denomination","type":"combo"},"denotation":{"key":"denotation","type":"combo"},"elevation":{"key":"ele","type":"number","universal":true},"emergency":{"key":"emergency","type":"check"},"fax":{"key":"fax","type":"tel"},"fee":{"key":"fee","type":"check"},"highway":{"key":"highway","type":"combo"},"internet_access":{"key":"internet_access","type":"combo","options":["yes","no","wlan","wired","terminal"]},"landuse":{"key":"landuse","type":"combo"},"layer":{"key":"layer","type":"combo"},"leisure":{"key":"leisure","type":"combo"},"levels":{"key":"building:levels","type":"number"},"man_made":{"key":"man_made","type":"combo"},"maxspeed":{"key":"maxspeed","type":"combo"},"natural":{"key":"natural","type":"combo"},"network":{"key":"network","type":"text"},"office":{"key":"office","type":"combo"},"oneway":{"key":"oneway","type":"check"},"opening_hours":{"key":"opening_hours","type":"text"},"operator":{"key":"operator","type":"text"},"phone":{"key":"phone","type":"tel"},"place":{"key":"place","type":"combo"},"railway":{"key":"railway","type":"combo"},"religion":{"key":"religion","type":"combo","options":["christian","muslim","buddhist","jewish","hindu","shinto","taoist"]},"roadtype":{"title":" ","type":"radio","options":["bridge","tunnel","embankment","cutting"]},"service":{"key":"service","type":"combo","options":["parking_aisle","driveway","alley","drive-through","emergency_access"]},"shelter":{"key":"shelter","type":"check"},"shop":{"key":"shop","type":"combo"},"source":{"key":"source","type":"text","universal":true},"sport":{"key":"sport","type":"combo"},"surface":{"key":"surface","type":"combo"},"telephone":{"key":"phone","type":"tel","universal":true},"tourism":{"key":"tourism","type":"combo"},"water":{"key":"water","type":"combo"},"waterway":{"key":"waterway","type":"combo"},"website":{"key":"website","type":"url","universal":true},"wetland":{"key":"wetland","type":"combo"},"wikipedia":{"key":"wikipedia","type":"text","universal":true},"wood":{"key":"wood","type":"combo"}}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "aeroway",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "amenity",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "bicycle_parking",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "collection_times",
"type": "text"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "construction",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "crossing",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "denotation",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "highway",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "landuse",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "leisure",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "man_made",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "natural",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "office",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "place",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "railway",
"type": "combo"
}
-1
View File
@@ -1,5 +1,4 @@
{
"title": " ",
"type": "radio",
"options": [
"bridge",
+5
View File
@@ -0,0 +1,5 @@
{
"key": "service",
"type": "combo",
"options": ["parking_aisle", "driveway", "alley", "drive-through", "emergency_access"]
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "shop",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "sport",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "tourism",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "water",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "waterway",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "wetland",
"type": "combo"
}
+4
View File
@@ -0,0 +1,4 @@
{
"key": "wood",
"type": "combo"
}
File diff suppressed because one or more lines are too long
+1 -4
View File
@@ -12,9 +12,6 @@
}
},
"form": [
{
"key": "aeroway",
"type": "combo"
}
"aeroway"
]
}
+1 -4
View File
@@ -10,9 +10,6 @@
}
},
"form": [
{
"key": "amenity",
"type": "combo"
}
"amenity"
]
}
@@ -0,0 +1,18 @@
{
"name": "bicycle parking",
"match": {
"geometry": [
"point",
"area"
],
"tags": {
"amenity": "bicycle_parking"
}
},
"icon": "bicycle",
"form": [
"bicycle_parking",
"capacity",
"operator"
]
}
+1 -5
View File
@@ -18,11 +18,7 @@
},
"icon": "post",
"form": [
"address",
"operator",
{
"key": "collection_times",
"type": "text"
}
"collection_times"
]
}
+1 -2
View File
@@ -13,7 +13,6 @@
},
"form": [
"operator",
"building",
"address"
"building"
]
}
+1 -4
View File
@@ -12,9 +12,6 @@
}
},
"form": [
{
"key": "highway",
"type": "combo"
}
"highway"
]
}
+1 -4
View File
@@ -13,9 +13,6 @@
]
},
"form": [
{
"key": "crossing",
"type": "combo"
}
"crossing"
]
}
+1 -5
View File
@@ -11,11 +11,7 @@
},
"icon": "highway-service",
"form": [
{
"key": "service",
"type": "combo",
"options": ["parking_aisle", "driveway", "alley", "drive-through", "emergency_access"]
},
"service",
"oneway",
"roadtype",
"access",
+1 -4
View File
@@ -10,9 +10,6 @@
}
},
"form": [
{
"key": "landuse",
"type": "combo"
}
"landuse"
]
}
@@ -12,10 +12,7 @@
]
},
"form": [
{
"key": "construction",
"type": "combo"
},
"construction",
"operator"
]
}
+1 -4
View File
@@ -11,10 +11,7 @@
"terms": []
},
"form": [
{
"key": "wood",
"type": "combo"
}
"wood"
],
"icon": "park2"
}
+1 -4
View File
@@ -10,9 +10,6 @@
}
},
"form": [
{
"key": "leisure",
"type": "combo"
}
"leisure"
]
}
+1 -4
View File
@@ -12,10 +12,7 @@
},
"icon": "pitch",
"form": [
{
"key": "sport",
"type": "combo"
},
"sport",
"surface"
]
}
+1 -4
View File
@@ -12,9 +12,6 @@
}
},
"form": [
{
"key": "man_made",
"type": "combo"
}
"man_made"
]
}
+1 -4
View File
@@ -10,9 +10,6 @@
}
},
"form": [
{
"key": "natural",
"type": "combo"
}
"natural"
]
}
+1 -4
View File
@@ -12,10 +12,7 @@
}
},
"form": [
{
"key": "denotation",
"type": "combo"
}
"denotation"
],
"icon": "park"
}
+1 -4
View File
@@ -10,9 +10,6 @@
"terms": []
},
"form": [
{
"key": "water",
"type": "combo"
}
"water"
]
}
+1 -4
View File
@@ -11,9 +11,6 @@
"terms": []
},
"form": [
{
"key": "wetland",
"type": "combo"
}
"wetland"
]
}
+1 -4
View File
@@ -11,10 +11,7 @@
"terms": []
},
"form": [
{
"key": "wood",
"type": "combo"
}
"wood"
],
"icon": "park2"
}
+1 -4
View File
@@ -12,10 +12,7 @@
},
"icon": "commercial",
"form": [
{
"key": "office",
"type": "combo"
},
"office",
"address",
"opening_hours"
]
+1 -4
View File
@@ -10,9 +10,6 @@
}
},
"form": [
{
"key": "place",
"type": "combo"
}
"place"
]
}
+1 -4
View File
@@ -12,9 +12,6 @@
}
},
"form": [
{
"key": "railway",
"type": "combo"
}
"railway"
]
}
+1 -4
View File
@@ -12,10 +12,7 @@
},
"icon": "shop",
"form": [
{
"key": "shop",
"type": "combo"
},
"shop",
"address",
"opening_hours"
]
+1 -4
View File
@@ -10,9 +10,6 @@
}
},
"form": [
{
"key": "tourism",
"type": "combo"
}
"tourism"
]
}
+1 -4
View File
@@ -12,9 +12,6 @@
}
},
"form": [
{
"key": "waterway",
"type": "combo"
}
"waterway"
]
}
+4 -4
View File
@@ -81,8 +81,8 @@ iD.Connection = function(context) {
id: iD.Entity.id.fromOSM(wayStr, attrs.id.nodeValue),
version: attrs.version.nodeValue,
changeset: attrs.changeset.nodeValue,
user: attrs.user.nodeValue,
uid: attrs.uid.nodeValue,
user: attrs.user && attrs.user.nodeValue,
uid: attrs.uid && attrs.uid.nodeValue,
visible: attrs.visible.nodeValue,
timestamp: attrs.timestamp.nodeValue,
tags: getTags(obj),
@@ -96,8 +96,8 @@ iD.Connection = function(context) {
id: iD.Entity.id.fromOSM(relationStr, attrs.id.nodeValue),
version: attrs.version.nodeValue,
changeset: attrs.changeset.nodeValue,
user: attrs.user.nodeValue,
uid: attrs.uid.nodeValue,
user: attrs.user && attrs.user.nodeValue,
uid: attrs.uid && attrs.uid.nodeValue,
visible: attrs.visible.nodeValue,
timestamp: attrs.timestamp.nodeValue,
tags: getTags(obj),
+1 -5
View File
@@ -7,11 +7,7 @@ iD.presets.Preset = function(preset, forms) {
preset.additional = preset.additional ? preset.additional.map(getForms) : [];
function getForms(f) {
if (typeof f === 'string') {
return forms[f];
} else {
return iD.presets.Form(f, f.key);
}
return forms[f];
}
preset.matchGeometry = function(entity, resolver) {
+3 -4
View File
@@ -1,11 +1,9 @@
iD.ui.preset.radio = function(form) {
var event = d3.dispatch('change', 'close'),
buttons,
input;
buttons;
function radio(selection) {
selection.classed('preset-radio', true);
var buttonwrap = selection.append('div').attr('class','radio-wrap');
@@ -14,12 +12,13 @@ iD.ui.preset.radio = function(form) {
.data(form.options)
.enter()
.append('button')
.text(function(d) { return d; })
.text(function(d) { return form.t('options.' + d, {default: d}); })
.on('click', function() {
buttons.classed('active', false);
d3.select(this).classed('active', true);
change();
});
buttonwrap.append('button')
.on('click', function() {
buttons.classed('active', false);
+76 -1
View File
@@ -257,9 +257,18 @@ locale.en = {
"city": "City"
}
},
"aeroway": {
"label": "Type"
},
"amenity": {
"label": "Type"
},
"atm": {
"label": "ATM"
},
"bicycle_parking": {
"label": "Type"
},
"building": {
"label": "Building"
},
@@ -272,12 +281,24 @@ locale.en = {
"capacity": {
"label": "Capacity"
},
"collection_times": {
"label": "Collection Times"
},
"construction": {
"label": "Type"
},
"crossing": {
"label": "Type"
},
"cuisine": {
"label": "Cuisine"
},
"denomination": {
"label": "Denomination"
},
"denotation": {
"label": "Denotation"
},
"elevation": {
"label": "Elevation"
},
@@ -290,6 +311,9 @@ locale.en = {
"fee": {
"label": "Fee"
},
"highway": {
"label": "Type"
},
"internet_access": {
"label": "Internet Access",
"options": {
@@ -300,18 +324,33 @@ locale.en = {
"terminal": "Terminal"
}
},
"landuse": {
"label": "Type"
},
"layer": {
"label": "Layer"
},
"leisure": {
"label": "Type"
},
"levels": {
"label": "Levels"
},
"man_made": {
"label": "Type"
},
"maxspeed": {
"label": "Speed Limit"
},
"natural": {
"label": "Natural"
},
"network": {
"label": "Network"
},
"office": {
"label": "Type"
},
"oneway": {
"label": "One Way"
},
@@ -324,6 +363,12 @@ locale.en = {
"phone": {
"label": "Phone"
},
"place": {
"label": "Type"
},
"railway": {
"label": "Type"
},
"religion": {
"label": "Religion",
"options": {
@@ -337,7 +382,7 @@ locale.en = {
}
},
"roadtype": {
"label": "Road Type",
"label": "Features",
"options": {
"bridge": "Bridge",
"tunnel": "Tunnel",
@@ -345,11 +390,41 @@ locale.en = {
"cutting": "Cutting"
}
},
"service": {
"label": "Type"
},
"shelter": {
"label": "Shelter"
},
"shop": {
"label": "Type"
},
"source": {
"label": "Source"
},
"sport": {
"label": "Sport"
},
"surface": {
"label": "Surface"
},
"tourism": {
"label": "Type"
},
"wikipedia": {
"label": "Wikipedia"
},
"water": {
"label": "Type"
},
"waterway": {
"label": "Type"
},
"wetland": {
"label": "Type"
},
"wood": {
"label": "Type"
}
}
}