forked from GoodClover/OSM-Discord-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_config.json
103 lines (103 loc) · 5.04 KB
/
sample_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"ohno_file": "../ohno-OSM/ohno.md",
"josm_tips_file": "../ohno-OSM/josm_tips.md",
"map_save_file": "data/cluster.png",
"autodelete_delay": 4,
"thumb_size": 512,
"site_url": "https://www.openstreetmap.org/",
"api_url": "https://api.openstreetmap.org/",
"taginfo_url": " https://taginfo.openstreetmap.org/",
"whosthat_url": "http://whosthat.osmz.ru/",
"tile_url": "http://a.tile.openstreetmap.org/{zoom}/{x}/{y}.png",
"icon_url": "https://wiki.openstreetmap.org/w/images/c/c8/Public-images-osm_logo.png",
"taginfo_icon_url": "https://wiki.openstreetmap.org/w/images/3/32/TagInfo_logo.png",
"overpass_url": "https://overpass.kumi.systems/api/interpreter",
"copyright_notice": "\u00a9 OpenStreetMap contributors, ODbL",
"taginfo_copyright_notice": "\u00a9 OpenStreetMap contributors & taginfo, ODbL",
"mappers_count_text": "🌐 Mappers={mappers}",
"symbols": {
"all": "https://wiki.openstreetmap.org/w/images/thumb/0/05/Osm_element_all.svg/256px-Osm_element_all.svg.png",
"node": "https://wiki.openstreetmap.org/w/images/thumb/7/76/Osm_element_node.svg/256px-Osm_element_node.svg.png",
"way": "https://wiki.openstreetmap.org/w/images/thumb/e/ee/Osm_element_way.svg/256px-Osm_element_way.svg.png",
"closed_way": "https://wiki.openstreetmap.org/w/images/thumb/3/38/Osm_element_closedway.svg/256px-Osm_element_closedway.svg.png",
"question_area": "https://wiki.openstreetmap.org/w/images/thumb/f/f6/Osm_element_area_query.svg/256px-Osm_element_area_query.svg.png",
"area": "https://wiki.openstreetmap.org/w/images/thumb/e/e6/Osm_element_area.svg/256px-Osm_element_area.svg.png",
"relation": "https://wiki.openstreetmap.org/w/images/thumb/4/48/Osm_element_relation.svg/256px-Osm_element_relation.svg.png",
"key": "https://wiki.openstreetmap.org/w/images/thumb/2/29/Osm_element_key.svg/256px-Osm_element_key.svg.png",
"tag": "https://wiki.openstreetmap.org/w/images/thumb/5/5f/Osm_element_tag.svg/256px-Osm_element_tag.svg.png",
"value": "https://wiki.openstreetmap.org/w/images/thumb/f/fd/Osm_element_value.svg/256px-Osm_element_value.svg.png",
"user": "https://raw.githubusercontent.com/openstreetmap/openstreetmap-website/master/app/assets/images/avatar_large.png",
"note_open": "https://wiki.openstreetmap.org/w/images/d/d0/Open_note_marker.png",
"note_solved": "https://wiki.openstreetmap.org/w/images/6/6a/Closed_note_marker.png"
},
"emoji": {
"github": "<:github:857627201510834176>",
"potlatch": "<:potlatch:700350598243024957>",
"loading": "<a:loading:847154774880682045>",
"vote_yes": "<:vote_yes:793928045802029097>",
"vote_abstain": "<:vote_abstain:793928045462421524>",
"vote_no": "<:vote_no:793928132871979010>",
"user": "\ud83d\udc64",
"changeset": "\ud83d\udcdd",
"all": "<:all:829318586950615110>",
"node": "<:node:793915491105374208>",
"way": "<:way:793915487745736705>",
"closed_way": "<:closed_way:793915491163963442>",
"area": "<:area:793915491252174892>",
"relation": "<:relation:793915490824224818>",
"relation_role": "<:relation_role:793915489469726720>",
"relation_member": "<:relation_member:793915489457143819>",
"tag_key": "<:tag_key:793915488672940042>",
"tag": "<:tag:793915489063141456>",
"tag_value": "<:tag_value:793915488596918272>",
"inspect": "🔎",
"image": "🖼️",
"embedded": "🛏️",
"cancel": "❌",
"delete": "🗑️",
"left": "←",
"right": "→",
"cancel_utf": "✘",
"bot": "🤖",
"sirens": "🚨"
},
"server_settings": {
"413070382636072960": {
"__name": "OpenStreetMap World",
"suggestion_channel": 821120147522584576,
"power_role": 748826231692066850,
"mappers_count_channel": 578578746244726794,
"suggestions_enabled": false
}
},
"rendering": {
"max_zoom": 19,
"max_note_zoom": 17,
"tile_w": 256,
"tile_h": 256,
"tiles_x": 5,
"tiles_y": 5,
"tile_margin_x": 0.1,
"tile_margin_y": 0.1,
"HEADERS": {
"User-Agent": "OSM Discord Bot <https://github.com/GoodClover/OSM-Discord-bot>",
"Accept": "image/png",
"Accept-Charset": "utf-8",
"Accept-Encoding": "none",
"Accept-Language": "en-GB,en",
"Connection": "keep-alive"
},
"colour_names_json_url": "https://raw.githubusercontent.com/bahamas10/css-color-names/master/css-color-names.json",
"RAL_url": "https://raw.githubusercontent.com/smaddy/ral-json/main/ral_pretty.json",
"limiter_offset": 50,
"reduction_factor": 2
},
"rate_limit": {
"time_period": 30,
"max_calls": 10,
"max_elements": 10,
"element_count_exp": "This field is calculated within script (ln 105).",
"rate_extra_exp": 1.8,
"rendering_rate_exp": 0.8
}
}