Jump to content

Talk:Maps/ClearTables/Loading

From Wikitech
(Redirected from Talk:Maps/Loading)

Timestamp check

The command curl -sL https://planet.openstreetmap.org/pbf/planet-180611.osm.pbf | osmium fileinfo -g header.option.osmosis_replication_timestamp -F pbf - results in an error: PBF error: blob contains no data.

This could be done more simply and using the local file already downloaded in the previous step: osmium fileinfo planet-180611.osm.pbf | grep osmosis_replication_timestamp. This succeeds.

Any reason not to make this change to the docs?

Ah, I see I prematurely downloaded the file itself. Still, shouldn't be getting a PBF error: blob contains no data error. Mholloway (talk) 20:21, 16 June 2018 (UTC)Reply
Answer: it's because I wasn't going through the web proxy. (Note to self: perhaps include this in a new "Troubleshooting" section.) Mholloway (talk) 14:39, 22 June 2018 (UTC)Reply

"Update Borders" step

When doing this step on initial setup I see a couple of errors:

Geometry error on way 501247797: need at least two points for linestring (way_id=501247797)

NOTICE: table "osmborder_lines" does not exist, skipping

(full output here)

Are these expected on initial setup? (In general, are the sections on this page meant to be run through in order (with "resetting" optional, I presume)?)

Mholloway (talk) 15:34, 18 June 2018 (UTC)Reply

Stop existing updates by disabling puppet cron jobs

How? An example command would be useful here.

I did puppet agent --disable before kicking off the import, but Puppet still appears to be running (at least according to the "last puppet run" message when I log on).

Mholloway (talk) 16:27, 19 June 2018 (UTC)Reply

Answer: This requires creating and deploying a puppet patch. For best results, ask Gehel. Mholloway (talk) 14:41, 22 June 2018 (UTC)Reply