The basic starting guides kind of left me with a couple of doubts
Do we have to run render_list to get more zoom levels? Can we render zoom levels of a specific state? Is this the command? osm2pgsql -s -C 3000 -d gis -U gis --prefix MI -S default.style -e 12-20 MI.osm asked 15 Apr '18, 19:24 gfitz aseerel4c26 ♦ |
I suspect that what you're trying to do here is to:
In order to load data I'd suggest following this for Ubuntu 16.04 or this for 18.04. I wouldn't suggest anything older because:
If you want a US state, I'd suggest that you get data for the state you want from here. You can pick a small one for testing. Once loaded, you'll have a database and a tile server but no map tiles yet. You can let map tiles render "on the fly" as people try and access them (but this will initially be slow) or you can use something like " However, if you're only interested in tiles for a US state rendering all tiles worldwide (most of which will be empty) is pretty wasteful. This link explains how to render tiles for a particular area only. The example given there renders zoom 11 tiles for the UK only; for your US state you'd need to find the min and max lat and lon values and min and max zoom levels and amend the example command line given to match. answered 15 Apr '18, 22:37 SomeoneElse ♦ Alright now. Followed that guide. /0/0/0.png is returning a pic of the world. After a few 404s tho. Also loaded the entire north american continent. Now leafletjs returns 404 on the pngs it's trying to fetch.
(27 Apr '18, 05:15)
gfitz
Sorry the path was /hot/x/y/z.png. My bad
(27 Apr '18, 05:30)
gfitz
|
It's not actually clear from the question so far what you're actually trying to do - maybe add a bit more detail about what problems you're hitting?
For the avoidance of doubt if you follow https://switch2osm.org/manually-building-a-tile-server-16-04-2-lts/ you'll get a tile server that renders tiles on demand. If you want to manually render tiles you can use "render_list" (and you might find https://wiki.openstreetmap.org/wiki/User:SomeoneElse/Ubuntu_1804_tileserver_load#Force_Rendering_Tiles to help with that), but be aware that if you force render high zooms you will get a lot of very empty tiles.
Already did all that through the apt-get package for 14.04 that loads all the planet and then we imported the entire north american PBF. It doesn't load further than zoom level 13. And render_list has been running for days.
One big caveat - the "with packages" instructions use lots of quite old software versions. I wouldn't personally recommend it, although on 14.04 it should still work (though you may hit old bugs later on).
To be clear, you can load any data you want at that stage. I'd personally suggest something much smaller while ensuring that the process works.
I'm guessing here that you mean "the data loads OK but when I manually run render_list it doesn't get further than zoom level 13".
To re-ask my original question - what are you actually trying to do?
Is render running? Restart it and post the useful output of: grep syslog | grep renderd