OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-10-04 07:31:15

harlock974
Member
Registered: 2019-10-04
Posts: 2

Placename visibility at small scale/zoom level (islands)

Hello,
At small scale, island names which are not countries are not displayed.
It's annoying when browsing archipelagoes : you need to zoom in/zoom out on each island to see its name.
An example here :
https://www.openstreetmap.org/#map=7/-20.273/59.205
The name of the island in the middle (Mauritius) is shown because it is also a country name. The name of the other islands are not displayed : Réunion (French) to the left and Rodrigues (Mauritian) to the right.
How it is possible to add a name which display at the same zoom level than a country name ?

Offline

#2 2019-10-04 07:46:46

PHerison
Member
From: Rhein-Main
Registered: 2008-04-04
Posts: 1,487

Re: Placename visibility at small scale/zoom level (islands)

Hi and welcome to OSM and the forum

Placing names on "the map" is part of the render software, not OSM. The render decides when and where to put a name of an object.

Since you link to the standard map on OSM.org you should post your request here.

Offline

#3 2019-10-05 23:13:09

SomeoneElse
Member
Registered: 2010-10-13
Posts: 1,172

Re: Placename visibility at small scale/zoom level (islands)

harlock974 wrote:

The name of the island in the middle (Mauritius) is shown because it is also a country name. The name of the other islands are not displayed : Réunion (French) to the left and Rodrigues (Mauritian) to the right.

To add to what has already been said, both island names are actually shown on the standard map if you zoom in a bit - see e.g. https://www.openstreetmap.org/#map=10/-19.8075/63.0183 .

Offline

#4 2019-10-14 10:19:16

harlock974
Member
Registered: 2019-10-04
Posts: 2

Re: Placename visibility at small scale/zoom level (islands)

SomeoneElse wrote:

To add to what has already been said, both island names are actually shown on the standard map if you zoom in a bit - see e.g. https://www.openstreetmap.org/#map=10/-19.8075/63.0183 .

Yes, it's exactly the problem : to have to constantly zoom in/zoom out in archipelagoes.
Is there an attribute to make an island name visible at the same zoom level than a country name (in the standard map) ?

I thought at first to use place=country instead of place=island, but from a database perspective, it doesn't seem appropriate to add false countries to the map.

More generaly, is there a table of visibility versus scale for each tag in standard map ?

Offline

#5 2019-10-14 10:40:53

PHerison
Member
From: Rhein-Main
Registered: 2008-04-04
Posts: 1,487

Re: Placename visibility at small scale/zoom level (islands)

harlock974 wrote:

Is there an attribute to make an island name visible at the same zoom level than a country name (in the standard map) ?

No. The map on OSM.org is "static". Names are prerendered and can't be changed on the fly.

harlock974 wrote:

I thought at first to use place=country instead of place=island, but from a database perspective, it doesn't seem appropriate to add false countries to the map.

You're absolutely right, adding false information to the database to force one specific map-program to render a name is an no-go!
Either you find a map provider fulfilling your needs or you have to create your own map.

harlock974 wrote:

More generaly, is there a table of visibility versus scale for each tag in standard map ?

I haven't found anything...

Offline

#6 2019-10-14 13:50:05

SomeoneElse
Member
Registered: 2010-10-13
Posts: 1,172

Re: Placename visibility at small scale/zoom level (islands)

PHerison wrote:
harlock974 wrote:

More generaly, is there a table of visibility versus scale for each tag in standard map ?

I haven't found anything...

I don't know of anything either.  Various people have thought about "automatic legend generation" (https://github.com/gravitystorm/mapnik-legendary is one example), but generating a legend for an OSM Carto style automatically is difficult because "what appears at what zoom level" is determined by a number of factors:

o What's in the "project.mml" or similar file (it includes a bunch of SQL select statements)

o What's in the .mss file for each layer (includes zoom level tests among others)

o What's in the lua style file that might map certain features to certain others or exclude them

Offline

Board footer

Powered by FluxBB