File:Maxbe-stubaier-beschriftung en.png

From OpenStreetMap Wiki
Jump to navigation Jump to search

Original file(820 × 780 pixels, file size: 343 KB, MIME type: image/png)

Summary

Illustration of how the labelling (capital letters, darkgrey-semitransparent) of mountain ranges, e.g. the relation Stubaier Alpen, could be done (rendered with mit geo.dianacht.de/topo, Data OpenStreetMap, hillshading data from ASTER, a product of METI and NASA). Shown position on the geo.dianacht.de/topo slippy map, description of the whole experimental map rendering project (German only, sorry).

Other versions: deutsche Version.

Description of the process

This is in an early, experimental state. The idea is based on this forum topic: http://forum.openstreetmap.org/viewtopic.php?id=16094

Some relations like name=Wetterstein;place=region;region:type=mountain_area;type=multipolygon (relation example relation) have been created in the OSM data (by Netzwolf).

Process:

  1. determine the relation's boundary
  2. for all four main geographic directions: search the points on the boundary with maximum distance to the centroid of the relation's area
  3. search the two points with maximum distance from each other out of those four points (north-south or west-east; note that e.g. the west point could be identical to the north point)
  4. draw a circle through both points and through the centroid
  5. Construct a segment S1 of this circle: end points are the two points on the boundary.
  6. Make another segment S2 but with only 60 % of S1's length and centred on S1 (i.e. 20 % space on both ends)
  7. place the label's letters on the segment S2, with: the orientation of the letters depends on the position of segment S2 on the circle, the size of the letters depends on the length of segment S2.

Some more fiddling would be needed to also use this for sub-groups (e.g. one could replace “Wetterstein” and “Allgäuer Alpen” by the higher-level name “Alpen”) or for mountain ranges with exceptional shapes.

Licensing

Map data © OpenStreetMap Contributors,

Creative Commons: Some Rights Reserved
BYSA

This work is licensed under the Creative Commons Attribution-ShareAlike 2.0 License.
Attribution not specified as a parameter! THIS LICENSE ALWAYS REQUIRES ATTRIBUTION! Use {{CC-BY-SA-2.0|Attribution, typically name of author}} See Template:CC-BY-SA-2.0 for full description how this template should be used.
Note, there is {{CC-BY-SA-2.0 OpenStreetMap}} for files based on old OSM map data, before the license change made on 2012-09-12.
There is also {{OSM Carto screenshot||old_license}}
for files based on old OSM map data, before the license change made on 2012-09-12, created using OSM Carto map style.

Featured image

Image Star Alpha.png
This is a Featured image, which means that it has been identified as one of the best examples of OpenStreetMap mapping, or that it provides a useful illustration of the OpenStreetMap project. If you know another image of similar quality, you can nominate it on Featured image proposals.

Front-page image for week 29 of 2013 (15–21 Jul.).

Image descriptions

Add a description

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current15:38, 11 July 2013Thumbnail for version as of 15:38, 11 July 2013820 × 780 (343 KB)Maxbe (talk | contribs)Typo and american to british english
15:19, 9 July 2013Thumbnail for version as of 15:19, 9 July 2013820 × 780 (343 KB)Maxbe (talk | contribs)Labeling of mountain regions, e.g. the {{relation|tools=no|2127978|Stubaier Alpen}} (rendered with mit geo.dianacht.de/topo, Data [http://www.openstreetmap.org/copyright OpenStreetMap], Hillshading data from ASTER, a produkt of METI and NASA). [[User:M...

Metadata