NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Tiles are missing all features with sample_leaflet.html at any zoom? First Time Installer

All of the tiles are being rendered correctly but there aren't any roads or other features displayed on them?

Following this guide. https://switch2osm.org/manually-building-a-tile-server-18-04-lts/

I grabbed the Special Sub Regions located here http://download.geofabrik.de/north-america.html. Installed one by one.

asked 29 Jun '19, 18:37

chavenor1's gravatar image

chavenor1
11446
accept rate: 0%

edited 29 Jun '19, 19:49

Any error messages in syslog?

(29 Jun '19, 18:42) SomeoneElse ♦

Nothing that looked like an error. Checked Syslog and syslog.1. I don't see any options passed - typical?

Got command RenderPrio fd(11) xml(ajt), z(9), x(124), y(179), mime(image/png), options()

(29 Jun '19, 18:52) chavenor1

First time installer of what? Which instructions did you follow? Which data file did you download and what was the osm2pgsql incantation?

(29 Jun '19, 19:04) Frederik Ramm ♦

Is it possible that you called the osm2pgsql program for each data file individually? If this is the case, you have likely overwritten your database each time, so as a result you will end up with a database that only has the file you loaded last. You would then see some data in the area of the last file loaded, but all other areas would only show coastline.

permanent link

answered 29 Jun '19, 20:10

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Yes I did do this. I ran this as the renderaccount user. Can I use a wildcard regex within this arg? See end.

osm2pgsql -d gis --create --slim -G --hstore --tag-transform-script ~/src/openstreetmap-carto/openstreetmap-carto.lua -C 2100 --number-processes 1 -S ~/src/openstreetmap-carto/openstreetmap-carto.style ~/data/*

(29 Jun '19, 20:24) chavenor1

I went into the new area of the midwest to get a fresh title and same issue.

Reading in file: /home/renderaccount/data/us-midwest-latest.osm.pbf Using PBF parser. Processing: Node(79420k 345.3k/s) Way(0k 0.00k/s) Relation(0 0.00/s)Killed

(29 Jun '19, 21:06) chavenor1
2

Ok, this means that your import process has aborted and the database is empty. How much RAM does your machine have?

(29 Jun '19, 22:48) Frederik Ramm ♦

The testing unit has 3 GB. Set total to 2100 in the script. More RAM? Largest file to import is around ~2GB.

(01 Jul '19, 01:20) chavenor1

Updated system to 24 GB of RAM going to give that a try.

(01 Jul '19, 04:15) chavenor1

Frederik can you post your answer that is clearly it. Out of HD space and RAM.

(01 Jul '19, 07:02) chavenor1
showing 5 of 6 show 1 more comments

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×202
×88
×61

question asked: 29 Jun '19, 18:37

question was seen: 1,932 times

last updated: 01 Jul '19, 07:02

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum