mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-08 03:06:40 +02:00
Use json-stringify-pretty-compact for compacter json
(this reduces a few file sizes and will make for better github diffs)
This commit is contained in:
+6
-5
@@ -7,13 +7,14 @@ const _isEmpty = requireESM('lodash-es/isEmpty').default;
|
||||
const _merge = requireESM('lodash-es/merge').default;
|
||||
const _toPairs = requireESM('lodash-es/toPairs').default;
|
||||
|
||||
const colors = require('colors/safe');
|
||||
const fs = require('fs');
|
||||
const glob = require('glob');
|
||||
const jsonschema = require('jsonschema');
|
||||
const path = require('path');
|
||||
const prettyStringify = require('json-stringify-pretty-compact');
|
||||
const shell = require('shelljs');
|
||||
const YAML = require('js-yaml');
|
||||
const colors = require('colors/safe');
|
||||
|
||||
const fieldSchema = require('./data/presets/schema/field.json');
|
||||
const presetSchema = require('./data/presets/schema/preset.json');
|
||||
@@ -89,18 +90,18 @@ module.exports = function buildData() {
|
||||
var tasks = [
|
||||
writeFileProm(
|
||||
'data/presets/categories.json',
|
||||
JSON.stringify({ categories: categories }, null, 4)
|
||||
prettyStringify({ categories: categories })
|
||||
),
|
||||
writeFileProm(
|
||||
'data/presets/fields.json',
|
||||
JSON.stringify({ fields: fields }, null, 4)
|
||||
prettyStringify({ fields: fields }, { maxLength: 9999 })
|
||||
),
|
||||
writeFileProm(
|
||||
'data/presets/presets.json',
|
||||
JSON.stringify({ presets: presets }, null, 4)
|
||||
prettyStringify({ presets: presets }, { maxLength: 9999 })
|
||||
),
|
||||
writeFileProm('data/presets.yaml', translationsToYAML(translations)),
|
||||
writeFileProm('data/taginfo.json', JSON.stringify(taginfo, null, 4)),
|
||||
writeFileProm('data/taginfo.json', prettyStringify(taginfo), { maxLength: 9999 }),
|
||||
writeEnJson(tstrings),
|
||||
writeFaIcons(faIcons)
|
||||
];
|
||||
|
||||
+143
-142
@@ -1,144 +1,145 @@
|
||||
{
|
||||
"dataAddressFormats": [
|
||||
{
|
||||
"format": [
|
||||
["housenumber", "street"],
|
||||
["city", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["au"],
|
||||
"format": [
|
||||
["unit", "housenumber", "street"],
|
||||
["suburb", "state", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["gb"],
|
||||
"format": [
|
||||
["housename"],
|
||||
["housenumber", "street"],
|
||||
["city", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["ie"],
|
||||
"format": [
|
||||
["housename"],
|
||||
["housenumber", "street"],
|
||||
["city"],
|
||||
["postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["at", "ch", "de", "si", "pl"],
|
||||
"format": [
|
||||
["street", "housenumber"],
|
||||
["postcode", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": [
|
||||
"ad", "ba", "be", "cz", "dk", "es",
|
||||
"fi", "gr", "hr", "is", "it", "li",
|
||||
"nl", "no", "pt", "se", "sk", "sm",
|
||||
"va"
|
||||
],
|
||||
"format": [
|
||||
["street", "housenumber", "unit"],
|
||||
["postcode", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["fr", "lu", "mo"],
|
||||
"format": [
|
||||
["housenumber", "street"],
|
||||
["postcode", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["br"],
|
||||
"format": [
|
||||
["street"],
|
||||
["housenumber", "suburb"],
|
||||
["city", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["vn"],
|
||||
"format": [
|
||||
["housenumber", "street"],
|
||||
["subdistrict"],
|
||||
["district"],
|
||||
["city"],
|
||||
["province", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["ca"],
|
||||
"format": [
|
||||
["housenumber", "street", "unit"],
|
||||
["city", "province", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["us"],
|
||||
"format": [
|
||||
["housenumber", "street", "unit"],
|
||||
["city", "state", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["tw"],
|
||||
"format": [
|
||||
["postcode", "city", "district"],
|
||||
["place", "street"],
|
||||
["housenumber", "floor","unit"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["jp"],
|
||||
"format": [
|
||||
["postcode", "province", "county"],
|
||||
["city", "suburb"],
|
||||
["quarter", "neighbourhood"],
|
||||
["block_number", "housenumber"]
|
||||
],
|
||||
"dropdowns": [
|
||||
"postcode", "province", "county",
|
||||
"city", "suburb",
|
||||
"quarter", "neighbourhood",
|
||||
"block_number"
|
||||
],
|
||||
"widths": {
|
||||
"postcode": 0.3, "province": 0.35, "county": 0.35,
|
||||
"city": 0.65, "suburb": 0.35,
|
||||
"quarter": 0.5, "neighbourhood": 0.5,
|
||||
"block_number": 0.5, "housenumber": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"countryCodes": ["tr"],
|
||||
"format": [
|
||||
["neighbourhood"],
|
||||
["street", "housenumber"],
|
||||
["postcode", "district", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["ua"],
|
||||
"format": [
|
||||
["housenumber", "postcode"],
|
||||
["street"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["cn"],
|
||||
"format": [
|
||||
["postcode", "province"],
|
||||
["city", "district"],
|
||||
["street", "housenumber"]
|
||||
]
|
||||
}
|
||||
]
|
||||
"dataAddressFormats": [
|
||||
{
|
||||
"format": [
|
||||
["housenumber", "street"],
|
||||
["city", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["au"],
|
||||
"format": [
|
||||
["unit","housenumber", "street"],
|
||||
["suburb", "state", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["gb"],
|
||||
"format": [
|
||||
["housename"],
|
||||
["housenumber", "street"],
|
||||
["city", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["ie"],
|
||||
"format": [
|
||||
["housename"],
|
||||
["housenumber", "street"],
|
||||
["city"],
|
||||
["postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["at", "ch", "de", "si", "pl"],
|
||||
"format": [
|
||||
["street", "housenumber"],
|
||||
["postcode", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": [
|
||||
"ad", "ba", "be", "cz", "dk", "es", "fi", "gr", "hr", "is",
|
||||
"it", "li", "nl", "no", "pt", "se", "sk", "sm", "va"
|
||||
],
|
||||
"format": [
|
||||
["street", "housenumber", "unit"],
|
||||
["postcode", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["fr", "lu", "mo"],
|
||||
"format": [
|
||||
["housenumber", "street"],
|
||||
["postcode", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["br"],
|
||||
"format": [
|
||||
["street"],
|
||||
["housenumber", "suburb"],
|
||||
["city", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["vn"],
|
||||
"format": [
|
||||
["housenumber", "street"],
|
||||
["subdistrict"],
|
||||
["district"],
|
||||
["city"],
|
||||
["province", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["ca"],
|
||||
"format": [
|
||||
["housenumber", "street", "unit"],
|
||||
["city", "province", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["us"],
|
||||
"format": [
|
||||
["housenumber", "street", "unit"],
|
||||
["city", "state", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["tw"],
|
||||
"format": [
|
||||
["postcode", "city", "district"],
|
||||
["place", "street"],
|
||||
["housenumber", "floor", "unit"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["jp"],
|
||||
"format": [
|
||||
["postcode", "province", "county"],
|
||||
["city", "suburb"],
|
||||
["quarter", "neighbourhood"],
|
||||
["block_number", "housenumber"]
|
||||
],
|
||||
"dropdowns": [
|
||||
"postcode", "province", "county", "city", "suburb",
|
||||
"quarter", "neighbourhood", "block_number"
|
||||
],
|
||||
"widths": {
|
||||
"postcode": 0.3,
|
||||
"province": 0.35,
|
||||
"county": 0.35,
|
||||
"city": 0.65,
|
||||
"suburb": 0.35,
|
||||
"quarter": 0.5,
|
||||
"neighbourhood": 0.5,
|
||||
"block_number": 0.5,
|
||||
"housenumber": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"countryCodes": ["tr"],
|
||||
"format": [
|
||||
["neighbourhood"],
|
||||
["street", "housenumber"],
|
||||
["postcode", "district", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["ua"],
|
||||
"format": [
|
||||
["housenumber", "postcode"],
|
||||
["street"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["cn"],
|
||||
"format": [
|
||||
["postcode", "province"],
|
||||
["city", "district"],
|
||||
["street", "housenumber"]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+54
-88
@@ -1,90 +1,56 @@
|
||||
{
|
||||
"dataDeprecated": [
|
||||
{
|
||||
"old": { "amenity": "firepit" },
|
||||
"replace": {
|
||||
"leisure": "firepit"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "barrier": "wire_fence" },
|
||||
"replace": {
|
||||
"barrier": "fence",
|
||||
"fence_type": "chain"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "barrier": "wood_fence" },
|
||||
"replace": {
|
||||
"barrier": "fence",
|
||||
"fence_type": "wood"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "highway": "ford" },
|
||||
"replace": {
|
||||
"ford": "yes"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "highway": "stile" },
|
||||
"replace": {
|
||||
"barrier": "stile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "highway": "incline" },
|
||||
"replace": {
|
||||
"highway": "road",
|
||||
"incline": "up"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "highway": "incline_steep" },
|
||||
"replace": {
|
||||
"highway": "road",
|
||||
"incline": "up"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "highway": "unsurfaced" },
|
||||
"replace": {
|
||||
"highway": "road",
|
||||
"incline": "unpaved"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "landuse": "wood" },
|
||||
"replace": {
|
||||
"landuse": "forest",
|
||||
"natural": "wood"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "natural": "marsh" },
|
||||
"replace": {
|
||||
"natural": "wetland",
|
||||
"wetland": "marsh"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "power_source": "*" },
|
||||
"replace": {
|
||||
"generator:source": "$1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "power_rating": "*" },
|
||||
"replace": {
|
||||
"generator:output": "$1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"old": { "shop": "organic" },
|
||||
"replace": {
|
||||
"shop": "supermarket",
|
||||
"organic": "only"
|
||||
}
|
||||
}
|
||||
]
|
||||
"dataDeprecated": [
|
||||
{
|
||||
"old": {"amenity": "firepit"},
|
||||
"replace": {"leisure": "firepit"}
|
||||
},
|
||||
{
|
||||
"old": {"barrier": "wire_fence"},
|
||||
"replace": {"barrier": "fence", "fence_type": "chain"}
|
||||
},
|
||||
{
|
||||
"old": {"barrier": "wood_fence"},
|
||||
"replace": {"barrier": "fence", "fence_type": "wood"}
|
||||
},
|
||||
{
|
||||
"old": {"highway": "ford"},
|
||||
"replace": {"ford": "yes"}
|
||||
},
|
||||
{
|
||||
"old": {"highway": "stile"},
|
||||
"replace": {"barrier": "stile"}
|
||||
},
|
||||
{
|
||||
"old": {"highway": "incline"},
|
||||
"replace": {"highway": "road", "incline": "up"}
|
||||
},
|
||||
{
|
||||
"old": {"highway": "incline_steep"},
|
||||
"replace": {"highway": "road", "incline": "up"}
|
||||
},
|
||||
{
|
||||
"old": {"highway": "unsurfaced"},
|
||||
"replace": {"highway": "road", "incline": "unpaved"}
|
||||
},
|
||||
{
|
||||
"old": {"landuse": "wood"},
|
||||
"replace": {"landuse": "forest", "natural": "wood"}
|
||||
},
|
||||
{
|
||||
"old": {"natural": "marsh"},
|
||||
"replace": {"natural": "wetland", "wetland": "marsh"}
|
||||
},
|
||||
{
|
||||
"old": {"power_source": "*"},
|
||||
"replace": {"generator:source": "$1"}
|
||||
},
|
||||
{
|
||||
"old": {"power_rating": "*"},
|
||||
"replace": {"generator:output": "$1"}
|
||||
},
|
||||
{
|
||||
"old": {"shop": "organic"},
|
||||
"replace": {"shop": "supermarket", "organic": "only"}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+46
-44
@@ -1,51 +1,53 @@
|
||||
{
|
||||
"dataDiscarded": {
|
||||
"created_by": true,
|
||||
"odbl": true,
|
||||
"odbl:note": true,
|
||||
"dataDiscarded": {
|
||||
"created_by": true,
|
||||
|
||||
"tiger:upload_uuid": true,
|
||||
"tiger:tlid": true,
|
||||
"tiger:source": true,
|
||||
"tiger:separated": true,
|
||||
"odbl": true,
|
||||
"odbl:note": true,
|
||||
|
||||
"geobase:datasetName": true,
|
||||
"geobase:uuid": true,
|
||||
"sub_sea:type": true,
|
||||
"tiger:upload_uuid": true,
|
||||
"tiger:tlid": true,
|
||||
"tiger:source": true,
|
||||
"tiger:separated": true,
|
||||
|
||||
"KSJ2:ADS": true,
|
||||
"KSJ2:ARE": true,
|
||||
"KSJ2:AdminArea": true,
|
||||
"KSJ2:COP_label": true,
|
||||
"KSJ2:DFD": true,
|
||||
"KSJ2:INT": true,
|
||||
"KSJ2:INT_label": true,
|
||||
"KSJ2:LOC": true,
|
||||
"KSJ2:LPN": true,
|
||||
"KSJ2:OPC": true,
|
||||
"KSJ2:PubFacAdmin": true,
|
||||
"KSJ2:RAC": true,
|
||||
"KSJ2:RAC_label": true,
|
||||
"KSJ2:RIC": true,
|
||||
"KSJ2:RIN": true,
|
||||
"KSJ2:WSC": true,
|
||||
"KSJ2:coordinate": true,
|
||||
"KSJ2:curve_id": true,
|
||||
"KSJ2:curve_type": true,
|
||||
"KSJ2:filename": true,
|
||||
"KSJ2:lake_id": true,
|
||||
"KSJ2:lat": true,
|
||||
"KSJ2:long": true,
|
||||
"KSJ2:river_id": true,
|
||||
"geobase:datasetName": true,
|
||||
"geobase:uuid": true,
|
||||
|
||||
"yh:LINE_NAME": true,
|
||||
"yh:LINE_NUM": true,
|
||||
"yh:STRUCTURE": true,
|
||||
"yh:TOTYUMONO": true,
|
||||
"yh:TYPE": true,
|
||||
"yh:WIDTH": true,
|
||||
"yh:WIDTH_RANK": true,
|
||||
"sub_sea:type": true,
|
||||
|
||||
"SK53_bulk:load": true
|
||||
}
|
||||
"KSJ2:ADS": true,
|
||||
"KSJ2:ARE": true,
|
||||
"KSJ2:AdminArea": true,
|
||||
"KSJ2:COP_label": true,
|
||||
"KSJ2:DFD": true,
|
||||
"KSJ2:INT": true,
|
||||
"KSJ2:INT_label": true,
|
||||
"KSJ2:LOC": true,
|
||||
"KSJ2:LPN": true,
|
||||
"KSJ2:OPC": true,
|
||||
"KSJ2:PubFacAdmin": true,
|
||||
"KSJ2:RAC": true,
|
||||
"KSJ2:RAC_label": true,
|
||||
"KSJ2:RIC": true,
|
||||
"KSJ2:RIN": true,
|
||||
"KSJ2:WSC": true,
|
||||
"KSJ2:coordinate": true,
|
||||
"KSJ2:curve_id": true,
|
||||
"KSJ2:curve_type": true,
|
||||
"KSJ2:filename": true,
|
||||
"KSJ2:lake_id": true,
|
||||
"KSJ2:lat": true,
|
||||
"KSJ2:long": true,
|
||||
"KSJ2:river_id": true,
|
||||
|
||||
"SK53_bulk:load": true,
|
||||
|
||||
"yh:LINE_NAME": true,
|
||||
"yh:LINE_NUM": true,
|
||||
"yh:STRUCTURE": true,
|
||||
"yh:TOTYUMONO": true,
|
||||
"yh:TYPE": true,
|
||||
"yh:WIDTH": true,
|
||||
"yh:WIDTH_RANK": true
|
||||
}
|
||||
}
|
||||
|
||||
+780
-3032
File diff suppressed because it is too large
Load Diff
+48370
-177373
File diff suppressed because one or more lines are too long
+676
-2679
File diff suppressed because it is too large
Load Diff
+84
-248
@@ -1,250 +1,86 @@
|
||||
{
|
||||
"dataLocales": {
|
||||
"af": {
|
||||
"rtl": false
|
||||
},
|
||||
"ar": {
|
||||
"rtl": true
|
||||
},
|
||||
"ar-AA": {
|
||||
"rtl": true
|
||||
},
|
||||
"ast": {
|
||||
"rtl": false
|
||||
},
|
||||
"be": {
|
||||
"rtl": false
|
||||
},
|
||||
"bg": {
|
||||
"rtl": false
|
||||
},
|
||||
"bn": {
|
||||
"rtl": false
|
||||
},
|
||||
"bs": {
|
||||
"rtl": false
|
||||
},
|
||||
"ca": {
|
||||
"rtl": false
|
||||
},
|
||||
"ckb": {
|
||||
"rtl": true
|
||||
},
|
||||
"cs": {
|
||||
"rtl": false
|
||||
},
|
||||
"cy": {
|
||||
"rtl": false
|
||||
},
|
||||
"da": {
|
||||
"rtl": false
|
||||
},
|
||||
"de": {
|
||||
"rtl": false
|
||||
},
|
||||
"dv": {
|
||||
"rtl": true
|
||||
},
|
||||
"el": {
|
||||
"rtl": false
|
||||
},
|
||||
"en-GB": {
|
||||
"rtl": false
|
||||
},
|
||||
"eo": {
|
||||
"rtl": false
|
||||
},
|
||||
"es": {
|
||||
"rtl": false
|
||||
},
|
||||
"et": {
|
||||
"rtl": false
|
||||
},
|
||||
"eu": {
|
||||
"rtl": false
|
||||
},
|
||||
"fa": {
|
||||
"rtl": true
|
||||
},
|
||||
"fi": {
|
||||
"rtl": false
|
||||
},
|
||||
"fr": {
|
||||
"rtl": false
|
||||
},
|
||||
"gan": {
|
||||
"rtl": false
|
||||
},
|
||||
"gl": {
|
||||
"rtl": false
|
||||
},
|
||||
"gu": {
|
||||
"rtl": false
|
||||
},
|
||||
"he": {
|
||||
"rtl": true
|
||||
},
|
||||
"hi": {
|
||||
"rtl": false
|
||||
},
|
||||
"hr": {
|
||||
"rtl": false
|
||||
},
|
||||
"hu": {
|
||||
"rtl": false
|
||||
},
|
||||
"hy": {
|
||||
"rtl": false
|
||||
},
|
||||
"ia": {
|
||||
"rtl": false
|
||||
},
|
||||
"id": {
|
||||
"rtl": false
|
||||
},
|
||||
"is": {
|
||||
"rtl": false
|
||||
},
|
||||
"it": {
|
||||
"rtl": false
|
||||
},
|
||||
"ja": {
|
||||
"rtl": false
|
||||
},
|
||||
"jv": {
|
||||
"rtl": false
|
||||
},
|
||||
"km": {
|
||||
"rtl": false
|
||||
},
|
||||
"kn": {
|
||||
"rtl": false
|
||||
},
|
||||
"ko": {
|
||||
"rtl": false
|
||||
},
|
||||
"ku": {
|
||||
"rtl": false
|
||||
},
|
||||
"lij": {
|
||||
"rtl": false
|
||||
},
|
||||
"lt": {
|
||||
"rtl": false
|
||||
},
|
||||
"lv": {
|
||||
"rtl": false
|
||||
},
|
||||
"mg": {
|
||||
"rtl": false
|
||||
},
|
||||
"mk": {
|
||||
"rtl": false
|
||||
},
|
||||
"ml": {
|
||||
"rtl": false
|
||||
},
|
||||
"mn": {
|
||||
"rtl": false
|
||||
},
|
||||
"ms": {
|
||||
"rtl": false
|
||||
},
|
||||
"ne": {
|
||||
"rtl": false
|
||||
},
|
||||
"nl": {
|
||||
"rtl": false
|
||||
},
|
||||
"nn": {
|
||||
"rtl": false
|
||||
},
|
||||
"no": {
|
||||
"rtl": false
|
||||
},
|
||||
"nv": {
|
||||
"rtl": false
|
||||
},
|
||||
"pl": {
|
||||
"rtl": false
|
||||
},
|
||||
"pt": {
|
||||
"rtl": false
|
||||
},
|
||||
"pt-BR": {
|
||||
"rtl": false
|
||||
},
|
||||
"rm": {
|
||||
"rtl": false
|
||||
},
|
||||
"ro": {
|
||||
"rtl": false
|
||||
},
|
||||
"ru": {
|
||||
"rtl": false
|
||||
},
|
||||
"sc": {
|
||||
"rtl": false
|
||||
},
|
||||
"si": {
|
||||
"rtl": false
|
||||
},
|
||||
"sk": {
|
||||
"rtl": false
|
||||
},
|
||||
"sl": {
|
||||
"rtl": false
|
||||
},
|
||||
"so": {
|
||||
"rtl": false
|
||||
},
|
||||
"sq": {
|
||||
"rtl": false
|
||||
},
|
||||
"sr": {
|
||||
"rtl": false
|
||||
},
|
||||
"sv": {
|
||||
"rtl": false
|
||||
},
|
||||
"ta": {
|
||||
"rtl": false
|
||||
},
|
||||
"te": {
|
||||
"rtl": false
|
||||
},
|
||||
"th": {
|
||||
"rtl": false
|
||||
},
|
||||
"tl": {
|
||||
"rtl": false
|
||||
},
|
||||
"tr": {
|
||||
"rtl": false
|
||||
},
|
||||
"uk": {
|
||||
"rtl": false
|
||||
},
|
||||
"ur": {
|
||||
"rtl": true
|
||||
},
|
||||
"vi": {
|
||||
"rtl": false
|
||||
},
|
||||
"yue": {
|
||||
"rtl": false
|
||||
},
|
||||
"zh": {
|
||||
"rtl": false
|
||||
},
|
||||
"zh-CN": {
|
||||
"rtl": false
|
||||
},
|
||||
"zh-HK": {
|
||||
"rtl": false
|
||||
},
|
||||
"zh-TW": {
|
||||
"rtl": false
|
||||
}
|
||||
}
|
||||
"dataLocales": {
|
||||
"af": {"rtl": false},
|
||||
"ar": {"rtl": true},
|
||||
"ar-AA": {"rtl": true},
|
||||
"ast": {"rtl": false},
|
||||
"be": {"rtl": false},
|
||||
"bg": {"rtl": false},
|
||||
"bn": {"rtl": false},
|
||||
"bs": {"rtl": false},
|
||||
"ca": {"rtl": false},
|
||||
"ckb": {"rtl": true},
|
||||
"cs": {"rtl": false},
|
||||
"cy": {"rtl": false},
|
||||
"da": {"rtl": false},
|
||||
"de": {"rtl": false},
|
||||
"dv": {"rtl": true},
|
||||
"el": {"rtl": false},
|
||||
"en-GB": {"rtl": false},
|
||||
"eo": {"rtl": false},
|
||||
"es": {"rtl": false},
|
||||
"et": {"rtl": false},
|
||||
"eu": {"rtl": false},
|
||||
"fa": {"rtl": true},
|
||||
"fi": {"rtl": false},
|
||||
"fr": {"rtl": false},
|
||||
"gan": {"rtl": false},
|
||||
"gl": {"rtl": false},
|
||||
"gu": {"rtl": false},
|
||||
"he": {"rtl": true},
|
||||
"hi": {"rtl": false},
|
||||
"hr": {"rtl": false},
|
||||
"hu": {"rtl": false},
|
||||
"hy": {"rtl": false},
|
||||
"ia": {"rtl": false},
|
||||
"id": {"rtl": false},
|
||||
"is": {"rtl": false},
|
||||
"it": {"rtl": false},
|
||||
"ja": {"rtl": false},
|
||||
"jv": {"rtl": false},
|
||||
"km": {"rtl": false},
|
||||
"kn": {"rtl": false},
|
||||
"ko": {"rtl": false},
|
||||
"ku": {"rtl": false},
|
||||
"lij": {"rtl": false},
|
||||
"lt": {"rtl": false},
|
||||
"lv": {"rtl": false},
|
||||
"mg": {"rtl": false},
|
||||
"mk": {"rtl": false},
|
||||
"ml": {"rtl": false},
|
||||
"mn": {"rtl": false},
|
||||
"ms": {"rtl": false},
|
||||
"ne": {"rtl": false},
|
||||
"nl": {"rtl": false},
|
||||
"nn": {"rtl": false},
|
||||
"no": {"rtl": false},
|
||||
"nv": {"rtl": false},
|
||||
"pl": {"rtl": false},
|
||||
"pt": {"rtl": false},
|
||||
"pt-BR": {"rtl": false},
|
||||
"rm": {"rtl": false},
|
||||
"ro": {"rtl": false},
|
||||
"ru": {"rtl": false},
|
||||
"sc": {"rtl": false},
|
||||
"si": {"rtl": false},
|
||||
"sk": {"rtl": false},
|
||||
"sl": {"rtl": false},
|
||||
"so": {"rtl": false},
|
||||
"sq": {"rtl": false},
|
||||
"sr": {"rtl": false},
|
||||
"sv": {"rtl": false},
|
||||
"ta": {"rtl": false},
|
||||
"te": {"rtl": false},
|
||||
"th": {"rtl": false},
|
||||
"tl": {"rtl": false},
|
||||
"tr": {"rtl": false},
|
||||
"uk": {"rtl": false},
|
||||
"ur": {"rtl": true},
|
||||
"vi": {"rtl": false},
|
||||
"yue": {"rtl": false},
|
||||
"zh": {"rtl": false},
|
||||
"zh-CN": {"rtl": false},
|
||||
"zh-HK": {"rtl": false},
|
||||
"zh-TW": {"rtl": false}
|
||||
}
|
||||
}
|
||||
+60
-60
@@ -1,62 +1,62 @@
|
||||
{
|
||||
"dataPhoneFormats": {
|
||||
"us": "+1-202-555-1234",
|
||||
"ca": "+1-226-555-1234",
|
||||
"bs": "+1-242-555-1234",
|
||||
"bb": "+1-246-555-1234",
|
||||
"ai": "+1-264-555-1234",
|
||||
"ag": "+1-268-555-1234",
|
||||
"vg": "+1-284-555-1234",
|
||||
"vi": "+1-340-555-1234",
|
||||
"ky": "+1-345-555-1234",
|
||||
"bm": "+1-441-555-1234",
|
||||
"gd": "+1-473-555-1234",
|
||||
"tc": "+1-649-555-1234",
|
||||
"ms": "+1-664-555-1234",
|
||||
"mp": "+1-670-555-1234",
|
||||
"gu": "+1-671-555-1234",
|
||||
"as": "+1-684-555-1234",
|
||||
"sx": "+1-721-555-1234",
|
||||
"lc": "+1-758-555-1234",
|
||||
"dm": "+1-767-555-1234",
|
||||
"vc": "+1-784-555-1234",
|
||||
"pr": "+1-787-555-1234",
|
||||
"do": "+1-809-555-1234",
|
||||
"tt": "+1-868-555-1234",
|
||||
"kn": "+1-869-555-1234",
|
||||
"jm": "+1-876-555-1234",
|
||||
"za": "+27 11 907 1111",
|
||||
"nl": "+31 42 123 4567",
|
||||
"fr": "+33 1 23 45 67 89",
|
||||
"es": "+34 989 12 34 56",
|
||||
"pt": "+351 211 123456",
|
||||
"ie": "+353 20 912 3456",
|
||||
"fi": "+358 40 123 4567",
|
||||
"hu": "+36 1 123 45 67",
|
||||
"hr": "+385 01 123 4567",
|
||||
"si": "+386 31 123 4567",
|
||||
"it": "+39 01 123 456",
|
||||
"va": "+39 01 123 456",
|
||||
"gb": "+44 1632 961234",
|
||||
"gg": "+44 1632 961234",
|
||||
"im": "+44 1632 961234",
|
||||
"je": "+44 1632 961234",
|
||||
"se": "+46 31 123 4567",
|
||||
"no": "+47 22 12 34 56",
|
||||
"sj": "+47 22 12 34 56",
|
||||
"pl": "+48 42 123 4567",
|
||||
"de": "+49 89 1234567",
|
||||
"br": "+55 11 0982 1098",
|
||||
"ru": "+7 495 1234567",
|
||||
"kz": "+7 495 1234567",
|
||||
"vn": "+84 1 234 5678",
|
||||
"hk": "+852 1234 5678",
|
||||
"cn": "+86 10 12345678",
|
||||
"tw": "+886 1 2345 6789",
|
||||
"tr": "+90 312 123 4567",
|
||||
"ua": "+380 44 123 4567",
|
||||
"at": "+43 1 123 45 67",
|
||||
"ci": "+225 20 12 34 56",
|
||||
"bj": "+229 20 12 34 56"
|
||||
}
|
||||
"dataPhoneFormats": {
|
||||
"ag": "+1-268-555-1234",
|
||||
"ai": "+1-264-555-1234",
|
||||
"as": "+1-684-555-1234",
|
||||
"at": "+43 1 123 45 67",
|
||||
"bb": "+1-246-555-1234",
|
||||
"bj": "+229 20 12 34 56",
|
||||
"bm": "+1-441-555-1234",
|
||||
"br": "+55 11 0982 1098",
|
||||
"bs": "+1-242-555-1234",
|
||||
"ca": "+1-226-555-1234",
|
||||
"ci": "+225 20 12 34 56",
|
||||
"cn": "+86 10 12345678",
|
||||
"de": "+49 89 1234567",
|
||||
"dm": "+1-767-555-1234",
|
||||
"do": "+1-809-555-1234",
|
||||
"es": "+34 989 12 34 56",
|
||||
"fi": "+358 40 123 4567",
|
||||
"fr": "+33 1 23 45 67 89",
|
||||
"gb": "+44 1632 961234",
|
||||
"gd": "+1-473-555-1234",
|
||||
"gg": "+44 1632 961234",
|
||||
"gu": "+1-671-555-1234",
|
||||
"hk": "+852 1234 5678",
|
||||
"hr": "+385 01 123 4567",
|
||||
"hu": "+36 1 123 45 67",
|
||||
"ie": "+353 20 912 3456",
|
||||
"im": "+44 1632 961234",
|
||||
"it": "+39 01 123 456",
|
||||
"je": "+44 1632 961234",
|
||||
"jm": "+1-876-555-1234",
|
||||
"kn": "+1-869-555-1234",
|
||||
"ky": "+1-345-555-1234",
|
||||
"kz": "+7 495 1234567",
|
||||
"lc": "+1-758-555-1234",
|
||||
"mp": "+1-670-555-1234",
|
||||
"ms": "+1-664-555-1234",
|
||||
"nl": "+31 42 123 4567",
|
||||
"no": "+47 22 12 34 56",
|
||||
"pl": "+48 42 123 4567",
|
||||
"pr": "+1-787-555-1234",
|
||||
"pt": "+351 211 123456",
|
||||
"ru": "+7 495 1234567",
|
||||
"se": "+46 31 123 4567",
|
||||
"si": "+386 31 123 4567",
|
||||
"sj": "+47 22 12 34 56",
|
||||
"sx": "+1-721-555-1234",
|
||||
"tc": "+1-649-555-1234",
|
||||
"tr": "+90 312 123 4567",
|
||||
"tt": "+1-868-555-1234",
|
||||
"tw": "+886 1 2345 6789",
|
||||
"ua": "+380 44 123 4567",
|
||||
"us": "+1-202-555-1234",
|
||||
"va": "+39 01 123 456",
|
||||
"vc": "+1-784-555-1234",
|
||||
"vg": "+1-284-555-1234",
|
||||
"vi": "+1-340-555-1234",
|
||||
"vn": "+84 1 234 5678",
|
||||
"za": "+27 11 907 1111"
|
||||
}
|
||||
}
|
||||
|
||||
+210
-213
@@ -1,216 +1,213 @@
|
||||
{
|
||||
"categories": {
|
||||
"category-barrier": {
|
||||
"icon": "maki-roadblock",
|
||||
"geometry": "line",
|
||||
"name": "Barrier Features",
|
||||
"members": [
|
||||
"barrier/fence",
|
||||
"barrier/wall",
|
||||
"barrier/ditch",
|
||||
"barrier/gate",
|
||||
"barrier/hedge",
|
||||
"barrier/kerb",
|
||||
"barrier"
|
||||
]
|
||||
},
|
||||
"category-building": {
|
||||
"icon": "maki-building",
|
||||
"geometry": "area",
|
||||
"name": "Building Features",
|
||||
"members": [
|
||||
"building",
|
||||
"building/house",
|
||||
"building/apartments",
|
||||
"building/retail",
|
||||
"building/commercial",
|
||||
"building/industrial",
|
||||
"building/residential"
|
||||
]
|
||||
},
|
||||
"category-golf": {
|
||||
"icon": "maki-golf",
|
||||
"geometry": "area",
|
||||
"name": "Golf Features",
|
||||
"members": [
|
||||
"golf/fairway",
|
||||
"golf/green",
|
||||
"golf/lateral_water_hazard_area",
|
||||
"golf/rough",
|
||||
"golf/bunker",
|
||||
"golf/tee",
|
||||
"golf/water_hazard_area"
|
||||
]
|
||||
},
|
||||
"category-landuse": {
|
||||
"icon": "maki-landuse",
|
||||
"geometry": "area",
|
||||
"name": "Land Use Features",
|
||||
"members": [
|
||||
"landuse/residential",
|
||||
"landuse/industrial",
|
||||
"landuse/commercial",
|
||||
"landuse/retail",
|
||||
"landuse/farmland",
|
||||
"landuse/farmyard",
|
||||
"landuse/forest",
|
||||
"landuse/meadow",
|
||||
"landuse/aquaculture",
|
||||
"landuse/cemetery",
|
||||
"landuse/military",
|
||||
"landuse/religious"
|
||||
]
|
||||
},
|
||||
"category-natural-area": {
|
||||
"icon": "maki-natural",
|
||||
"geometry": "area",
|
||||
"name": "Natural Features",
|
||||
"members": [
|
||||
"natural/water",
|
||||
"natural/wood",
|
||||
"natural/scrub",
|
||||
"natural/wetland",
|
||||
"natural/grassland",
|
||||
"natural/heath",
|
||||
"natural/bare_rock",
|
||||
"natural/beach",
|
||||
"natural/cave_entrance",
|
||||
"natural/glacier"
|
||||
]
|
||||
},
|
||||
"category-natural-line": {
|
||||
"icon": "maki-natural",
|
||||
"geometry": "line",
|
||||
"name": "Natural Features",
|
||||
"members": [
|
||||
"natural/coastline",
|
||||
"natural/tree_row"
|
||||
]
|
||||
},
|
||||
"category-natural-point": {
|
||||
"icon": "maki-natural",
|
||||
"geometry": "point",
|
||||
"name": "Natural Features",
|
||||
"members": [
|
||||
"natural/peak",
|
||||
"natural/cliff",
|
||||
"natural/beach",
|
||||
"natural/cave_entrance"
|
||||
]
|
||||
},
|
||||
"category-path": {
|
||||
"icon": "iD-category-path",
|
||||
"geometry": "line",
|
||||
"name": "Path Features",
|
||||
"members": [
|
||||
"footway/crosswalk",
|
||||
"footway/sidewalk",
|
||||
"highway/steps",
|
||||
"highway/path",
|
||||
"highway/footway",
|
||||
"highway/cycleway",
|
||||
"highway/bridleway",
|
||||
"highway/pedestrian_line"
|
||||
]
|
||||
},
|
||||
"category-rail": {
|
||||
"icon": "iD-category-rail",
|
||||
"geometry": "line",
|
||||
"name": "Rail Features",
|
||||
"members": [
|
||||
"railway/rail",
|
||||
"railway/subway",
|
||||
"railway/tram",
|
||||
"railway/monorail",
|
||||
"railway/disused",
|
||||
"railway/abandoned"
|
||||
]
|
||||
},
|
||||
"category-restriction": {
|
||||
"icon": "iD-restriction",
|
||||
"geometry": "relation",
|
||||
"name": "Restriction Features",
|
||||
"members": [
|
||||
"type/restriction/no_left_turn",
|
||||
"type/restriction/no_right_turn",
|
||||
"type/restriction/no_straight_on",
|
||||
"type/restriction/no_u_turn",
|
||||
"type/restriction/only_left_turn",
|
||||
"type/restriction/only_right_turn",
|
||||
"type/restriction/only_straight_on",
|
||||
"type/restriction/only_u_turn",
|
||||
"type/restriction"
|
||||
]
|
||||
},
|
||||
"category-road": {
|
||||
"icon": "iD-category-roads",
|
||||
"geometry": "line",
|
||||
"name": "Road Features",
|
||||
"members": [
|
||||
"highway/residential",
|
||||
"highway/motorway",
|
||||
"highway/trunk",
|
||||
"highway/primary",
|
||||
"highway/secondary",
|
||||
"highway/tertiary",
|
||||
"highway/living_street",
|
||||
"highway/unclassified",
|
||||
"highway/service",
|
||||
"highway/track",
|
||||
"highway/motorway_link",
|
||||
"highway/trunk_link",
|
||||
"highway/primary_link",
|
||||
"highway/secondary_link",
|
||||
"highway/tertiary_link",
|
||||
"highway/road"
|
||||
]
|
||||
},
|
||||
"category-route": {
|
||||
"icon": "iD-route",
|
||||
"geometry": "relation",
|
||||
"name": "Route Features",
|
||||
"members": [
|
||||
"type/route/road",
|
||||
"type/route/bicycle",
|
||||
"type/route/foot",
|
||||
"type/route/hiking",
|
||||
"type/route/horse",
|
||||
"type/route/piste",
|
||||
"type/route/bus",
|
||||
"type/route/train",
|
||||
"type/route/light_rail",
|
||||
"type/route/tram",
|
||||
"type/route/subway",
|
||||
"type/route/ferry",
|
||||
"type/route/power",
|
||||
"type/route/pipeline",
|
||||
"type/route/detour",
|
||||
"type/route_master",
|
||||
"type/route"
|
||||
]
|
||||
},
|
||||
"category-water-area": {
|
||||
"icon": "maki-water",
|
||||
"geometry": "area",
|
||||
"name": "Water Features",
|
||||
"members": [
|
||||
"natural/water/lake",
|
||||
"natural/water/pond",
|
||||
"natural/water/reservoir",
|
||||
"natural/water"
|
||||
]
|
||||
},
|
||||
"category-water-line": {
|
||||
"icon": "iD-category-water",
|
||||
"geometry": "line",
|
||||
"name": "Water Features",
|
||||
"members": [
|
||||
"waterway/river",
|
||||
"waterway/stream",
|
||||
"waterway/canal",
|
||||
"waterway/ditch",
|
||||
"waterway/drain"
|
||||
]
|
||||
}
|
||||
"categories": {
|
||||
"category-barrier": {
|
||||
"icon": "maki-roadblock",
|
||||
"geometry": "line",
|
||||
"name": "Barrier Features",
|
||||
"members": [
|
||||
"barrier/fence",
|
||||
"barrier/wall",
|
||||
"barrier/ditch",
|
||||
"barrier/gate",
|
||||
"barrier/hedge",
|
||||
"barrier/kerb",
|
||||
"barrier"
|
||||
]
|
||||
},
|
||||
"category-building": {
|
||||
"icon": "maki-building",
|
||||
"geometry": "area",
|
||||
"name": "Building Features",
|
||||
"members": [
|
||||
"building",
|
||||
"building/house",
|
||||
"building/apartments",
|
||||
"building/retail",
|
||||
"building/commercial",
|
||||
"building/industrial",
|
||||
"building/residential"
|
||||
]
|
||||
},
|
||||
"category-golf": {
|
||||
"icon": "maki-golf",
|
||||
"geometry": "area",
|
||||
"name": "Golf Features",
|
||||
"members": [
|
||||
"golf/fairway",
|
||||
"golf/green",
|
||||
"golf/lateral_water_hazard_area",
|
||||
"golf/rough",
|
||||
"golf/bunker",
|
||||
"golf/tee",
|
||||
"golf/water_hazard_area"
|
||||
]
|
||||
},
|
||||
"category-landuse": {
|
||||
"icon": "maki-landuse",
|
||||
"geometry": "area",
|
||||
"name": "Land Use Features",
|
||||
"members": [
|
||||
"landuse/residential",
|
||||
"landuse/industrial",
|
||||
"landuse/commercial",
|
||||
"landuse/retail",
|
||||
"landuse/farmland",
|
||||
"landuse/farmyard",
|
||||
"landuse/forest",
|
||||
"landuse/meadow",
|
||||
"landuse/aquaculture",
|
||||
"landuse/cemetery",
|
||||
"landuse/military",
|
||||
"landuse/religious"
|
||||
]
|
||||
},
|
||||
"category-natural-area": {
|
||||
"icon": "maki-natural",
|
||||
"geometry": "area",
|
||||
"name": "Natural Features",
|
||||
"members": [
|
||||
"natural/water",
|
||||
"natural/wood",
|
||||
"natural/scrub",
|
||||
"natural/wetland",
|
||||
"natural/grassland",
|
||||
"natural/heath",
|
||||
"natural/bare_rock",
|
||||
"natural/beach",
|
||||
"natural/cave_entrance",
|
||||
"natural/glacier"
|
||||
]
|
||||
},
|
||||
"category-natural-line": {
|
||||
"icon": "maki-natural",
|
||||
"geometry": "line",
|
||||
"name": "Natural Features",
|
||||
"members": ["natural/coastline", "natural/tree_row"]
|
||||
},
|
||||
"category-natural-point": {
|
||||
"icon": "maki-natural",
|
||||
"geometry": "point",
|
||||
"name": "Natural Features",
|
||||
"members": [
|
||||
"natural/peak",
|
||||
"natural/cliff",
|
||||
"natural/beach",
|
||||
"natural/cave_entrance"
|
||||
]
|
||||
},
|
||||
"category-path": {
|
||||
"icon": "iD-category-path",
|
||||
"geometry": "line",
|
||||
"name": "Path Features",
|
||||
"members": [
|
||||
"footway/crosswalk",
|
||||
"footway/sidewalk",
|
||||
"highway/steps",
|
||||
"highway/path",
|
||||
"highway/footway",
|
||||
"highway/cycleway",
|
||||
"highway/bridleway",
|
||||
"highway/pedestrian_line"
|
||||
]
|
||||
},
|
||||
"category-rail": {
|
||||
"icon": "iD-category-rail",
|
||||
"geometry": "line",
|
||||
"name": "Rail Features",
|
||||
"members": [
|
||||
"railway/rail",
|
||||
"railway/subway",
|
||||
"railway/tram",
|
||||
"railway/monorail",
|
||||
"railway/disused",
|
||||
"railway/abandoned"
|
||||
]
|
||||
},
|
||||
"category-restriction": {
|
||||
"icon": "iD-restriction",
|
||||
"geometry": "relation",
|
||||
"name": "Restriction Features",
|
||||
"members": [
|
||||
"type/restriction/no_left_turn",
|
||||
"type/restriction/no_right_turn",
|
||||
"type/restriction/no_straight_on",
|
||||
"type/restriction/no_u_turn",
|
||||
"type/restriction/only_left_turn",
|
||||
"type/restriction/only_right_turn",
|
||||
"type/restriction/only_straight_on",
|
||||
"type/restriction/only_u_turn",
|
||||
"type/restriction"
|
||||
]
|
||||
},
|
||||
"category-road": {
|
||||
"icon": "iD-category-roads",
|
||||
"geometry": "line",
|
||||
"name": "Road Features",
|
||||
"members": [
|
||||
"highway/residential",
|
||||
"highway/motorway",
|
||||
"highway/trunk",
|
||||
"highway/primary",
|
||||
"highway/secondary",
|
||||
"highway/tertiary",
|
||||
"highway/living_street",
|
||||
"highway/unclassified",
|
||||
"highway/service",
|
||||
"highway/track",
|
||||
"highway/motorway_link",
|
||||
"highway/trunk_link",
|
||||
"highway/primary_link",
|
||||
"highway/secondary_link",
|
||||
"highway/tertiary_link",
|
||||
"highway/road"
|
||||
]
|
||||
},
|
||||
"category-route": {
|
||||
"icon": "iD-route",
|
||||
"geometry": "relation",
|
||||
"name": "Route Features",
|
||||
"members": [
|
||||
"type/route/road",
|
||||
"type/route/bicycle",
|
||||
"type/route/foot",
|
||||
"type/route/hiking",
|
||||
"type/route/horse",
|
||||
"type/route/piste",
|
||||
"type/route/bus",
|
||||
"type/route/train",
|
||||
"type/route/light_rail",
|
||||
"type/route/tram",
|
||||
"type/route/subway",
|
||||
"type/route/ferry",
|
||||
"type/route/power",
|
||||
"type/route/pipeline",
|
||||
"type/route/detour",
|
||||
"type/route_master",
|
||||
"type/route"
|
||||
]
|
||||
},
|
||||
"category-water-area": {
|
||||
"icon": "maki-water",
|
||||
"geometry": "area",
|
||||
"name": "Water Features",
|
||||
"members": [
|
||||
"natural/water/lake",
|
||||
"natural/water/pond",
|
||||
"natural/water/reservoir",
|
||||
"natural/water"
|
||||
]
|
||||
},
|
||||
"category-water-line": {
|
||||
"icon": "iD-category-water",
|
||||
"geometry": "line",
|
||||
"name": "Water Features",
|
||||
"members": [
|
||||
"waterway/river",
|
||||
"waterway/stream",
|
||||
"waterway/canal",
|
||||
"waterway/ditch",
|
||||
"waterway/drain"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+59
-59
@@ -1,61 +1,61 @@
|
||||
{
|
||||
"defaults": {
|
||||
"area": [
|
||||
"category-landuse",
|
||||
"category-building",
|
||||
"category-water-area",
|
||||
"category-natural-area",
|
||||
"leisure/park",
|
||||
"amenity/hospital",
|
||||
"amenity/place_of_worship",
|
||||
"amenity/cafe",
|
||||
"amenity/restaurant",
|
||||
"area"
|
||||
],
|
||||
"line": [
|
||||
"category-road",
|
||||
"category-rail",
|
||||
"category-path",
|
||||
"category-water-line",
|
||||
"category-barrier",
|
||||
"category-natural-line",
|
||||
"power/line",
|
||||
"line"
|
||||
],
|
||||
"point": [
|
||||
"category-natural-point",
|
||||
"leisure/park",
|
||||
"amenity/hospital",
|
||||
"amenity/place_of_worship",
|
||||
"amenity/cafe",
|
||||
"amenity/restaurant",
|
||||
"amenity/fast_food",
|
||||
"amenity/bar",
|
||||
"amenity/bank",
|
||||
"shop/supermarket",
|
||||
"point"
|
||||
],
|
||||
"vertex": [
|
||||
"highway/crosswalk",
|
||||
"highway/crossing",
|
||||
"railway/level_crossing",
|
||||
"highway/traffic_signals",
|
||||
"highway/turning_circle",
|
||||
"highway/turning_loop",
|
||||
"traffic_calming",
|
||||
"highway/mini_roundabout",
|
||||
"highway/motorway_junction",
|
||||
"vertex"
|
||||
],
|
||||
"relation": [
|
||||
"category-route",
|
||||
"category-restriction",
|
||||
"public_transport/stop_area",
|
||||
"type/boundary",
|
||||
"type/waterway",
|
||||
"type/multipolygon",
|
||||
"type/site",
|
||||
"relation"
|
||||
]
|
||||
}
|
||||
"defaults": {
|
||||
"area": [
|
||||
"category-landuse",
|
||||
"category-building",
|
||||
"category-water-area",
|
||||
"category-natural-area",
|
||||
"leisure/park",
|
||||
"amenity/hospital",
|
||||
"amenity/place_of_worship",
|
||||
"amenity/cafe",
|
||||
"amenity/restaurant",
|
||||
"area"
|
||||
],
|
||||
"line": [
|
||||
"category-road",
|
||||
"category-rail",
|
||||
"category-path",
|
||||
"category-water-line",
|
||||
"category-barrier",
|
||||
"category-natural-line",
|
||||
"power/line",
|
||||
"line"
|
||||
],
|
||||
"point": [
|
||||
"category-natural-point",
|
||||
"leisure/park",
|
||||
"amenity/hospital",
|
||||
"amenity/place_of_worship",
|
||||
"amenity/cafe",
|
||||
"amenity/restaurant",
|
||||
"amenity/fast_food",
|
||||
"amenity/bar",
|
||||
"amenity/bank",
|
||||
"shop/supermarket",
|
||||
"point"
|
||||
],
|
||||
"vertex": [
|
||||
"highway/crosswalk",
|
||||
"highway/crossing",
|
||||
"railway/level_crossing",
|
||||
"highway/traffic_signals",
|
||||
"highway/turning_circle",
|
||||
"highway/turning_loop",
|
||||
"traffic_calming",
|
||||
"highway/mini_roundabout",
|
||||
"highway/motorway_junction",
|
||||
"vertex"
|
||||
],
|
||||
"relation": [
|
||||
"category-route",
|
||||
"category-restriction",
|
||||
"public_transport/stop_area",
|
||||
"type/boundary",
|
||||
"type/waterway",
|
||||
"type/multipolygon",
|
||||
"type/site",
|
||||
"relation"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
+303
-2371
File diff suppressed because it is too large
Load Diff
+4388
-96588
File diff suppressed because it is too large
Load Diff
+335
-252
@@ -1,258 +1,341 @@
|
||||
{ "dataShortcuts": [
|
||||
{
|
||||
"dataShortcuts": [
|
||||
{
|
||||
"tab": "browsing",
|
||||
"text": "shortcuts.browsing.title",
|
||||
"columns": [
|
||||
"tab": "browsing",
|
||||
"text": "shortcuts.browsing.title",
|
||||
"columns": [
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"section": "navigation",
|
||||
"text": "shortcuts.browsing.navigation.title"
|
||||
}, {
|
||||
"shortcuts": ["↓", "↑", "←", "→"],
|
||||
"text": "shortcuts.browsing.navigation.pan",
|
||||
"separator": ","
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["↓", "↑", "←", "→"],
|
||||
"text": "shortcuts.browsing.navigation.pan_more",
|
||||
"separator": ","
|
||||
}, {
|
||||
"shortcuts": ["+", "-"],
|
||||
"text": "shortcuts.browsing.navigation.zoom",
|
||||
"separator": ","
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["+", "-"],
|
||||
"text": "shortcuts.browsing.navigation.zoom_more",
|
||||
"separator": ","
|
||||
},
|
||||
|
||||
{
|
||||
"section": "help",
|
||||
"text": "shortcuts.browsing.help.title"
|
||||
}, {
|
||||
"shortcuts": ["help.key"],
|
||||
"text": "shortcuts.browsing.help.help"
|
||||
}, {
|
||||
"shortcuts": ["shortcuts.toggle.key"],
|
||||
"text": "shortcuts.browsing.help.keyboard"
|
||||
},
|
||||
|
||||
{
|
||||
"section": "display_options",
|
||||
"text": "shortcuts.browsing.display_options.title"
|
||||
}, {
|
||||
"shortcuts": ["background.key"],
|
||||
"text": "shortcuts.browsing.display_options.background"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["background.key"],
|
||||
"text": "shortcuts.browsing.display_options.background_switch"
|
||||
}, {
|
||||
"shortcuts": ["map_data.key"],
|
||||
"text": "shortcuts.browsing.display_options.map_data"
|
||||
}, {
|
||||
"modifiers": ["⌃", "⌘"],
|
||||
"shortcuts": ["F", "F11"],
|
||||
"text": "shortcuts.browsing.display_options.fullscreen"
|
||||
}, {
|
||||
"shortcuts": ["area_fill.wireframe.key"],
|
||||
"text": "shortcuts.browsing.display_options.wireframe"
|
||||
}, {
|
||||
"shortcuts": ["background.minimap.key"],
|
||||
"text": "shortcuts.browsing.display_options.minimap"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"rows": [
|
||||
{
|
||||
"section": "selecting",
|
||||
"text": "shortcuts.browsing.selecting.title"
|
||||
}, {
|
||||
"shortcuts": ["Left-click"],
|
||||
"text": "shortcuts.browsing.selecting.select_one"
|
||||
}, {
|
||||
"modifiers": ["⇧"],
|
||||
"shortcuts": ["Left-click"],
|
||||
"text": "shortcuts.browsing.selecting.select_multi"
|
||||
}, {
|
||||
"modifiers": ["⇧"],
|
||||
"shortcuts": ["Left-click"],
|
||||
"gesture": "shortcuts.gesture.drag",
|
||||
"text": "shortcuts.browsing.selecting.lasso"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["F"],
|
||||
"text": "shortcuts.browsing.selecting.search"
|
||||
},
|
||||
|
||||
{
|
||||
"section": "with_selected",
|
||||
"text": "shortcuts.browsing.with_selected.title"
|
||||
}, {
|
||||
"shortcuts": ["Right-click", "shortcuts.key.space"],
|
||||
"text": "shortcuts.browsing.with_selected.edit_menu"
|
||||
}, {
|
||||
"shortcuts": [],
|
||||
"text": ""
|
||||
},
|
||||
|
||||
{
|
||||
"section": "vertex_selected",
|
||||
"text": "shortcuts.browsing.vertex_selected.title"
|
||||
}, {
|
||||
"shortcuts": ["[", "↖"],
|
||||
"text": "shortcuts.browsing.vertex_selected.previous"
|
||||
}, {
|
||||
"shortcuts": ["]", "↘"],
|
||||
"text": "shortcuts.browsing.vertex_selected.next"
|
||||
}, {
|
||||
"shortcuts": ["{", "⇞"],
|
||||
"text": "shortcuts.browsing.vertex_selected.first"
|
||||
}, {
|
||||
"shortcuts": ["}", "⇟"],
|
||||
"text": "shortcuts.browsing.vertex_selected.last"
|
||||
}, {
|
||||
"shortcuts": ["\\", "shortcuts.key.pause"],
|
||||
"text": "shortcuts.browsing.vertex_selected.change_parent"
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"tab": "editing",
|
||||
"text": "shortcuts.editing.title",
|
||||
"columns" : [
|
||||
"section": "navigation",
|
||||
"text": "shortcuts.browsing.navigation.title"
|
||||
},
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"section": "drawing",
|
||||
"text": "shortcuts.editing.drawing.title"
|
||||
}, {
|
||||
"shortcuts": ["1"],
|
||||
"text": "shortcuts.editing.drawing.add_point"
|
||||
}, {
|
||||
"shortcuts": ["2"],
|
||||
"text": "shortcuts.editing.drawing.add_line"
|
||||
}, {
|
||||
"shortcuts": ["3"],
|
||||
"text": "shortcuts.editing.drawing.add_area"
|
||||
}, {
|
||||
"shortcuts": ["Left-click", "shortcuts.key.space"],
|
||||
"text": "shortcuts.editing.drawing.place_point"
|
||||
}, {
|
||||
"shortcuts": ["⌥"],
|
||||
"text": "shortcuts.editing.drawing.disable_snap"
|
||||
}, {
|
||||
"shortcuts": ["↵", "⎋"],
|
||||
"text": "shortcuts.editing.drawing.stop_line"
|
||||
},
|
||||
|
||||
{
|
||||
"section": "commands",
|
||||
"text": "shortcuts.editing.commands.title"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["C"],
|
||||
"text": "shortcuts.editing.commands.copy"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["V"],
|
||||
"text": "shortcuts.editing.commands.paste"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["Z"],
|
||||
"text": "shortcuts.editing.commands.undo"
|
||||
}, {
|
||||
"modifiers": ["⌘", "⇧"],
|
||||
"shortcuts": ["Z"],
|
||||
"text": "shortcuts.editing.commands.redo"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["S"],
|
||||
"text": "shortcuts.editing.commands.save"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"rows": [
|
||||
{
|
||||
"section": "operations",
|
||||
"text": "shortcuts.editing.operations.title"
|
||||
}, {
|
||||
"shortcuts": ["operations.continue.key"],
|
||||
"text": "shortcuts.editing.operations.continue_line"
|
||||
}, {
|
||||
"shortcuts": ["operations.merge.key"],
|
||||
"text": "shortcuts.editing.operations.merge"
|
||||
}, {
|
||||
"shortcuts": ["operations.disconnect.key"],
|
||||
"text": "shortcuts.editing.operations.disconnect"
|
||||
}, {
|
||||
"shortcuts": ["operations.split.key"],
|
||||
"text": "shortcuts.editing.operations.split"
|
||||
}, {
|
||||
"shortcuts": ["operations.reverse.key"],
|
||||
"text": "shortcuts.editing.operations.reverse"
|
||||
}, {
|
||||
"shortcuts": ["operations.move.key"],
|
||||
"text": "shortcuts.editing.operations.move"
|
||||
}, {
|
||||
"shortcuts": ["operations.rotate.key"],
|
||||
"text": "shortcuts.editing.operations.rotate"
|
||||
}, {
|
||||
"shortcuts": ["operations.orthogonalize.key"],
|
||||
"text": "shortcuts.editing.operations.orthogonalize"
|
||||
}, {
|
||||
"shortcuts": ["operations.circularize.key"],
|
||||
"text": "shortcuts.editing.operations.circularize"
|
||||
}, {
|
||||
"shortcuts": ["operations.reflect.key.long"],
|
||||
"text": "shortcuts.editing.operations.reflect_long"
|
||||
}, {
|
||||
"shortcuts": ["operations.reflect.key.short"],
|
||||
"text": "shortcuts.editing.operations.reflect_short"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["⌫"],
|
||||
"text": "shortcuts.editing.operations.delete"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"tab": "tools",
|
||||
"text": "shortcuts.tools.title",
|
||||
"columns" : [
|
||||
"shortcuts": ["↓", "↑", "←", "→"],
|
||||
"text": "shortcuts.browsing.navigation.pan",
|
||||
"separator": ","
|
||||
},
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"section": "info",
|
||||
"text": "shortcuts.tools.info.title"
|
||||
}, {
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["info_panels.key"],
|
||||
"text": "shortcuts.tools.info.all"
|
||||
}, {
|
||||
"modifiers": ["⌘", "⇧"],
|
||||
"shortcuts": ["info_panels.background.key"],
|
||||
"text": "shortcuts.tools.info.background"
|
||||
}, {
|
||||
"modifiers": ["⌘", "⇧"],
|
||||
"shortcuts": ["info_panels.history.key"],
|
||||
"text": "shortcuts.tools.info.history"
|
||||
}, {
|
||||
"modifiers": ["⌘", "⇧"],
|
||||
"shortcuts": ["info_panels.location.key"],
|
||||
"text": "shortcuts.tools.info.location"
|
||||
}, {
|
||||
"modifiers": ["⌘", "⇧"],
|
||||
"shortcuts": ["info_panels.measurement.key"],
|
||||
"text": "shortcuts.tools.info.measurement"
|
||||
}
|
||||
]
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["↓", "↑", "←", "→"],
|
||||
"text": "shortcuts.browsing.navigation.pan_more",
|
||||
"separator": ","
|
||||
},
|
||||
{
|
||||
"shortcuts": ["+", "-"],
|
||||
"text": "shortcuts.browsing.navigation.zoom",
|
||||
"separator": ","
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["+", "-"],
|
||||
"text": "shortcuts.browsing.navigation.zoom_more",
|
||||
"separator": ","
|
||||
},
|
||||
{
|
||||
"section": "help",
|
||||
"text": "shortcuts.browsing.help.title"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["help.key"],
|
||||
"text": "shortcuts.browsing.help.help"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["shortcuts.toggle.key"],
|
||||
"text": "shortcuts.browsing.help.keyboard"
|
||||
},
|
||||
{
|
||||
"section": "display_options",
|
||||
"text": "shortcuts.browsing.display_options.title"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["background.key"],
|
||||
"text": "shortcuts.browsing.display_options.background"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["background.key"],
|
||||
"text": "shortcuts.browsing.display_options.background_switch"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["map_data.key"],
|
||||
"text": "shortcuts.browsing.display_options.map_data"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌃","⌘"],
|
||||
"shortcuts": ["F", "F11"],
|
||||
"text": "shortcuts.browsing.display_options.fullscreen"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["area_fill.wireframe.key"],
|
||||
"text": "shortcuts.browsing.display_options.wireframe"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["background.minimap.key"],
|
||||
"text": "shortcuts.browsing.display_options.minimap"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"section": "selecting",
|
||||
"text": "shortcuts.browsing.selecting.title"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["Left-click"],
|
||||
"text": "shortcuts.browsing.selecting.select_one"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⇧"],
|
||||
"shortcuts": ["Left-click"],
|
||||
"text": "shortcuts.browsing.selecting.select_multi"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⇧"],
|
||||
"shortcuts": ["Left-click"],
|
||||
"gesture": "shortcuts.gesture.drag",
|
||||
"text": "shortcuts.browsing.selecting.lasso"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["F"],
|
||||
"text": "shortcuts.browsing.selecting.search"
|
||||
},
|
||||
{
|
||||
"section": "with_selected",
|
||||
"text": "shortcuts.browsing.with_selected.title"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["Right-click", "shortcuts.key.space"],
|
||||
"text": "shortcuts.browsing.with_selected.edit_menu"
|
||||
},
|
||||
{
|
||||
"shortcuts": [],
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"section": "vertex_selected",
|
||||
"text": "shortcuts.browsing.vertex_selected.title"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["[", "↖"],
|
||||
"text": "shortcuts.browsing.vertex_selected.previous"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["]","↘"
|
||||
],
|
||||
"text": "shortcuts.browsing.vertex_selected.next"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["{","⇞"
|
||||
],
|
||||
"text": "shortcuts.browsing.vertex_selected.first"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["}","⇟"
|
||||
],
|
||||
"text": "shortcuts.browsing.vertex_selected.last"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["\\","shortcuts.key.pause"
|
||||
],
|
||||
"text": "shortcuts.browsing.vertex_selected.change_parent"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tab": "editing",
|
||||
"text": "shortcuts.editing.title",
|
||||
"columns": [
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"section": "drawing",
|
||||
"text": "shortcuts.editing.drawing.title"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["1"
|
||||
],
|
||||
"text": "shortcuts.editing.drawing.add_point"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["2"
|
||||
],
|
||||
"text": "shortcuts.editing.drawing.add_line"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["3"
|
||||
],
|
||||
"text": "shortcuts.editing.drawing.add_area"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["Left-click","shortcuts.key.space"
|
||||
],
|
||||
"text": "shortcuts.editing.drawing.place_point"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["⌥"
|
||||
],
|
||||
"text": "shortcuts.editing.drawing.disable_snap"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["↵","⎋"
|
||||
],
|
||||
"text": "shortcuts.editing.drawing.stop_line"
|
||||
},
|
||||
{
|
||||
"section": "commands",
|
||||
"text": "shortcuts.editing.commands.title"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["C"
|
||||
],
|
||||
"text": "shortcuts.editing.commands.copy"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["V"
|
||||
],
|
||||
"text": "shortcuts.editing.commands.paste"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["Z"
|
||||
],
|
||||
"text": "shortcuts.editing.commands.undo"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘","⇧"],
|
||||
"shortcuts": ["Z"
|
||||
],
|
||||
"text": "shortcuts.editing.commands.redo"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["S"
|
||||
],
|
||||
"text": "shortcuts.editing.commands.save"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"section": "operations",
|
||||
"text": "shortcuts.editing.operations.title"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.continue.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.continue_line"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.merge.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.merge"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.disconnect.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.disconnect"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.split.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.split"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.reverse.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.reverse"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.move.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.move"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.rotate.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.rotate"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.orthogonalize.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.orthogonalize"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.circularize.key"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.circularize"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.reflect.key.long"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.reflect_long"
|
||||
},
|
||||
{
|
||||
"shortcuts": ["operations.reflect.key.short"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.reflect_short"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["⌫"
|
||||
],
|
||||
"text": "shortcuts.editing.operations.delete"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"tab": "tools",
|
||||
"text": "shortcuts.tools.title",
|
||||
"columns": [
|
||||
{
|
||||
"rows": [
|
||||
{
|
||||
"section": "info",
|
||||
"text": "shortcuts.tools.info.title"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘"],
|
||||
"shortcuts": ["info_panels.key"
|
||||
],
|
||||
"text": "shortcuts.tools.info.all"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘","⇧"],
|
||||
"shortcuts": ["info_panels.background.key"
|
||||
],
|
||||
"text": "shortcuts.tools.info.background"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘","⇧"],
|
||||
"shortcuts": ["info_panels.history.key"
|
||||
],
|
||||
"text": "shortcuts.tools.info.history"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘","⇧"],
|
||||
"shortcuts": ["info_panels.location.key"
|
||||
],
|
||||
"text": "shortcuts.tools.info.location"
|
||||
},
|
||||
{
|
||||
"modifiers": ["⌘","⇧"],
|
||||
"shortcuts": ["info_panels.measurement.key"
|
||||
],
|
||||
"text": "shortcuts.tools.info.measurement"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]}
|
||||
]
|
||||
}
|
||||
|
||||
+7100
-11038
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,13 @@
|
||||
var fs = require('fs');
|
||||
var sources = require('editor-layer-index/imagery.json');
|
||||
const fs = require('fs');
|
||||
const sources = require('editor-layer-index/imagery.json');
|
||||
const prettyStringify = require('json-stringify-pretty-compact');
|
||||
var imagery = [];
|
||||
|
||||
// ignore imagery more than 20 years old..
|
||||
var cutoffDate = new Date();
|
||||
cutoffDate.setFullYear(cutoffDate.getFullYear() - 20);
|
||||
|
||||
var blacklist = {
|
||||
const blacklist = {
|
||||
'hike_n_bike': true, // 'Hike & Bike'
|
||||
'osmfr': true, // 'OpenStreetMap (French Style)'
|
||||
'osm-mapnik-german_style': true, // 'OpenStreetMap (German Style)'
|
||||
@@ -35,7 +36,8 @@ var blacklist = {
|
||||
'OSM_Inspector-Routing': true,
|
||||
'OSM_Inspector-Tagging': true
|
||||
};
|
||||
var supportedWMSProjections = [
|
||||
|
||||
const supportedWMSProjections = [
|
||||
'EPSG:3857',
|
||||
'EPSG:4326',
|
||||
'EPSG:900913', // EPSG:3857 alternatives codes
|
||||
@@ -47,7 +49,7 @@ var supportedWMSProjections = [
|
||||
'EPSG:3785'
|
||||
];
|
||||
|
||||
var whitelist = [
|
||||
const whitelist = [
|
||||
// Add custom sources here if needed.
|
||||
];
|
||||
|
||||
@@ -144,4 +146,4 @@ imagery.sort(function(a, b) {
|
||||
return a.name.localeCompare(b.name);
|
||||
});
|
||||
|
||||
fs.writeFileSync('data/imagery.json', JSON.stringify({ dataImagery: imagery }, null, 4));
|
||||
fs.writeFileSync('data/imagery.json', prettyStringify({ dataImagery: imagery }));
|
||||
|
||||
+17
-14
@@ -4,15 +4,15 @@ const requireESM = require('esm')(module);
|
||||
const _isEmpty = requireESM('lodash-es/isEmpty').default;
|
||||
const _merge = requireESM('lodash-es/merge').default;
|
||||
|
||||
var request = require('request').defaults({ maxSockets: 1 });
|
||||
var YAML = require('js-yaml');
|
||||
var fs = require('fs');
|
||||
var stringify = require('json-stable-stringify');
|
||||
const fs = require('fs');
|
||||
const prettyStringify = require('json-stringify-pretty-compact');
|
||||
const request = require('request').defaults({ maxSockets: 1 });
|
||||
const YAML = require('js-yaml');
|
||||
|
||||
var resources = ['core', 'presets', 'imagery', 'community'];
|
||||
var outdir = './dist/locales/';
|
||||
var api = 'https://www.transifex.com/api/2/';
|
||||
var projectURL = api + 'project/id-editor/';
|
||||
const resources = ['core', 'presets', 'imagery', 'community'];
|
||||
const outdir = './dist/locales/';
|
||||
const api = 'https://www.transifex.com/api/2/';
|
||||
const projectURL = api + 'project/id-editor/';
|
||||
|
||||
|
||||
/*
|
||||
@@ -25,12 +25,12 @@ var projectURL = api + 'project/id-editor/';
|
||||
* }
|
||||
* */
|
||||
|
||||
var auth = JSON.parse(fs.readFileSync('./transifex.auth', 'utf8'));
|
||||
const auth = JSON.parse(fs.readFileSync('./transifex.auth', 'utf8'));
|
||||
|
||||
var sourceCore = YAML.load(fs.readFileSync('./data/core.yaml', 'utf8'));
|
||||
var sourcePresets = YAML.load(fs.readFileSync('./data/presets.yaml', 'utf8'));
|
||||
var sourceImagery = YAML.load(fs.readFileSync('./node_modules/editor-layer-index/i18n/en.yaml', 'utf8'));
|
||||
var sourceCommunity = YAML.load(fs.readFileSync('./node_modules/osm-community-index/i18n/en.yaml', 'utf8'));
|
||||
const sourceCore = YAML.load(fs.readFileSync('./data/core.yaml', 'utf8'));
|
||||
const sourcePresets = YAML.load(fs.readFileSync('./data/presets.yaml', 'utf8'));
|
||||
const sourceImagery = YAML.load(fs.readFileSync('./node_modules/editor-layer-index/i18n/en.yaml', 'utf8'));
|
||||
const sourceCommunity = YAML.load(fs.readFileSync('./node_modules/osm-community-index/i18n/en.yaml', 'utf8'));
|
||||
|
||||
|
||||
asyncMap(resources, getResource, function(err, results) {
|
||||
@@ -71,7 +71,10 @@ asyncMap(resources, getResource, function(err, results) {
|
||||
}
|
||||
}, function(err) {
|
||||
if (!err) {
|
||||
fs.writeFileSync('data/locales.json', stringify({ dataLocales: dataLocales }, { space: 4 }));
|
||||
const keys = Object.keys(dataLocales).sort();
|
||||
var sorted = {};
|
||||
keys.forEach(function (k) { sorted[k] = dataLocales[k]; });
|
||||
fs.writeFileSync('data/locales.json', prettyStringify({ dataLocales: sorted }));
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@
|
||||
"glob": "^7.1.0",
|
||||
"happen": "^0.3.1",
|
||||
"js-yaml": "^3.9.0",
|
||||
"json-stable-stringify": "^1.0.1",
|
||||
"json-stringify-pretty-compact": "^1.1.0",
|
||||
"jsonschema": "^1.1.0",
|
||||
"mapillary-js": "2.12.1",
|
||||
"mapillary_sprite_source": "^1.4.0",
|
||||
|
||||
Reference in New Issue
Block a user