[OSM-talk] Crossroad names

Martin Koppenhoefer dieterdreist at gmail.com
Sun Mar 24 18:28:47 UTC 2013


2013/3/24 Hans Schmidt <z0idberg at gmx.de>:
> About this: Is is not possible to make some styles specific to one
> region, so that it would not wreak havoc in another? For example, if we
> have crossroad names only in Japan and Korea, would it not be possible
> to limit these changes only to these countries? So that the other
> countries’ stylesheets are not even affected? Then it would be possible
> to “play a little bit around” in one country, without affecting the
> entire OSM page.


AFAIK with the current implementation on OSM it is not possible, but
if you see the mapquest stack it would be feasible to distinguish by
country. IMHO it is not really necessary to cope on style sheet level
with this: either there is the data, or not, and if crossroads don't
have a name (Europe) nothing will show up even if there was a
rendering rule for named crossroads.


> This would not only be relevant for my issue here. Imagine that in one
> country, one type of shop would be so ubiquitous that it needed to be
> supported. In another country, that kind of shop is non-existant or not
> really relevant.


see above: the style renders data that is there, if a certain shop
type is non-existant in a country it won't be rendered, as it's not
there ;-)


> Or again concerning the crossroads: in Japan, they are usually displayed
> with a rectangle around the name. In Korea, this may be different (not
> sure about that, though). If we only have one stylesheet for the whole
> world, this would inevitably cause problems or create some kind of
> substandard “average”, where nobody is really content with.


this is a case where you would need the feature (e.g. also for custom
subway signs, road colors, highway shields etc. by
country/city/region/etc.)

cheers,
Martin



More information about the talk mailing list