-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
283 lines (257 loc) · 15.7 KB
/
index.html
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
<meta name=description content="CyclOSM is a beautiful open cycle map built on top of OpenStreetMap data. It provides a useful map for each and every cyclist, no matter the practice (commuting, touring, …). CyclOSM is a free and open-source software.">
<meta name="twitter:image:src" content="https://www.cyclosm.org/images/social_media.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="CyclOSM">
<meta name="twitter:description" content="A bicycle-oriented map for every cyclist, based on OpenStreetMap data.">
<meta property="og:site_name" content="CyclOSM" />
<meta property=og:image content="https://www.cyclosm.org/images/social_media.png">
<meta property=og:type content="website">
<meta property=og:title content="CyclOSM">
<meta property=og:url content="https://cyclosm.org/">
<meta property=og:description content="A bicycle-oriented map for every cyclist, based on OpenStreetMap data.">
<link rel="icon" type="image/png" sizes="16x16" href="https://www.cyclosm.org/images/favicon-16.png">
<link rel="icon" type="image/png" sizes="228x228" href="https://www.cyclosm.org/images/favicon-228.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://www.cyclosm.org/images/favicon-32.png">
<link rel="shortcut icon" href="https://www.cyclosm.org/images/favicon.ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css" integrity="sha512-10/jx2EXwxxWqCLX/hHth/vu2KY3jCF70dCQB8TSgNjbCVAC/8vai53GfMDrO2Emgwccf2pJqxct9ehpzG+MTw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Windsor Essex Cycling</title>
</head>
<body style="visibility: hidden;">
<div id="modal-content">
<h1 class="center" id="mainTitle">WindsorEssexCycling: An OpenStreetMap-based bicycle map</h1>
<p>
<a href="https://github.com/cyclosm/cyclosm-cartocss-style/">WindsorEssexCycling.ca</a> is a bicycle-oriented map maintained by <a href="http://www.hackf.org">Windsor Hackforge</a> as part of the City-County Cycling Tech (C3Tech) initiative, built on top of <a href="https://www.openstreetmap.org/">OpenStreetMap</a> data <a href="#footnote-1">[1]</a>. It aims at providing a beautiful and practical map for cyclists, no matter their cycling habits or abilities.
</p>
<p>
In urban areas, it renders the main different types of cycle tracks and lanes, on each side of the road, for helping you draw your bike to work route. It also features essential POIs as well as bicycle parking spots or spots shared with motorbikes, specific infrastructure (elevators / ramps), road speeds or surfaces to avoid streets with pavings, bumpers and bike boxes, etc.
</p>
<p>
The same map also lets you visualize main bicycle touring routes as well as essential POIs when touring (emergency services, shelters, tourism, shops).
</p>
<p style="margin-bottom: 0;">
We offer three different map styles:
</p>
<ul style="margin-top: 0; margin-left: 1em;">
<li>The <strong>default CyclOSM</strong> style, fit for most applications <a href="#footnote-3">[3]</a> and map purposes (tiles can be cached for up to a few hours <a href="#footnote-4">[4]</a>);</li>
<li>The <strong>CyclOSM live</strong> style, fit for OpenStreetMap contributors (tiles are always minute updated) and available only at <a href="https://cyclosm.org/">cyclosm.org</a> and in contributions tools;</li>
<li>The <strong>CyclOSM lite</strong> variant, meant to be used as an overlay map to turn any map style into a bike map.</li>
</ul>
<p class="center">
<a class="modalClose" href="#">
<img title="C3Tech" alt="C3Tech logo" style="height: 150px;" src=".//images/C3-Logo-Final.png"/>
</a>
</p>
<h2 class="center"><a class="modalClose" href="#">Let's start exploring the map!</a></h2>
<p class="footnote" id="footnote-1">
[1] CyclOSM map is based on <a href="https://www.openstreetmap.org/">OpenStreetMap</a> data. CyclOSM is not a complete or accurate map of the world and should not be used in such a manner that deficiencies, omissions, inaccuracies or errors could result in death, loss or injury. The maps are an iterative ongoing work-in-progress and everyone is welcome to contribute editing the OpenStreetMap data if you spot inaccuracies.
</p>
<p class="footnote" id="footnote-2">
[2] CyclOSM is built on open-source and free software. The source code is available at <a href="https://github.com/cyclosm/cyclosm-cartocss-style/">Github</a> and we welcome <a href="https://github.com/cyclosm/cyclosm-cartocss-style/blob/master/CONTRIBUTING.md">contributions</a>!. Our tile server infrastructure is provided by <a href="https://www.openstreetmap.fr">OpenStreetMap-France</a>, many thanks to them for their support!
</p>
<p class="footnote" style="margin-bottom: 0;" id="footnote-3">
[3] The map is available by default in the following smartphone applications:
</p>
<ul class="footnote" style="margin-top: 0; margin-left: 1em; margin-bottom: 0;">
<li><a href="https://osmand.net">OSMAnd</a></li>
<li><a href="https://www.offline-maps.net">All-In-One Offline Maps</a> or <a href="https://alpinequest.net">AlpineQuest Rando GPS</a></li>
<li><a href="https://framagit.org/tom79/openmaps">OpenMultiMaps</a></li>
<li>Let us know about any more application we are missing!</li>
</ul>
<p class="footnote" style="margin-top: 0;">
A Tile Map Service is available at <code>https://{s}.tile-cyclosm.openstreetmap.fr/[cyclosm|cyclosm-lite]/{z}/{x}/{y}.png</code> under a <a href="https://operations.osmfoundation.org/policies/tiles/">fairuse tile policy</a>.
</p>
<p class="footnote" id="footnote-4">
[4] OpenStreetMap data should be replicated in near realtime CyclOSM style, the current delay between OpenStreetMap data and our maintained version can be seen <a href="https://munin.openstreetmap.fr/osm11.openstreetmap.fr/osm165.openstreetmap.fr/osm_replication_lag_osm2pgsql.html">here</a>. Tiles below zoom level 12 are pre-generated on a weekly basis, tiles at higher zooms are live-generated and then cached for up to 72 hours (except for the <em>live</em> variant).
</p>
<p class="center">
<a href="https://www.WindsorEssexCycling.ca.org">WindsorEssexCycling.ca</a> is made possibble by:
<br>
<img title="CWATS" alt="CWATS logo" style="height: 50px;" src=".//images/CWATS.png"/>
<img title="Windsor" alt="Windsor logo" style="height: 50px;" src=".//images/Windsor.png"/>
<img title="OTIL" alt="OTIL logo" style="height: 50px;" src=".//images/OTIL.png"/>
<img title="P42" alt="P42 logo" style="height: 70px;" src=".//images/P42.png"/>
<img title="HACKFORGE" alt="Hackforge logo" style="height: 70px;" src=".//images/Hackforge.png"/>
</p>
</div>
<div id="modal-legend">
</div>
<div id="map"></div>
<div id="legend">
<button>❮</button>
<div class="legend-container">
<h2>Legend</h2>
<h3>Route Lines</h3>
<table>
<tr>
<td><span style="display: inline-block; height: 0.5em; width: 2em; border-top: solid #FF0000 3px; vertical-align: middle;"></span></td>
<td>Route Found</td>
</tr>
<tr>
<td><span style="display: inline-block; height: 0.5em; width: 2em; border-top: solid #008000 3px; vertical-align: middle;"></span></td>
<td>Calculating Route</td>
</tr>
<tr>
<td><span style="display: inline-block; height: 0.5em; width: 2em; border-top: solid #0000FF 3px; vertical-align: middle;"></span></td>
<td>Routing Issue</td>
</tr>
</table>
<h3>Bicycle infrastructure</h3>
<table>
<tr>
<td><span style="display: inline-block; height: 0.5em; width: 2em; border-top: solid #0000ce 3px; vertical-align: middle;"></span></td>
<td>Separate cycleway</td>
</tr>
<tr>
<td><span style="display: inline-block; height: 0.5em; width: 2em; border-top: solid #0060ff 3px; vertical-align: middle;"></span></td>
<td>Path designated for bicycles.</td>
</tr>
<tr>
<td>
<span style="display: inline-block; height: 1.5em; width: 2em;">
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" version="1.1">
<line x1="10%" x2="150%" y1="10%" y2="10%" stroke-linecap="butt" stroke="#0000ce" stroke-width="20%"/>
<line x1="10%" x2="150%" y1="70%" y2="70%" stroke-linecap="butt" stroke="#888" stroke-width="10%"/>
<rect x="10%" y="10%" width="140%" height="60%" fill="#f6f6f6"/>
</svg>
</span>
</td>
<td>Cycle track on this side of the street</td>
</tr>
<tr>
<td>
<span style="display: inline-block; height: 1.5em; width: 2em;">
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" version="1.1">
<line x1="10%" x2="150%" y1="10%" y2="10%" stroke-linecap="butt" stroke-dasharray="6,3" stroke="#0000ce" stroke-width="20%"/>
<line x1="10%" x2="150%" y1="70%" y2="70%" stroke-linecap="butt" stroke="#888" stroke-width="10%"/>
<rect x="10%" y="10%" width="140%" height="60%" fill="#f6f6f6"/>
</svg>
</span>
</td>
<td>Cycle lane on this side of the street</td>
</tr>
<tr>
<td>
<span style="display: inline-block; height: 1.5em; width: 2em;">
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" version="1.1">
<line x1="10%" x2="150%" y1="10%" y2="10%" stroke-linecap="butt" stroke-dasharray="6, 10" stroke="#0000ce" stroke-width="20%"/>
<line x1="10%" x2="150%" y1="70%" y2="70%" stroke-linecap="butt" stroke="#888" stroke-width="10%"/>
<rect x="10%" y="10%" width="140%" height="60%" fill="#f6f6f6"/>
</svg>
</span>
</td>
<td>Shared lane (with buses or other motor vehicles) on this side of the street <br/> Road shoulder open to bikes</td>
</tr>
<tr>
<td><img src=".//symbols/oneway-cycle.svg"/></td>
<td>Double way streets for bikes (one way for cars)</td>
</tr>
<tr>
<td>
<span style="display: inline-block; height: 1em; width: 2em; background-color: rgba(246, 246, 246, 0.5); border-top: 1px solid #888; border-bottom: 1px solid #888; vertical-align: middle;">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="18" height="1em" style="vertical-align: middle;">
<g transform="translate(-372,-534.36218)">
<rect width="18" height="5" x="372" y="534.36218" style="color:#000000;fill:#0000ce;fill-opacity:0;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path d="m 387,536.86218 -5,-2.5 0,2 -7,0 0,1 7,0 0,2 z" style="fill:#0000ce;stroke:none" />
</g>
</svg>
</span>
</td>
<td>Bicycle designated road</td>
</tr>
<tr>
<td>
<span style="display: inline-block; height: 1.5em; width: 2em;">
<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" version="1.1">
<line x1="10%" x2="150%" y1="40%" y2="40%" stroke-linecap="butt" stroke-dasharray="2,1" stroke="#7a5b36" stroke-width="20%"/>
<line x1="10%" x2="150%" y1="70%" y2="70%" stroke-linecap="butt" stroke="#0000ce" stroke-width="10%"/>
</svg>
</span>
</td>
<td>Steps with a bicycle-friendly ramp</td>
</tr>
<tr>
<td style="width: 2em;"><span style="display: inline-block; height: 1em; width: 2em; background-color: #0060ff; opacity: 0.5; border-top: 1px solid #888; border-bottom: 1px solid #888888;"></span></td>
<td>Cycle streets</td>
</tr>
</table>
<h3>Bicycle routes</h3>
<table>
<tr>
<td style="width: 2em;"><span style="display: inline-block; height: 1em; width: 2em; background-color: #ff00ff; opacity: 0.5;"></span></td>
<td>International bike route</td>
</tr>
<tr>
<td><span style="display: inline-block; height: 1em; width: 2em; background-color: #aa00ff; opacity: 0.5;"></span></td>
<td>National bike route</td>
</tr>
<tr>
<td><span style="display: inline-block; height: 1em; width: 2em; background-color: #5500ff; opacity: 0.5;"></span></td>
<td>Regional bike route</td>
</tr>
<tr>
<td><span style="display: inline-block; height: 1em; width: 2em; background-color: #0000ff; opacity: 0.5;"></span></td>
<td>Local bike route</td>
</tr>
<tr>
<td><span style="display: inline-block; height: 1em; width: 2em; background-color: #d15000; opacity: 0.5;"></span></td>
<td>Mountain bike route</td>
</tr>
<tr>
<td><span class="numbered-cycle-junction">16</span></td>
<td>Numbered cycle junction</td>
</tr>
</table>
<h3>Bicycle-specific amenities</h3>
<table>
<tr>
<td><img src=".//symbols/openstreetmap-carto/amenity/bicycle_repair_station.svg" /></td>
<td>Bicycle repair station</td>
</tr>
<tr>
<td><img src=".//symbols/osmandapp/amenity/compressed_air.svg"/></td>
<td>Compressed air</td>
</tr>
<tr>
<td><span style="display: inline-block; width: 0.5em; height: 0.5em; background-color: blue; border-radius: 50%;"></span></td>
<td>Bicycle parking</td>
</tr>
<tr>
<td><span style="display: inline-block; width: 0.5em; height: 0.5em; background-color: #0050ff; border-radius: 50%;"></span></td>
<td>Shared bicycle / motorcycle parking</td>
</tr>
<tr>
<td><img width="17px" height="17px" src=".//symbols/amenity/bicycle_parking_secured_covered.svg"/></td>
<td>Covered and proctected bicycle parking</td>
</tr>
<tr>
<td><img width="17px" height="17px" src=".//symbols/amenity/bicycle_parking_notlockable.svg"/></td>
<td>Floor bicycle parking</td>
</tr>
<tr>
<td><img src=".//symbols/osm-bright-gl-style/amenities/bicycle_rental_11.svg"/></td>
<td>Bicycle rental</td>
</tr>
<tr>
<td><img src=".//symbols/osm-bright-gl-style/amenities/bicycle_11.svg"/></td>
<td>Bicycle shop</td>
</tr>
<tr>
<td><img src=".//symbols/amenity/bicycle_tube_vending.svg"/></td>
<td>Inner Tube Vending Machine</td>
</tr>
<tr>
<td><img src=".//symbols/amenity/bicycle_monitoring_station.svg"/></td>
<td>Bicycle counter</td>
</tr>
</table>
</div>
</div>
<script type="module" src="/src/index.ts"></script>
</body>
</html>