Patrick Brosi 4 years ago
parent
commit
27e78a7b25
3 changed files with 40 additions and 3 deletions
  1. 38 0
      web/error.html
  2. 0 1
      web/index.html
  3. 2 2
      web/script.js

File diff suppressed because it is too large
+ 38 - 0
web/error.html


+ 0 - 1
web/index.html

@@ -10,7 +10,6 @@
10
     <meta name="contact" content="brosi[at]cs.uni-freiburg.de">
10
     <meta name="contact" content="brosi[at]cs.uni-freiburg.de">
11
     <meta name="viewport" content="initial-scale=1">
11
     <meta name="viewport" content="initial-scale=1">
12
     <meta property="og:title" content="staty | OSM Station Relationships">
12
     <meta property="og:title" content="staty | OSM Station Relationships">
13
-    <meta property="og:image" content="/octi.png">
14
     <meta property="og:description" content="Analyze public transport station in OpenStreetMap for correctness.">
13
     <meta property="og:description" content="Analyze public transport station in OpenStreetMap for correctness.">
15
 
14
 
16
     <link rel='preconnect' href='https://stamen-tiles-a.a.ssl.fastly.net'>
15
     <link rel='preconnect' href='https://stamen-tiles-a.a.ssl.fastly.net'>

+ 2 - 2
web/script.js

@@ -22,7 +22,7 @@ var sgMvRelRel = "Move from relation <a onmouseover='grHl(${oid})' onmouseout='g
22
 var sgMvOutRel = "Move out of relation <a onmouseover='grHl(${oid})' onmouseout='grUnHl(${oid})' href=\"" + osmUrl + "relation/${ooid}\" target=\"_blank\">${ooid}</a>";
22
 var sgMvOutRel = "Move out of relation <a onmouseover='grHl(${oid})' onmouseout='grUnHl(${oid})' href=\"" + osmUrl + "relation/${ooid}\" target=\"_blank\">${ooid}</a>";
23
 var sgFixAttr = "Fix attribute <tt>${attr}</tt>.";
23
 var sgFixAttr = "Fix attribute <tt>${attr}</tt>.";
24
 var sgAddName = "Consider adding a <tt><a target='_blank' href='https://wiki.openstreetmap.org/wiki/Key:name'>name</a></tt> attribute.";
24
 var sgAddName = "Consider adding a <tt><a target='_blank' href='https://wiki.openstreetmap.org/wiki/Key:name'>name</a></tt> attribute.";
25
-var sgAttrTr = "Attribute <tt>${attr}</tt> seems to be a track number. Use <tt>ref</tt> for this and set <tt>${attr}</tt> to the station name.";
25
+var sgAttrTr = "Attribute <tt>${attr}</tt> seems to be a track/platform number. Use <tt>ref</tt> for this and set <tt>${attr}</tt> to the station name.";
26
 var sgMergeRel = "Merge parent relation <a onmouseover='grHl(${oid})' onmouseout='grUnHl(${oid})' href=\"" + osmUrl + "relation/${ooid}\" target=\"_blank\">${ooid}</a> with relation <a onmouseover='grHl(${tid})' onmouseout='grUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>, or move them into a new relation <tt>public_transport=stop_area_group</tt>";
26
 var sgMergeRel = "Merge parent relation <a onmouseover='grHl(${oid})' onmouseout='grUnHl(${oid})' href=\"" + osmUrl + "relation/${ooid}\" target=\"_blank\">${ooid}</a> with relation <a onmouseover='grHl(${tid})' onmouseout='grUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>, or move them into a new relation <tt>public_transport=stop_area_group</tt>";
27
 var sgMergeMetaGr = "Move parent relation <a onmouseover='grHl(${oid})' onmouseout='grUnHl(${oid})' href=\"" + osmUrl + "relation/${ooid}\" target=\"_blank\">${ooid}</a> into meta <tt>public_transport=stop_area_group</tt> relation <a onmouseover='mGrHl(${tid})' onmouseout='mGrUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>";
27
 var sgMergeMetaGr = "Move parent relation <a onmouseover='grHl(${oid})' onmouseout='grUnHl(${oid})' href=\"" + osmUrl + "relation/${ooid}\" target=\"_blank\">${ooid}</a> into meta <tt>public_transport=stop_area_group</tt> relation <a onmouseover='mGrHl(${tid})' onmouseout='mGrUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>";
28
 
28
 
@@ -31,7 +31,7 @@ var suggsMsg = [sgMvOrNew, sgMvOrEx, sgMvRelNew, sgMvRelRel, sgMvOutRel, sgFixAt
31
 // group sugg messages
31
 // group sugg messages
32
 var sgGrFixAttr = "Fix attribute <tt>${attr}</tt>.";
32
 var sgGrFixAttr = "Fix attribute <tt>${attr}</tt>.";
33
 var sgGrAddName = "Consider adding a <tt><a target='_blank' href='https://wiki.openstreetmap.org/wiki/Key:name'>name</a></tt> attribute.";
33
 var sgGrAddName = "Consider adding a <tt><a target='_blank' href='https://wiki.openstreetmap.org/wiki/Key:name'>name</a></tt> attribute.";
34
-var sgGrAttrTr = "Attribute <tt>${attr}</tt> seems to be a track number. Use <tt>ref</tt> for this and set <tt>${attr}</tt> to the station name.";
34
+var sgGrAttrTr = "Attribute <tt>${attr}</tt> seems to be a track/platform number. Use <tt>ref</tt> for this and set <tt>${attr}</tt> to the station name.";
35
 var sgGrMergeRel = "Merge with relation <a onmouseover='grHl(${tid})' onmouseout='grUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>, or move both into a new relation <tt>public_transport=stop_area_group</tt>";
35
 var sgGrMergeRel = "Merge with relation <a onmouseover='grHl(${tid})' onmouseout='grUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>, or move both into a new relation <tt>public_transport=stop_area_group</tt>";
36
 var sgGrMergeMeta = "Move relation into <tt>public_transport=stop_area_group</tt> relation <a onmouseover='mGrHl(${tid})' onmouseout='mGrUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>";
36
 var sgGrMergeMeta = "Move relation into <tt>public_transport=stop_area_group</tt> relation <a onmouseover='mGrHl(${tid})' onmouseout='mGrUnHl(${tid})' href=\"" + osmUrl + "relation/${toid}\" target=\"_blank\">${toid}</a>";
37
 
37