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

Hello I am refering this https://wiki.openstreetmap.org/wiki/User:SomeoneElse/Ubuntu_1804_tileserver_load#An_example_site for zoom upto 10 , i need to do bellow render_list -n 1 -s /var/run/renderd/renderd.sock -z 0 -Z 10 -m ajt -a

now

if i do bellow, will it render zoom level upto 18 , i actually tryed but dont think it work, it always does upto 9 render_list -n 1 -s /var/run/renderd/renderd.sock -z 0 -Z 18 -m ajt -a

Please let me know

asked 08 Jun '18, 18:08

fosiul's gravatar image

fosiul
96131419
accept rate: 50%


It wouldn't be practical to use "render_list" to try and render all tiles worldwide up to zoom level 18, for the reasons described here. Most tiles at that zoom level are just sea; there's no point in pre-rendering them. Assuming that you actually have an area that you are interested in I'd suggesting using https://github.com/alx77/render_list_geo.pl to pre-render tiles in that area.

permanent link

answered 09 Jun '18, 00:11

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

@SomeoneElse, Thanks, basically I am interested in 3 Country for now , UK,Spain and Bangladesh. my understanding is, if i can render all tiles with zoom 18 before hand , it will speed up the user experinece when they will use our map, system will not need to render the tile on demand, is that a right assumption ? what i see is, when i browse somes tiles of some new area it takes bit time to come but next time when i try to view those area it comes very fast .

Please let me know.

Thanks

(09 Jun '18, 01:02) fosiul

@SomeoneElse,

after I ran render with "render_list -n 1 -s /var/run/renderd/renderd.sock -z 0 -Z 11 -m ajt -a" now lower tiles in one country (Bangladesh ) is not showing .

I can see Rendering happening when i try to browse the map but on Screen is totally white. Ref:https://ibb.co/cwUyso however some higher zoom map are showing although not fully visible. https://ibb.co/bQaeXo and map for UK is fine.

Please let me know what could be wrong ? I am forcing rendering with Zoom 10 again to see if that helps

but Please put some light on this

Thanks

(11 Jun '18, 09:17) fosiul
1

Is there definitely data from UK,Spain and Bangladesh in your rendering database? https://www.openstreetmap.org/way/75134987 is a tertiary road in Bangladesh, so:

psql gis
SELECT tags FROM planet_osm_ways WHERE (id = 75134987);

should return something. If it doesn't maybe you loaded Bangladesh first, and then replaced it with the UK? You'll need to combine it all the data together to load it in the rendering database.

(11 Jun '18, 09:32) SomeoneElse ♦

Hi Yes, Currently I only loaded Bangladsh and UK. ( I have not loaded the spain yet) UK map does not have any problem, but Bangladesh map, it was fine, but after Rendering with 11, now low zoom map not comming at all, but some high zoom map comming but they not complete ...

Your Sql provie bellow out put so does it mean Bangaldesh Data got removed ? then how i am seeing some Map with high zoom ? ( may be comming from cache ? )

postgres@opentile2:~$ psql gis psql (9.5.12) Type "help" for help.

gis=# SELECT tags FROM planet_osm_ways WHERE (id = 75134987); tags


(0 rows)

Also intially i did this

osm2pgsql -d gis --create --slim -G --hstore --tag-transform-script src/openstreetmap-carto/openstreetmap-carto.lua -C 2500 --number-processes 1 -S src/openstreetmap-carto/openstreetmap-carto.style data/bangladesh-latest.osm.pbf

then last week in inserted UK data osm2pgsql -d gis --create --slim -G --hstore --tag-transform-script src/openstreetmap-carto/openstreetmap-carto.lua -C 2500 --number-processes 1 -S src/openstreetmap-carto/openstreetmap-carto.style data/great-britain-latest.osm.pbf

so how do i combine both country ?

(11 Jun '18, 11:43) fosiul
1

so how do i combine both country ?

osmosis is one way to do it, osmium probably another. Have a look on this help site and elsewhere for osmosis examples.

(11 Jun '18, 12:42) SomeoneElse ♦

ok let me have a look now however,

Can i use --append ? ref : https://gis.stackexchange.com/questions/50745/merging-osm-files-with-osmosis-and-import-to-postgres-with-osm2pgsql

or do you prefer to use osmosis ?

also what I dont understand is, when I am go through the map of Dhaka, i see bellow log why its trying to render if database does not have any information ? or its nothing to do with Rendering and having data into database ?

ing render cmd(3 ajt 19/393731/226371) with protocol version 2 to fd 20 Jun 11 12:42:17 opentile2 renderd[1804]: DEBUG: Sending render cmd(3 ajt 19/393730/226370) with protocol version 2 to fd 19 Jun 11 12:42:17 opentile2 renderd[1804]: DEBUG: Connection 1, fd 20 closed, now 4 left Jun 11 12:42:17 opentile2 renderd[1804]: DEBUG: Connection 3, fd 23 closed, now 3 left Jun 11 12:42:17 opentile2 renderd[1804]: DEBUG: Connection 0, fd 19 closed, now 2 left Jun 11 12:42:17 opentile2 renderd[1804]: DEBUG: Connection 1, fd 22 closed, now 1 left Jun 11 12:42:17 opentile2 renderd[1804]: DEBUG: Connection 0, fd 21 closed, now 0 left

(11 Jun '18, 12:45) fosiul

@SomeOneElse,

After I completed insert by using "--append" , i started to render tiles with bellow by forcing to render

sudo render_list -n 4 -s /var/run/renderd/renderd.sock -z 1 -Z 10 -f -m ajt -a

now what is worried me is, I had bangladesh Tiles in past , then while i try to insert UK map, bagnaldesh map got removed but what about those tiles which was creted in past ?

by using -f , will it remove those old tiles for bangladesh and will re created again ?

or it will keep the old tiles and will create new one ?

do you think it can cause problem ?

Please let me know

(13 Jun '18, 01:32) fosiul
showing 5 of 7 show 2 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:

×440

question asked: 08 Jun '18, 18:08

question was seen: 3,880 times

last updated: 13 Jun '18, 01:32

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