Browse Source

Mise à jour de BRouter-build-segments

Phyks (Lucas Verney) 2 months ago
parent
commit
347c9de9b3

+ 7
- 2
content/2018/11/brouter-build-segments.md View File

@@ -45,15 +45,20 @@ more efficient. If you want to use the latter one, you will have to build the
45 45
     folder,
46 46
 
47 47
 ```
48
-javac -d . -cp "brouter.jar:protobuf.jar:brouter.jar:osmosis.jar" *.java
48
+javac -d . -cp "brouter.jar:protobuf.jar:osmosis.jar" *.java
49 49
 ```
50 50
 
51 51
 * Finally, you can build a `jar` file from these files using
52 52
 
53 53
 ```
54
-jar cf pbfparser.jar **/*.class
54
+jar cf pbfparser.jar btools/**/*.class
55 55
 ```
56 56
 
57
+_Note:_ If the `jar` file is not properly created, everything else will seem
58
+to work normally but there will not be any data extracted from the OSM data
59
+dump. You can check what is actually inside the built `jar` file using `jar tf
60
+pbfparser.jar`.
61
+
57 62
 You can now move the files `brouter.jar`, `protobuf.jar`, `pbfparser.jar` and
58 63
 `osmosis.jar` from the `misc/pbfparser` folder to the
59 64
 `misc/scripts/mapcreation` folder.

+ 6
- 2
output/2018/11/build-your-own-brouter-segments-files.html View File

@@ -133,17 +133,21 @@ more efficient. If you want to use the latter one, you will have to build the
133 133
 <li>You can build the <code>pbfparser</code> using, in the <code>misc/pbfparser/</code>
134 134
     folder,</li>
135 135
 </ul>
136
-<div class="highlight"><pre><span></span>javac -d . -cp &quot;brouter.jar:protobuf.jar:brouter.jar:osmosis.jar&quot; *.java
136
+<div class="highlight"><pre><span></span>javac -d . -cp &quot;brouter.jar:protobuf.jar:osmosis.jar&quot; *.java
137 137
 </pre></div>
138 138
 
139 139
 
140 140
 <ul>
141 141
 <li>Finally, you can build a <code>jar</code> file from these files&nbsp;using</li>
142 142
 </ul>
143
-<div class="highlight"><pre><span></span>jar cf pbfparser.jar **/*.class
143
+<div class="highlight"><pre><span></span>jar cf pbfparser.jar btools/**/*.class
144 144
 </pre></div>
145 145
 
146 146
 
147
+<p><em>Note:</em> If the <code>jar</code> file is not properly created, everything else will seem
148
+to work normally but there will not be any data extracted from the <span class="caps">OSM</span> data
149
+dump. You can check what is actually inside the built <code>jar</code> file using <code>jar tf
150
+pbfparser.jar</code>.</p>
147 151
 <p>You can now move the files <code>brouter.jar</code>, <code>protobuf.jar</code>, <code>pbfparser.jar</code> and
148 152
 <code>osmosis.jar</code> from the <code>misc/pbfparser</code> folder to the
149 153
 <code>misc/scripts/mapcreation</code> folder.</p>

+ 6
- 2
output/feeds/all.atom.xml View File

@@ -38,17 +38,21 @@ more efficient. If you want to use the latter one, you will have to build the
38 38
 &lt;li&gt;You can build the &lt;code&gt;pbfparser&lt;/code&gt; using, in the &lt;code&gt;misc/pbfparser/&lt;/code&gt;
39 39
     folder,&lt;/li&gt;
40 40
 &lt;/ul&gt;
41
-&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;javac -d . -cp &amp;quot;brouter.jar:protobuf.jar:brouter.jar:osmosis.jar&amp;quot; *.java
41
+&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;javac -d . -cp &amp;quot;brouter.jar:protobuf.jar:osmosis.jar&amp;quot; *.java
42 42
 &lt;/pre&gt;&lt;/div&gt;
43 43
 
44 44
 
45 45
 &lt;ul&gt;
46 46
 &lt;li&gt;Finally, you can build a &lt;code&gt;jar&lt;/code&gt; file from these files&amp;nbsp;using&lt;/li&gt;
47 47
 &lt;/ul&gt;
48
-&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;jar cf pbfparser.jar **/*.class
48
+&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;jar cf pbfparser.jar btools/**/*.class
49 49
 &lt;/pre&gt;&lt;/div&gt;
50 50
 
51 51
 
52
+&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; If the &lt;code&gt;jar&lt;/code&gt; file is not properly created, everything else will seem
53
+to work normally but there will not be any data extracted from the &lt;span class="caps"&gt;OSM&lt;/span&gt; data
54
+dump. You can check what is actually inside the built &lt;code&gt;jar&lt;/code&gt; file using &lt;code&gt;jar tf
55
+pbfparser.jar&lt;/code&gt;.&lt;/p&gt;
52 56
 &lt;p&gt;You can now move the files &lt;code&gt;brouter.jar&lt;/code&gt;, &lt;code&gt;protobuf.jar&lt;/code&gt;, &lt;code&gt;pbfparser.jar&lt;/code&gt; and
53 57
 &lt;code&gt;osmosis.jar&lt;/code&gt; from the &lt;code&gt;misc/pbfparser&lt;/code&gt; folder to the
54 58
 &lt;code&gt;misc/scripts/mapcreation&lt;/code&gt; folder.&lt;/p&gt;

+ 6
- 2
output/feeds/dev.atom.xml View File

@@ -38,17 +38,21 @@ more efficient. If you want to use the latter one, you will have to build the
38 38
 &lt;li&gt;You can build the &lt;code&gt;pbfparser&lt;/code&gt; using, in the &lt;code&gt;misc/pbfparser/&lt;/code&gt;
39 39
     folder,&lt;/li&gt;
40 40
 &lt;/ul&gt;
41
-&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;javac -d . -cp &amp;quot;brouter.jar:protobuf.jar:brouter.jar:osmosis.jar&amp;quot; *.java
41
+&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;javac -d . -cp &amp;quot;brouter.jar:protobuf.jar:osmosis.jar&amp;quot; *.java
42 42
 &lt;/pre&gt;&lt;/div&gt;
43 43
 
44 44
 
45 45
 &lt;ul&gt;
46 46
 &lt;li&gt;Finally, you can build a &lt;code&gt;jar&lt;/code&gt; file from these files&amp;nbsp;using&lt;/li&gt;
47 47
 &lt;/ul&gt;
48
-&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;jar cf pbfparser.jar **/*.class
48
+&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;jar cf pbfparser.jar btools/**/*.class
49 49
 &lt;/pre&gt;&lt;/div&gt;
50 50
 
51 51
 
52
+&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; If the &lt;code&gt;jar&lt;/code&gt; file is not properly created, everything else will seem
53
+to work normally but there will not be any data extracted from the &lt;span class="caps"&gt;OSM&lt;/span&gt; data
54
+dump. You can check what is actually inside the built &lt;code&gt;jar&lt;/code&gt; file using &lt;code&gt;jar tf
55
+pbfparser.jar&lt;/code&gt;.&lt;/p&gt;
52 56
 &lt;p&gt;You can now move the files &lt;code&gt;brouter.jar&lt;/code&gt;, &lt;code&gt;protobuf.jar&lt;/code&gt;, &lt;code&gt;pbfparser.jar&lt;/code&gt; and
53 57
 &lt;code&gt;osmosis.jar&lt;/code&gt; from the &lt;code&gt;misc/pbfparser&lt;/code&gt; folder to the
54 58
 &lt;code&gt;misc/scripts/mapcreation&lt;/code&gt; folder.&lt;/p&gt;

+ 4
- 4
output/sitemap.xml View File

@@ -5,28 +5,28 @@ xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
5 5
 
6 6
 <url>
7 7
 <loc>https://phyks.me/</loc>
8
-<lastmod>2018-11-10T00:11:50-00:00</lastmod>
8
+<lastmod>2018-11-27T08:29:20-00:00</lastmod>
9 9
 <changefreq>daily</changefreq>
10 10
 <priority>0.6</priority>
11 11
 </url>
12 12
 
13 13
 <url>
14 14
 <loc>https://phyks.me/archives.html</loc>
15
-<lastmod>2018-11-10T00:11:50-00:00</lastmod>
15
+<lastmod>2018-11-27T08:29:20-00:00</lastmod>
16 16
 <changefreq>daily</changefreq>
17 17
 <priority>0.6</priority>
18 18
 </url>
19 19
 
20 20
 <url>
21 21
 <loc>https://phyks.me/tags.html</loc>
22
-<lastmod>2018-11-10T00:11:50-00:00</lastmod>
22
+<lastmod>2018-11-27T08:29:20-00:00</lastmod>
23 23
 <changefreq>daily</changefreq>
24 24
 <priority>0.6</priority>
25 25
 </url>
26 26
 
27 27
 <url>
28 28
 <loc>https://phyks.me/categories.html</loc>
29
-<lastmod>2018-11-10T00:11:50-00:00</lastmod>
29
+<lastmod>2018-11-27T08:29:20-00:00</lastmod>
30 30
 <changefreq>daily</changefreq>
31 31
 <priority>0.6</priority>
32 32
 </url>