Skip to content

Commit c6b46b7

Browse files
committed
[link] adding link to the mumbai and bancladesh snapshots (#203)
1 parent 761f9f5 commit c6b46b7

File tree

4 files changed

+169
-144
lines changed

4 files changed

+169
-144
lines changed

docs/un_sdg/data.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ Downloading Mumbai data from OSGeo
8080
The following command is used to download the snapshot of the Mumbai area data
8181
used in this workshop, using the download service of OSGeo.
8282

83-
.. note:: This workshop depends on this snapshot.
83+
.. note:: The Mumbai data for this workshop depends on this `snapshot
84+
<http://download.osgeo.org/pgrouting/workshops/mumbai.osm.bz2>`__.
8485

8586
.. literalinclude:: ../scripts/get_data/get_mumbai_data.sh
8687
:start-after: mumbai data from-here
@@ -211,7 +212,8 @@ Downloading Bangladesh data from OSGeo
211212
The following command is used to download the snapshot of the Bangladesh area data
212213
used in this workshop, using the download service of OSGeo.
213214

214-
.. note:: This workshop depends on this snapshot.
215+
.. note:: The Bangladesh data for this workshop depends on this `snapshot
216+
<http://download.osgeo.org/pgrouting/workshops/bangladesh.osm.bz2>`__.
215217

216218
.. literalinclude:: ../scripts/get_data/get_bangladesh_data.sh
217219
:start-after: mumbai data from-here

locale/en/LC_MESSAGES/un_sdg/data.po

Lines changed: 53 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Workshop FOSS4G Argentina 2.7\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2022-03-04 10:21-0600\n"
12+
"POT-Creation-Date: 2022-03-10 13:12-0600\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1515
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -77,11 +77,11 @@ msgstr ""
7777
msgid "Use the following command to create ``mumbai`` database"
7878
msgstr ""
7979

80-
#: ../../build/docs/un_sdg/data.rst:57 ../../build/docs/un_sdg/data.rst:189
80+
#: ../../build/docs/un_sdg/data.rst:57 ../../build/docs/un_sdg/data.rst:190
8181
msgid "To connect to the database do the following"
8282
msgstr ""
8383

84-
#: ../../build/docs/un_sdg/data.rst:63 ../../build/docs/un_sdg/data.rst:196
84+
#: ../../build/docs/un_sdg/data.rst:63 ../../build/docs/un_sdg/data.rst:197
8585
msgid ""
8686
"After connecting to the database, first step is to create ``EXTENSION`` "
8787
"to enable pgRouting and PostGIS in the database. Then add the ``SCHEMA`` "
@@ -108,196 +108,204 @@ msgid ""
108108
" data used in this workshop, using the download service of OSGeo."
109109
msgstr ""
110110

111-
#: ../../build/docs/un_sdg/data.rst:83 ../../build/docs/un_sdg/data.rst:214
112-
msgid "This workshop depends on this snapshot."
111+
#: ../../build/docs/un_sdg/data.rst:83
112+
msgid ""
113+
"The Mumbai data for this workshop depends on this `snapshot "
114+
"<http://download.osgeo.org/pgrouting/workshops/mumbai.osm.bz2>`__."
113115
msgstr ""
114116

115-
#: ../../build/docs/un_sdg/data.rst:92
117+
#: ../../build/docs/un_sdg/data.rst:93
116118
msgid "Downloading Mumbai data from OpenStreetMap (OSM)"
117119
msgstr ""
118120

119-
#: ../../build/docs/un_sdg/data.rst:93
121+
#: ../../build/docs/un_sdg/data.rst:94
120122
msgid ""
121123
"The following command is used to download the OpenStreetMap data of the "
122124
"area in Mumbai, India."
123125
msgstr ""
124126

125-
#: ../../build/docs/un_sdg/data.rst:95
127+
#: ../../build/docs/un_sdg/data.rst:96
126128
msgid ""
127129
"OpenStreetMap data changes on a day to day basis, therefore if this data "
128130
"is used, the results might change and some queries might need "
129131
"adjustments. The command was used to take the snapshot of the data on "
130132
"June 2021."
131133
msgstr ""
132134

133-
#: ../../build/docs/un_sdg/data.rst:106
135+
#: ../../build/docs/un_sdg/data.rst:107
134136
msgid "Upload Mumbai data to the database"
135137
msgstr ""
136138

137-
#: ../../build/docs/un_sdg/data.rst:108 ../../build/docs/un_sdg/data.rst:238
139+
#: ../../build/docs/un_sdg/data.rst:109 ../../build/docs/un_sdg/data.rst:240
138140
msgid ""
139141
"The next step is to run ``osm2pgrouting`` converter, which is a command "
140142
"line tool that inserts the data in the database, \"ready\" to be used "
141143
"with pgRouting. See :doc:`../appendix/appendix-3` for additional "
142144
"information about ``osm2pgrouting``."
143145
msgstr ""
144146

145-
#: ../../build/docs/un_sdg/data.rst:112 ../../build/docs/un_sdg/data.rst:242
147+
#: ../../build/docs/un_sdg/data.rst:113 ../../build/docs/un_sdg/data.rst:244
146148
msgid "For this step the following is used:"
147149
msgstr ""
148150

149-
#: ../../build/docs/un_sdg/data.rst:114
151+
#: ../../build/docs/un_sdg/data.rst:115
150152
msgid ""
151153
"``mumbai_buildings.xml`` and ``mumbai_roads.xml`` configuration files for"
152154
" osm2pgrouting."
153155
msgstr ""
154156

155-
#: ../../build/docs/un_sdg/data.rst:115
157+
#: ../../build/docs/un_sdg/data.rst:116
156158
msgid "``~/Desktop/workshop/mumbai.osm`` - OSM data from the previous step"
157159
msgstr ""
158160

159-
#: ../../build/docs/un_sdg/data.rst:116
161+
#: ../../build/docs/un_sdg/data.rst:117
160162
msgid "``mumbai`` database."
161163
msgstr ""
162164

163-
#: ../../build/docs/un_sdg/data.rst:118 ../../build/docs/un_sdg/data.rst:248
165+
#: ../../build/docs/un_sdg/data.rst:119 ../../build/docs/un_sdg/data.rst:250
164166
msgid ""
165167
"Contents of the configuration files are given in the `Appendix`_. Create "
166168
"a XML file using these contents and save it into the root directory "
167169
"``~/Desktop/workshop``."
168170
msgstr ""
169171

170-
#: ../../build/docs/un_sdg/data.rst:121
172+
#: ../../build/docs/un_sdg/data.rst:122
171173
msgid ""
172174
"Open a terminal window by ``ctrl-alt-t`` and move to the workshop "
173175
"directory by ``cd ~/Desktop/workshop``. The following ``osm2pgrouting`` "
174176
"command will be used to convert the osm files to pgRouting friendly "
175177
"format which we will use for further exercises."
176178
msgstr ""
177179

178-
#: ../../build/docs/un_sdg/data.rst:126
180+
#: ../../build/docs/un_sdg/data.rst:127
179181
msgid "Importing Mumbai Roads"
180182
msgstr ""
181183

182-
#: ../../build/docs/un_sdg/data.rst:128
184+
#: ../../build/docs/un_sdg/data.rst:129
183185
msgid ""
184186
"The following ``osm2pgrouting`` command will be used to import the Roads "
185187
"from OpenStreetMaps file to pgRouting database which we will use for "
186188
"further exercises."
187189
msgstr ""
188190

189-
#: ../../build/docs/un_sdg/data.rst:138 ../../build/docs/un_sdg/data.rst:159
190-
#: ../../build/docs/un_sdg/data.rst:266
191+
#: ../../build/docs/un_sdg/data.rst:139 ../../build/docs/un_sdg/data.rst:160
192+
#: ../../build/docs/un_sdg/data.rst:268
191193
msgid "Depending on the osm2pgrouting version `-W password` is needed"
192194
msgstr ""
193195

194-
#: ../../build/docs/un_sdg/data.rst:141 ../../build/docs/un_sdg/data.rst:162
195-
#: ../../build/docs/un_sdg/data.rst:269
196+
#: ../../build/docs/un_sdg/data.rst:142 ../../build/docs/un_sdg/data.rst:163
197+
#: ../../build/docs/un_sdg/data.rst:271
196198
msgid "Output:"
197199
msgstr ""
198200

199-
#: ../../build/docs/un_sdg/data.rst:147
201+
#: ../../build/docs/un_sdg/data.rst:148
200202
msgid "Importing Mumbai Buildings"
201203
msgstr ""
202204

203-
#: ../../build/docs/un_sdg/data.rst:149
205+
#: ../../build/docs/un_sdg/data.rst:150
204206
msgid ""
205207
"Similar to Roads, ``osm2pgrouting`` command will be used to import the "
206208
"Buildings from OpenStreetMaps file to pgRouting database which we will "
207209
"use for further exercises."
208210
msgstr ""
209211

210-
#: ../../build/docs/un_sdg/data.rst:167 ../../build/docs/un_sdg/data.rst:274
212+
#: ../../build/docs/un_sdg/data.rst:168 ../../build/docs/un_sdg/data.rst:276
211213
msgid "To connect to the database, type the following in the terminal."
212214
msgstr ""
213215

214-
#: ../../build/docs/un_sdg/data.rst:175
216+
#: ../../build/docs/un_sdg/data.rst:176
215217
msgid "Bangladesh database"
216218
msgstr ""
217219

218-
#: ../../build/docs/un_sdg/data.rst:177
220+
#: ../../build/docs/un_sdg/data.rst:178
219221
msgid ""
220222
"Now download the data for an area in Bangladesh by following the same "
221223
"steps like that of Mumbai."
222224
msgstr ""
223225

224-
#: ../../build/docs/un_sdg/data.rst:181
226+
#: ../../build/docs/un_sdg/data.rst:182
225227
msgid "Create Bangladesh area database compatible with pgRouting"
226228
msgstr ""
227229

228-
#: ../../build/docs/un_sdg/data.rst:183
230+
#: ../../build/docs/un_sdg/data.rst:184
229231
msgid "Use the following command to create ``bangladesh`` database"
230232
msgstr ""
231233

232-
#: ../../build/docs/un_sdg/data.rst:206
234+
#: ../../build/docs/un_sdg/data.rst:207
233235
msgid "Get the Bangladesh Data"
234236
msgstr ""
235237

236-
#: ../../build/docs/un_sdg/data.rst:209
238+
#: ../../build/docs/un_sdg/data.rst:210
237239
msgid "Downloading Bangladesh data from OSGeo"
238240
msgstr ""
239241

240-
#: ../../build/docs/un_sdg/data.rst:211
242+
#: ../../build/docs/un_sdg/data.rst:212
241243
msgid ""
242244
"The following command is used to download the snapshot of the Bangladesh "
243245
"area data used in this workshop, using the download service of OSGeo."
244246
msgstr ""
245247

246-
#: ../../build/docs/un_sdg/data.rst:223
248+
#: ../../build/docs/un_sdg/data.rst:215
249+
msgid ""
250+
"The Bangladesh data for this workshop depends on this `snapshot "
251+
"<http://download.osgeo.org/pgrouting/workshops/bangladesh.osm.bz2>`__."
252+
msgstr ""
253+
254+
#: ../../build/docs/un_sdg/data.rst:225
247255
msgid "Downloading Bangladesh data from OpenStreetMap"
248256
msgstr ""
249257

250-
#: ../../build/docs/un_sdg/data.rst:224
258+
#: ../../build/docs/un_sdg/data.rst:226
251259
msgid ""
252260
"The following command is used to download the OSM data of the area in "
253261
"Munshigang, Bangladesh."
254262
msgstr ""
255263

256-
#: ../../build/docs/un_sdg/data.rst:233
264+
#: ../../build/docs/un_sdg/data.rst:235
257265
msgid "See :ref:`basic/data:Option 3) Download using Overpass XAPI`"
258266
msgstr ""
259267

260-
#: ../../build/docs/un_sdg/data.rst:236
268+
#: ../../build/docs/un_sdg/data.rst:238
261269
msgid "Upload Bangladesh data to the database"
262270
msgstr ""
263271

264-
#: ../../build/docs/un_sdg/data.rst:244
272+
#: ../../build/docs/un_sdg/data.rst:246
265273
msgid "``waterways.xml`` configuration file"
266274
msgstr ""
267275

268-
#: ../../build/docs/un_sdg/data.rst:245
276+
#: ../../build/docs/un_sdg/data.rst:247
269277
msgid "``~/Desktop/workshop/bangladesh.osm`` - OSM data from the previous step"
270278
msgstr ""
271279

272-
#: ../../build/docs/un_sdg/data.rst:246
280+
#: ../../build/docs/un_sdg/data.rst:248
273281
msgid "``bangladesh`` database"
274282
msgstr ""
275283

276-
#: ../../build/docs/un_sdg/data.rst:251
284+
#: ../../build/docs/un_sdg/data.rst:253
277285
msgid ""
278286
"Open a terminal window by ``ctrl-alt-t`` and move to the workshop "
279287
"directory by ``cd ~/Desktop/workshop``."
280288
msgstr ""
281289

282-
#: ../../build/docs/un_sdg/data.rst:255
290+
#: ../../build/docs/un_sdg/data.rst:257
283291
msgid "Importing Bangladesh Waterways"
284292
msgstr ""
285293

286-
#: ../../build/docs/un_sdg/data.rst:257
294+
#: ../../build/docs/un_sdg/data.rst:259
287295
msgid ""
288296
"The following ``osm2pgrouting`` command will be used to import the "
289297
"Waterways from OpenStreetMaps file to pgRouting database which we will "
290298
"use for further exercises."
291299
msgstr ""
292300

293-
#: ../../build/docs/un_sdg/data.rst:283
301+
#: ../../build/docs/un_sdg/data.rst:285
294302
msgid "Appendix"
295303
msgstr ""
296304

297-
#: ../../build/docs/un_sdg/data.rst:286
305+
#: ../../build/docs/un_sdg/data.rst:288
298306
msgid "Configuration information for Buildings"
299307
msgstr ""
300308

301-
#: ../../build/docs/un_sdg/data.rst:294
309+
#: ../../build/docs/un_sdg/data.rst:296
302310
msgid "Configuration information for Waterways"
303311
msgstr ""

0 commit comments

Comments
 (0)