Talk:Virtual machine image

From OpenStreetMap Wiki
Latest comment: 12 years ago by Harry Wood in topic move to 'Nominatim & Tile Server VM'
Jump to navigation Jump to search

move to 'Nominatim & Tile Server VM'

Hi Andrew - thanks for putting this together. Would you mind if I set up a redirect from this page to one titled "Nominatim & Tile Server VM"? I think that would be more descriptive & help generate more traffic. If not, no worries. Thanks! Jeffmeyer 22:56, 28 December 2012 (UTC)Reply

Yes please. This title is too broad I reckon. I'm adding move proposal label to the page -- Harry Wood (talk) 12:57, 19 May 2014 (UTC)Reply

Feature requests / Wishes

Additional things required to make this work

The following workarounds may not be the best way to fix the problems I found, but they result in a working installation:

1) Once you've updated the /usr/bin/get-coastlines.sh script from the subversion repos, edit the script and amend all instances of:

$WGET http://...

So that it instead reads:

$WGET --no-check-certificate http://...

This ensures that wget is able to fetch HTTPS links without problem.

2) Edit the /home/osm/Scripts/import_osm_extract script and remove "--slim" option from the line containing the osm2pgsql command. This will avoid "duplicate key" errors (and failure) when importing the PBF file.

3) As already mentioned in the original wiki text, you need to remove the "ne_" prefix from the filename of files in /usr/share/mapnik-osm-data/world_boundaries/

However, you should NOT do this for the 10m_populated_places.dbf, .shp and .shx files. Running /usr/bin/renderd -f will confirm this.