Thanks for your help Stewart.


But my issue is that all Great Lakes (except Lac Érié) are not rendered event 
at low zooms as you can see below :-/



I installed the whole planet 3 weeks ago and apply minute changes. I also 
pregenerated tiles for level 0 to 10 with the command render-list.



As you can see in the attachment smaller lakes appeard but all Great Lakes are 
not shown even at high level zooms (except Érié).



I am wandering if my options for osm2pgsql during updates can cause the issue?


OSM2PGSQL_OPTIONS="--number-processes 8 --hstore --keep-coastlines -C 27000 
--multi-geometry"



As I said I am new with OSM and here is what I did (roughly):

·        Install OSM on ubuntu 16.04

·        wget -c http://planet.openstreetmap.org/pbf/planet-latest.osm.pbf

·        osmupdate planet-latest.osm.pbf new_planet-latest.osm.pbf

·        osm2pgsql --create --slim --flat-nodes /data/osm/pgload/flat_nodes.bin 
\
         -C 27000 --number-processes 8 --hstore --keep-coastlines \
         --style /data/osm/openstreetmap-carto-3.2.0/openstreetmap-carto.style \
         --multi-geometry /data/osm/new_planet-latest.osm.pbf

·        Install mod_tile

·        Install fonts-noto

·        Configure stylesheet (mapnik)

·        Configure renderd

·        Pre-render tiles level 0 to 10 using render-list

·        Do minute updates by using /usr/bin/openstreetmap-tiles-update-expire



Everything works well except the fact that I lost big lakes at ALL levels.



Any clue/hints?  Is there something I did wrong? A step I missed?



I have another server where I installed a new fresh OSM implementation 3 days 
ago where I did not implement updates and I can see actually the Big Lakes for 
all level except, as you said at low zoom levels.



Thanks you very much for helping….



Michel







-----Original Message-----
From: Stewart C. Russell [mailto:[email protected]]
Sent: August 1, 2017 16:31
To: [email protected]<mailto:[email protected]>
Subject: Re: [Talk-ca] Where are the Great Lakes?



On 2017-08-01 04:21 PM, Pilon, Michel (SSC/SPC) wrote:

>

> But at my surprise today I realize that the Great Lakes are not there

> anymore for all zoom levels!



“The Great Lakes were tagged as natural=coastline, even though that is for the 
ocean, because the coastline ways are rendered at low zoom levels. They were 
changed to water=lake and as a result disappeared from the default map layer. 
The correct fix is to teach the default stylesheet how to render lakes at low 
zoom levels.”

— https://wiki.openstreetmap.org/wiki/Tagging_for_the_renderer#Examples



Basically, they're tagged as lakes. But the arbitrary decision to not render 
lakes when zoomed out ('cos typically lakes are small, compared to countries) 
leads to them not being drawn. It's okay, all is well.

Don't try to retag them.



Stewart



_______________________________________________

Talk-ca mailing list

[email protected]<mailto:[email protected]>

https://lists.openstreetmap.org/listinfo/talk-ca
_______________________________________________
Talk-ca mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/talk-ca

Reply via email to