Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

strange waterway=stream widths #1263

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 14 comments
Closed

strange waterway=stream widths #1263

openstreetmap-trac opened this issue Jul 23, 2021 · 14 comments

Comments

@openstreetmap-trac
Copy link

Reporter: detlef.reichl[at]gmx.org
[Submitted to the original trac issue database at 12.58pm, Monday, 13th October 2008]

If you have a waterway=stream with no width assigned to it, it is at zoom level 17 really big and gets at level 16 smaller. If you assign a width to this stream i.e. 0.5 meters it is at zoom level 17 very small and get a little bit bigger at level 16, like expected.

@openstreetmap-trac
Copy link
Author

Author: osm[at]petschge.de
[Added to the original trac issue at 9.58pm, Monday, 13th October 2008]

Do you have coordinates of a example?

@openstreetmap-trac
Copy link
Author

Author: detlef.reichl[at]gmx.org
[Added to the original trac issue at 1.52pm, Tuesday, 14th October 2008]

http://openstreetmap.org/?lat=48.86181&lon=8.72687&zoom=17&layers=0B00FTF

The nearly horizontal very short stream with the ID "Way 27702460".

In my original description i have confounded the zoom levels. So it has to be:

"If you have a waterway=stream with no width assigned to it, it is at zoom level 16 really big and gets at level 17 smaller. If you assign a width to this stream i.e. 0.5 meters it is at zoom level 16 very small and get a little bit bigger at level 17, like expected."

Sorry for the confusion.

@openstreetmap-trac
Copy link
Author

Author: studerap[at]gmail.com
[Added to the original trac issue at 10.56am, Tuesday, 11th November 2008]

I can't find a waterway=stream without a with in your example. Your example has got a with of 0.5.
The stylesheets look correct also.

@openstreetmap-trac
Copy link
Author

Author: osm[at]petschge.de
[Added to the original trac issue at 11.06am, Tuesday, 11th November 2008]

He meant a river which is not tagged with a width. In that case the default width at zoom level 16 is wider than the default width at zoom level 17.

@openstreetmap-trac
Copy link
Author

Author: studerap[at]gmail.com
[Added to the original trac issue at 11.17am, Tuesday, 11th November 2008]

Yes, but in his example there is no such river..

The default with in level 16 is 1 and in level 17 is 0.275. Maybe this could be a problem, but as there is no good example, i didn't changed anything.

@openstreetmap-trac
Copy link
Author

Author: detlef.reichl[at]gmx.org
[Added to the original trac issue at 11.24am, Tuesday, 11th November 2008]

Replying to [comment:3 studerap[at]gmail.com]:

I can't find a waterway=stream without a with in your example. Your example has got a with of 0.5.
The stylesheets look correct also.

Because there is already a month gone since i posted the example, i've of course corrected the width of the streem some time ago.

But i have an other example for you:
http://www.informationfreeway.org/?lat=51.55106184300019&lon=7.423281892200773&zoom=16&layers=B0000F000F

It's the streem, that goes from the vertical river east. Zoom in and the streem gets smaller.

Btw. the labels on canels with a width assigned are way to big in lower zoom levels. Look here:
http://openstreetmap.org/?lat=48.88503&lon=8.69701&zoom=15&layers=0B00FTF
It's about the canal called Metzelgraben. Shall i open a seperate bug for this?

@openstreetmap-trac
Copy link
Author

Author: osm[at]petschge.de
[Added to the original trac issue at 11.26am, Tuesday, 11th November 2008]

Ah ok. There was one back when the example was submitted.

Are you sure about the default width settings? If you convert from pixel to meters (as per [http://wiki.openstreetmap.org/index.php/FAQ#What_is_the_map_scale_for_a_particular_zoom_level_of_the_map.3F wiki.openstreetmap.org/index.php/FAQ]) you can see that at zoom level 16 the default width is 2.4 meters, while at zoom level 17 it is 0.33 meters. That would be fine and I could close the bug.

@openstreetmap-trac
Copy link
Author

Author: detlef.reichl[at]gmx.org
[Added to the original trac issue at 11.39am, Tuesday, 11th November 2008]

From that FAQ it is 1.2 meters/pixel at zoom level 17.

But take a close look at the map i send the link to (the informationfreeway.org one). At zoom level 17 the streem is aprox. 3 pixels width and at zoom level 16 - whe you have zoomed out - the same streem is aprox. 5 pixels width. That's it what looks strange.

@openstreetmap-trac
Copy link
Author

Author: studerap[at]gmail.com
[Added to the original trac issue at 11.41am, Tuesday, 11th November 2008]

Replying to [comment:6 detlef.reichl[at]gmx.org]:

Because there is already a month gone since i posted the example, i've of course corrected the width of the streem some time ago.

But i have an other example for you:
http://www.informationfreeway.org/?lat=51.55106184300019&lon=7.423281892200773&zoom=16&layers=B0000F000F

Thats a good example, looks wired your right.

Btw. the labels on canels with a width assigned are way to big in lower zoom levels. Look here:
http://openstreetmap.org/?lat=48.88503&lon=8.69701&zoom=15&layers=0B00FTF
It's about the canal called Metzelgraben. Shall i open a seperate bug for this?

I don't think we should change this, because nobody can read the text if its smaller :)

@openstreetmap-trac
Copy link
Author

Author: studerap[at]gmail.com
[Added to the original trac issue at 11.48am, Tuesday, 11th November 2008]

Replying to [comment:7 osm[at]petschge.de]:

Are you sure about the default width settings? If you convert from pixel to meters (as per [http://wiki.openstreetmap.org/index.php/FAQ#What_is_the_map_scale_for_a_particular_zoom_level_of_the_map.3F wiki.openstreetmap.org/index.php/FAQ]) you can see that at zoom level 16 the default width is 2.4 meters, while at zoom level 17 it is 0.33 meters. That would be fine and I could close the bug.

Yes I'm shure about this, and thats why we should NOT close the bug but fix it.
The definitions are a somewhat confusing.

zoom 16 17
river 2 2
stream 1 0.275
canal 2 4
drain 2 1

Shoudn't they be always bigger or always smaller with the same scale factor?

@openstreetmap-trac
Copy link
Author

Author: osm[at]petschge.de
[Added to the original trac issue at 11.54am, Tuesday, 11th November 2008]

In meters that is:

zoom 16 17
river 4.78 2.39
stream 2.39 0.33
canal 4.78 4.78
drain 4.78 1.19

So the bug is not in the stylesheet but in the osmarender itself.

@openstreetmap-trac
Copy link
Author

Author: osm[at]petschge.de
[Added to the original trac issue at 2.31pm, Sunday, 28th December 2008]

Should be fixed as of r12637.

@openstreetmap-trac
Copy link
Author

Author: kay_D
[Added to the original trac issue at 1.15pm, Tuesday, 15th September 2009]

Still present. Please have a look at
http://www.informationfreeway.org/?lat=49.820590643553864&lon=10.005760172372721&zoom=17&layers=B0000F000F
Left hand side is River Krnach (stream), right hand side a drain (drain).

The drain is visually VERY thick (just as thick as a track).

@openstreetmap-trac
Copy link
Author

Author: iandees
[Added to the original trac issue at 9.09pm, Monday, 9th September 2013]

Cleaning aging tickets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant