OpenTopoMap icon indicating copy to clipboard operation
OpenTopoMap copied to clipboard

isolation text

Open geo903 opened this issue 5 years ago • 3 comments

Why is the isolation text not shown if the height is less than 200? Can I add it?

geo903 avatar May 08 '19 14:05 geo903

What do you mean with isolation text? Can you give an example?

There should be no lower limit for the elevation, even this peak with -175m and that with +133m is shown... What you see on the map is not the isolation, but the elevation (the "ele"-key in osm). The isolation is only used internally to decide which peak is shown in a given zoom level.

There is a lower limit for the isolation ("MINISO" in isolation.c, every peak get a isolation>=100. That's because we calculate it with a 90x90m grid, so very small isolations won't have sense.

max-dn avatar May 08 '19 15:05 max-dn

I had in mind the lack of text with height on some contours even at maximum zoom. I looked at your examples and looked again at some parts of the map and saw heights even less than 50-60 meters. That is, if the contour line does not exceed the boundaries of the 90x90 meter, its height is not drawn? example: https://opentopomap.org/#map=17/55.65509/36.82756

geo903 avatar May 08 '19 16:05 geo903

That doesn't depend on the height and is not related to the grid of the DEM. There are some rules to prevent labeling of short contour lines (search for "minimum-path-length" in countours.xml)

max-dn avatar May 09 '19 07:05 max-dn