Skip to content

Commit 29abae4

Browse files
committed
Fixup some content issues and recompress a BMP image
1 parent 2c16b6b commit 29abae4

File tree

24,779 files changed

+65001
-65000
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

24,779 files changed

+65001
-65000
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
FROM docker.io/hugomods/hugo:debian-base-0.147.8 AS hugo
1+
FROM docker.io/hugomods/hugo:debian-base-0.147.8@sha256:9a4344c6db750e7d4114cece2b391c3fa49d213da02d090a9a8f63e30c215cac AS hugo
22

33
COPY site /src
44

5+
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
6+
57
RUN hugo build \
68
--minify \
79
--gc \
810
--cleanDestinationDir \
911
--config /src/config.toml
1012

11-
RUN find /src/public -type f \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.xml' -o -name '*.json' -o -name '*.svg' -o -name '*.txt' \) -print0 | xargs -0 -P4 -n1 gzip -9kf
13+
RUN find /src/public -type f \( -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.xml' -o -name '*.json' -o -name '*.svg' -o -name '*.txt' \) -print0 | xargs -0 -P4 -n32 gzip --best -kf
1214

1315
# ---------------------------------------------------
1416

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ Thank you to Wireshark! ❤️
88

99
1. Edit or Remove as applicable in `./import/questions/`
1010
2. Run `./tools/convert-questions.py` which populates `./site/content/questions/`
11-
3. Note the manually edited out questions in https://github.com/openstreetmap/help-website/commit/5b0088538073086f41530cfed88f2c2c987e590d (Tip: do not `git add` them)
12-
4. `cd ./site/; hugo serve` to confirm desired output
13-
5. GitHub Actions will rebuild container on push
14-
6. Chef will update container shortly
15-
7. Live!
11+
3. `cd ./site/; hugo serve` to confirm desired output
12+
4. GitHub Actions will rebuild container on push
13+
5. Chef will update container shortly
14+
6. Live!

import/questions/1.how-do-you-make-the-osm2pgsql-diff-imports-run-faster-than-molasses-on-postgres-84.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="Using postgres 8.4 diff imports seem to run as slow as a license change. I&#39;ve hear that it&#39;s better to use postgres 8.3. Is there any other way?" />
88
<meta name="keywords" content="diff,rendering,osm2pgsql,postgres" />
99

10-
<link rel="canonical" href="https://help.openstreetmap.org/questions/1/how-do-you-make-the-osm2pgsql-diff-imports-run-faster-than-molasses-on-postgres-84" />
10+
<link rel="canonical" href="/questions/1/how-do-you-make-the-osm2pgsql-diff-imports-run-faster-than-molasses-on-postgres-84" />
1111
<link rel="alternate" type="application/rss+xml" title="RSS" href="/questions/1/how-do-you-make-the-osm2pgsql-diff-imports-run-faster-than-molasses-on-postgres-84?type=rss">
1212

1313
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -371,7 +371,7 @@ <h1><a href="/questions/1/how-do-you-make-the-osm2pgsql-diff-imports-run-faster-
371371
<td>
372372
<div class="item-right">
373373
<div class="answer-body">
374-
<p>Frederik Ramm mentioned this in <a href="http://wiki.openstreetmap.org/wiki/SotM_2010_session:Tuning_the_Mapnik_Rendering_Chain">his SOTM10 presentation</a> and he has had a chance to try Postgres 9.0 (with Postgis 1.5) and that apparently no longer suffers from this slowdown - in fact it is apparently faster than Postgres 8.3 in his benchmarks.</p>
374+
<p>Frederik Ramm mentioned this in <a href="https://wiki.openstreetmap.org/wiki/SotM_2010_session:Tuning_the_Mapnik_Rendering_Chain">his SOTM10 presentation</a> and he has had a chance to try Postgres 9.0 (with Postgis 1.5) and that apparently no longer suffers from this slowdown - in fact it is apparently faster than Postgres 8.3 in his benchmarks.</p>
375375
</div>
376376
<div class="answer-controls post-controls">
377377

@@ -616,7 +616,7 @@ <h3 class="subtitle">Follow this question</h3><strong>By Email:</strong><p>Once
616616

617617
<div id="sidebar-upper" class="boxC">
618618
<div class="body">
619-
<p>This was the support site for <a href="http://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
619+
<p>This was the support site for <a href="https://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
620620
</div>
621621
</div>
622622

import/questions/10010.entering-a-no-entry-restriction-in-josm-with-more-than-one-from-way.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="I understand from the wiki that you can have more than one &quot;from&quot; way in a &quot;no entry&quot; turn restriction. However when I try to create such a restriction in JOSM the validator throws up errors to say that more than one &quot;from&quot; is invalid. Is JOSM&#39;s validator wrong or is the wiki wrong?" />
88
<meta name="keywords" content="josm,turn_restrictions,no_entry" />
99

10-
<link rel="canonical" href="https://help.openstreetmap.org/questions/10010/entering-a-no-entry-restriction-in-josm-with-more-than-one-from-way" />
10+
<link rel="canonical" href="/questions/10010/entering-a-no-entry-restriction-in-josm-with-more-than-one-from-way" />
1111
<link rel="alternate" type="application/rss+xml" title="RSS" href="/questions/10010/entering-a-no-entry-restriction-in-josm-with-more-than-one-from-way?type=rss">
1212

1313
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -449,9 +449,9 @@ <h1><a href="/questions/10010/entering-a-no-entry-restriction-in-josm-with-more-
449449
<div class="item-right">
450450
<div class="answer-body">
451451
<p>The wiki is contradictory. If you look at:</p>
452-
<p><a href="http://wiki.openstreetmap.org/wiki/Relation:restriction#Members">http://wiki.openstreetmap.org/wiki/Relation:restriction#Members</a></p>
452+
<p><a href="https://wiki.openstreetmap.org/wiki/Relation:restriction#Members">https://wiki.openstreetmap.org/wiki/Relation:restriction#Members</a></p>
453453
<p>it says you have one from way, one to way, then one via node or one or more via ways. The road signs table on the other hand contradict this just for no entry signs:</p>
454-
<p><a href="http://wiki.openstreetmap.org/wiki/Relation:restriction#Road_signs">http://wiki.openstreetmap.org/wiki/Relation:restriction#Road_signs</a></p>
454+
<p><a href="https://wiki.openstreetmap.org/wiki/Relation:restriction#Road_signs">https://wiki.openstreetmap.org/wiki/Relation:restriction#Road_signs</a></p>
455455
<p>The no entry ones were only added to the wiki on 11th October last year, and I can't remember seeing discussion about them. I personally would have suggested sticking with the same definition of the relation, and if necessary creating one for each "from" way. </p>
456456
<p>As a reminder, no entry restrictions aren't needed for one way streets.</p>
457457
</div>
@@ -670,7 +670,7 @@ <h3 class="subtitle">Follow this question</h3><strong>By Email:</strong><p>Once
670670

671671
<div id="sidebar-upper" class="boxC">
672672
<div class="body">
673-
<p>This was the support site for <a href="http://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
673+
<p>This was the support site for <a href="https://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
674674
</div>
675675
</div>
676676

import/questions/10015.westernized-chinese-city-add-pinyin.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="I&#39;m trying to figure out what I have been doing is correct or not. I have been adding pinyin(romanization of chinese) to the current hanzi(chinese characters) for the city of Shanghai, China. This is too reflect another westernized chinese city, Hong Kong, China. There is a huge amount of expats liv..." />
88
<meta name="keywords" content="pinyin,shanghai,china,name,hanzi" />
99

10-
<link rel="canonical" href="https://help.openstreetmap.org/questions/10015/westernized-chinese-city-add-pinyin" />
10+
<link rel="canonical" href="/questions/10015/westernized-chinese-city-add-pinyin" />
1111
<link rel="alternate" type="application/rss+xml" title="RSS" href="/questions/10015/westernized-chinese-city-add-pinyin?type=rss">
1212

1313
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -419,7 +419,7 @@ <h1><a href="/questions/10015/westernized-chinese-city-add-pinyin">Westernized C
419419
<td>
420420
<div class="item-right">
421421
<div class="answer-body">
422-
<p>This kind of issue is often discussed on the project page for that country. (for China see <a href="http://wiki.openstreetmap.org/wiki/China">http://wiki.openstreetmap.org/wiki/China</a> ) It may also be discussed on <a href="http://wiki.openstreetmap.org/wiki/Multilingual_names">http://wiki.openstreetmap.org/wiki/Multilingual_names</a></p>
422+
<p>This kind of issue is often discussed on the project page for that country. (for China see <a href="https://wiki.openstreetmap.org/wiki/China">https://wiki.openstreetmap.org/wiki/China</a> ) It may also be discussed on <a href="https://wiki.openstreetmap.org/wiki/Multilingual_names">https://wiki.openstreetmap.org/wiki/Multilingual_names</a></p>
423423
<p>The convention for mainland China seems to be that name= has the Chinese name only, while for Hong Kong the convention seems to be name= has the Chinese name followed by the English name (which may be different to the Chinese name using Pinyin).</p>
424424
</div>
425425
<div class="answer-controls post-controls">
@@ -697,7 +697,7 @@ <h3 class="subtitle">Follow this question</h3><strong>By Email:</strong><p>Once
697697

698698
<div id="sidebar-upper" class="boxC">
699699
<div class="body">
700-
<p>This was the support site for <a href="http://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
700+
<p>This was the support site for <a href="https://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
701701
</div>
702702
</div>
703703

import/questions/10019.how-can-i-convert-this.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="latitude : 42.358372000000003 longitude : -8.8580850000000009 how can I convert to Latitude: 42° 21&#39; N Longitude: 8° 51&#39; W ?? Any tools (js scripts, libraries..) ?? thanks!" />
88
<meta name="keywords" content="covert" />
99

10-
<link rel="canonical" href="https://help.openstreetmap.org/questions/10019/how-can-i-convert-this" />
10+
<link rel="canonical" href="/questions/10019/how-can-i-convert-this" />
1111
<link rel="alternate" type="application/rss+xml" title="RSS" href="/questions/10019/how-can-i-convert-this?type=rss">
1212

1313
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -645,7 +645,7 @@ <h3 class="subtitle">Follow this question</h3><strong>By Email:</strong><p>Once
645645

646646
<div id="sidebar-upper" class="boxC">
647647
<div class="body">
648-
<p>This was the support site for <a href="http://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
648+
<p>This was the support site for <a href="https://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
649649
</div>
650650
</div>
651651

import/questions/10023.adding-a-dedicated-turn-lane.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="I&#39;ve scoured the forums and cannot find the answer to this: How do I add a dedicated turn lane to a roadway? TIGER mapped the major roadway, and I have updated it to say lanes=2; however, there are various points at which a 3rd lane appears - and it is dedicated to a left or right turn at the next i..." />
88
<meta name="keywords" content="turn,leftturn,rightturn,turnlanes" />
99

10-
<link rel="canonical" href="https://help.openstreetmap.org/questions/10023/adding-a-dedicated-turn-lane" />
10+
<link rel="canonical" href="/questions/10023/adding-a-dedicated-turn-lane" />
1111
<link rel="alternate" type="application/rss+xml" title="RSS" href="/questions/10023/adding-a-dedicated-turn-lane?type=rss">
1212

1313
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -361,7 +361,7 @@ <h1><a href="/questions/10023/adding-a-dedicated-turn-lane">Adding a dedicated t
361361
<td>
362362
<div class="item-right">
363363
<div class="answer-body">
364-
<p>Find a junction of a similar type that as been mapped already, then open your editor and inspect what they have done.Then exit without saving. To add a lane or slip road is the same procedure of creating a node and drawing a way from that point. ask again if not sure. The editing videos are very good have a look at those too. <a href="http://wiki.openstreetmap.org/wiki/Video_tutorials">http://wiki.openstreetmap.org/wiki/Video_tutorials</a></p>
364+
<p>Find a junction of a similar type that as been mapped already, then open your editor and inspect what they have done.Then exit without saving. To add a lane or slip road is the same procedure of creating a node and drawing a way from that point. ask again if not sure. The editing videos are very good have a look at those too. <a href="https://wiki.openstreetmap.org/wiki/Video_tutorials">https://wiki.openstreetmap.org/wiki/Video_tutorials</a></p>
365365
</div>
366366
<div class="answer-controls post-controls">
367367

@@ -461,12 +461,12 @@ <h1><a href="/questions/10023/adding-a-dedicated-turn-lane">Adding a dedicated t
461461
<p>There are multiple proposals on this on wiki. I would suggest to read the proposals on wiki, choose one, help it get better (approved) and use it. Apparently there is no clear straightforward way to do this.<br>
462462
I will not be any more specific, since I have not decided for any of them yet.</p>
463463
<p>The lane proposals (there might be more):</p>
464-
<p><a href="http://wiki.openstreetmap.org/wiki/Proposed_features/Turn_Lanes">http://wiki.openstreetmap.org/wiki/Proposed_features/Turn_Lanes</a><br>
465-
<a href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Lane">http://wiki.openstreetmap.org/wiki/Relations/Proposed/Lane</a> <br>
466-
<a href="http://wiki.openstreetmap.org/wiki/Proposed_features/lane_and_lane_group">http://wiki.openstreetmap.org/wiki/Proposed_features/lane_and_lane_group</a> <br>
467-
<a href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/turn_lanes">http://wiki.openstreetmap.org/wiki/Relations/Proposed/turn_lanes</a> <br>
468-
<a href="http://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations">http://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations</a> <br>
469-
<a href="http://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations/Examples">http://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations/Examples</a> <br>
464+
<p><a href="https://wiki.openstreetmap.org/wiki/Proposed_features/Turn_Lanes">https://wiki.openstreetmap.org/wiki/Proposed_features/Turn_Lanes</a><br>
465+
<a href="https://wiki.openstreetmap.org/wiki/Relations/Proposed/Lane">https://wiki.openstreetmap.org/wiki/Relations/Proposed/Lane</a> <br>
466+
<a href="https://wiki.openstreetmap.org/wiki/Proposed_features/lane_and_lane_group">https://wiki.openstreetmap.org/wiki/Proposed_features/lane_and_lane_group</a> <br>
467+
<a href="https://wiki.openstreetmap.org/wiki/Relations/Proposed/turn_lanes">https://wiki.openstreetmap.org/wiki/Relations/Proposed/turn_lanes</a> <br>
468+
<a href="https://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations">https://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations</a> <br>
469+
<a href="https://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations/Examples">https://wiki.openstreetmap.org/wiki/Proposed_features/Lanes_as_Relations/Examples</a> <br>
470470
</p>
471471
</div>
472472
<div class="answer-controls post-controls">
@@ -592,7 +592,7 @@ <h3 class="subtitle">Follow this question</h3><strong>By Email:</strong><p>Once
592592

593593
<div id="sidebar-upper" class="boxC">
594594
<div class="body">
595-
<p>This was the support site for <a href="http://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
595+
<p>This was the support site for <a href="https://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
596596
</div>
597597
</div>
598598

import/questions/10024.increase-decrease-lane-count-for-a-small-segment-of-roadway.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="How does one increase or decrease the lane count for a segment of a roadway. In the specific example I have in mind, the roadway grows from 2 lanes to 3 lanes - with two designated as &quot;thru&quot; and one designated as the &quot;ramp&quot; / turn lane (merges onto a primary highway). Hows does one model this within..." />
88
<meta name="keywords" content="lanecount,removinglanes,variablelanes,addinglanes" />
99

10-
<link rel="canonical" href="https://help.openstreetmap.org/questions/10024/increase-decrease-lane-count-for-a-small-segment-of-roadway" />
10+
<link rel="canonical" href="/questions/10024/increase-decrease-lane-count-for-a-small-segment-of-roadway" />
1111
<link rel="alternate" type="application/rss+xml" title="RSS" href="/questions/10024/increase-decrease-lane-count-for-a-small-segment-of-roadway?type=rss">
1212

1313
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -574,7 +574,7 @@ <h3 class="subtitle">Follow this question</h3><strong>By Email:</strong><p>Once
574574

575575
<div id="sidebar-upper" class="boxC">
576576
<div class="body">
577-
<p>This was the support site for <a href="http://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
577+
<p>This was the support site for <a href="https://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
578578
</div>
579579
</div>
580580

import/questions/10029.my-bollard-is-not-displayed-.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="hello, why bollard is not viewed on the map ? only when i edit...." />
88
<meta name="keywords" content="bollard" />
99

10-
<link rel="canonical" href="https://help.openstreetmap.org/questions/10029/my-bollard-is-not-displayed-" />
10+
<link rel="canonical" href="/questions/10029/my-bollard-is-not-displayed-" />
1111
<link rel="alternate" type="application/rss+xml" title="RSS" href="/questions/10029/my-bollard-is-not-displayed-?type=rss">
1212

1313
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -514,7 +514,7 @@ <h3 class="subtitle">Follow this question</h3><strong>By Email:</strong><p>Once
514514

515515
<div id="sidebar-upper" class="boxC">
516516
<div class="body">
517-
<p>This was the support site for <a href="http://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
517+
<p>This was the support site for <a href="https://www.openstreetmap.org/">OpenStreetMap</a>. It has now been replaced by <a href="https://community.openstreetmap.org/">community.osm.org</a>.</p>
518518
</div>
519519
</div>
520520

0 commit comments

Comments
 (0)