User talk:Maro21

From OpenStreetMap Wiki
Jump to navigation Jump to search

Rozwiązywalne problemy

Jeśli maxweight jest szeroko stosowany na highway=elevetor to lepiej wspomnieć o tym na odpowiednich stronach a nie narzekać w że nie jest to wspomniane Mateusz Konieczny (talk) 19:23, 28 November 2021 (UTC)


Yes, you are right but the rendering is bad (to explain my mystake), see here
In the AreasTab, the rendering looks like natural=wetland.
I don't know where to find the good image, maybe you know where it is ? Fred73000 20:07, 6 January 2022 (UTC)

They look similar but they're different: File:Rendering-area-natural-marsh-osmarender.png, File:Natural wetland saltern.png. In the example above,, you can see the rendering for landuse=salt_pond because it overrides the other one. maro21 21:51, 6 January 2022 (UTC)


Hi, read this to understand why I had deleted that : (these 2 lines are useless and create a bug at the bottom of the page). Best regards Fred73000 20:13, 6 January 2022 (UTC)

Ok, now I know why you removed the rendering. There is a bug but not on this page (both renderings are exactly the same) but in the script that compares image in the table and in the data item, which does not take into account minor differences like spaces ( ) and underscore (_) in the code. So for it File:Bare_rock.png and File:Bare rock.png were different images... In the future you can change underscores to spaces to fix it. maro21 21:51, 6 January 2022 (UTC)
Ok, but if you look at the same page in German, a rendering is visible on the right side even if there is no rendering in the ValueDescription. So why to add these 2 lines ? It was the same for the polish page, you have deleted my changes, I have no problem with that but I don't understand why because the result page is exactely the same. I know that on some pages (wetland=marsh for example) we need to add something otherwise there is no rendering but for bare_rock it looks like there is a default rendering (the official one I think) so these 2 lines seems useless to me (but maybe I'm wrong that why I ask you). Best regards Fred73000 (talk) 20:41, 7 January 2022 (UTC)
Yes, on the German version there is no rendering in the code because it's fetched from the data item.
This is a recent change which I've requested, see Template_talk:Description#Fetch_osmcarto-rendering_from_Data_Items. I can partially agree with you that they are no needed on the German version, but they have to be in the English version (because English is the official documentation). But sometimes they are needed, because currently there is no possibility to set the image size otherwise. Technically you can even leave only {{ValueDescription}} in the code and this page will look the same. maro21 21:55, 7 January 2022 (UTC)

saltern, fix

Sorry, I didn't see that in my last example there were the tags landuse=salt_pond and it is why we have a rendering !
Here a better example with only the 2 tags :
You can see that wetland=saltern has no rendering, only natural=wetland has (see

If you are agree with that, we should delete the line in AreasTab
Best regards Fred73000 21:00, 6 January 2022 (UTC)

They look similar but they're different: File:Rendering-area-natural-marsh-osmarender.png, File:Natural wetland saltern.png. maro21 21:51, 6 January 2022 (UTC)
Oh, you may be right, wetland=saltern doesn't have a separate rendering:
They don't have a background color, only the filling pattern so the image File:Rendering-area-natural-marsh-osmarender.png is transparent, with no background color, while File:Natural wetland saltern.png is on the basic land color - but in most cases this is how we see it on the map.
The same image on different background colors:
Rendering-area-natural-marsh-osmarender.png Rendering-area-natural-marsh-osmarender.png Rendering-area-natural-marsh-osmarender.png Rendering-area-natural-marsh-osmarender.png
no bg color bare ground grass color pitch color
Here is for example natural=wetland on the green background:
So you're right and it looks like wetland=saltern doesn't have a separate rendering, so I will unlink this image. maro21 22:19, 6 January 2022 (UTC)


Hi, on the wiki for saltmarsh there are 2 rendering (at highest levels). The first one is visible here But in the AreasTab, only the second one (with water, for example when the area is outside the coastline is present. I don't know if we need to add the first one or replace the one currently in the table. Fred73000 (talk) 21:05, 7 January 2022 (UTC)

As stated in the table, saltmarsh is an overlay, so in theory it can be on hundreds of different backgrounds. I don't think that we should add there more variants. maro21 21:56, 7 January 2022 (UTC)
Ok, thanks for all your answers (this subject and the others) Fred73000 (talk) 15:42, 8 January 2022 (UTC)

links to french pages

Hi, I just fix a lot of things in the french wiki page for cuisine But I have a (small) problem, maybe you can help me : when someone wants to follow a link to a value with a french translation (for example coffee_shop), the link goes to the english version. In the french page for natural, the links work, they go to french pages when there is one (for grassland for example, in the description table but not in the summary table). I don't know why it doesn't work the same. Best regards Fred73000 (talk) 21:01, 9 January 2022 (UTC)

Oh, good question. I looked at it and it's complicated. There are no correct links on the French version of the template Template:FR:Map Features:Cuisine (ethnicity) because it's based on the English version Template:Map Features:Cuisine (ethnicity) which don't have correct links either. Correct link to a tag page is for example {{Tag|amenity|school}}, not [[Tag:amenity=school]] because the first one will change to a specific language version if that pages exists. I don't quite understand how this group of templates are built. I don't like them because of that either. These templates are very badly done and there is form over content, hard to edit and translate. For me it's a mess without documentation. So you can either: correct the English version of the template, ask someone to do it or write independent French version. In the source there should be for example {{Tag|cuisine|french}} instead of [[Tag:cuisine=french]] maro21 21:41, 9 January 2022 (UTC)
It did't work : when we write {{Tag|amenity|school}}, the result is "amenity=school", when we write [[Tag:amenity=school]] the result is "school" and the links are the same (to english only). But I looked at the page for buildings and I found the answer : we need to add LL|1= in the beginning of the tag or the key, for example {{LL|1=Tag:building=apartments}} or {{LL|1=Key:building}}. I think LL is for Language. I tried with coffee_shop and it works. I will change all now. But there is still a mystery : there is no LL|1= in the page for natural but links to languages work, it's very strange. Best regards Fred73000 (talk) 18:28, 10 January 2022 (UTC)
It works, see my edit. maro21 22:02, 10 January 2022 (UTC)