This wiki is no longer maintained as of April 2012. Existing users may update articles, however user registration is disabled.
User:WikiSysop
Contents |
Embedding ITO Map maps
Embed a map with default map width, height and starting location:
<ito_map map_id="7"/>
Setting the starting location:
... lat="51" lon="1.076" zoom="4" ..
Note: All three must be present otherwise the default starting view is used.
Setting the starting location, width and height:
<ito_map map_id="7" lat="52.0" lon="1.07" zoom="10" width="700" height="400"/>
Test Cases
Map id=7 (uses all defaults)
Map id=9, lat=52.0, lon=1.07 (uses all defaults as zoom missing)
Map id=9 lat="52.0" lon="1.07" zoom="14"
Map id=7, width=700, height = 300
Map with width/height/lat/lon/zoom
Maps with malformed width height
Rendering ito_map keys
The drawing area for each key icon is 1.5em wide by 1em high. As there is no direct conversion between the relative em and absolute px, it is taken that 1em == 16px. This means that when drawing borders on rectangles, we have a height of 16px to play with, or 8px for each half. As such, borders should be less less than 8px so the fill colour is still visible.
- 750, 765, 1150kv
- 380, 400, 420, 450, 500 kv
- 330, 345, 350kv
- 200, 220, 225, 230, 238, 275 kv
- 100, 110, 115, 120, 132, 138, 150, 154, 161 kv
- 60, 63, 65, 66, 69, 90 kv
- 20, 30, 33, 35 kv and minor_line
- Unrecognised voltage
- Unknown voltage
- Generator
- Sub-station
- Transformer
- Transformer with thin red border
- Other with thick blue border
- National boundary
Rendering ito_map descriptions
Showing the wikipedia:railway electrification system for passenger railways, colour-coded by voltage and system based on information in OpenStreetMap. Coloured lines are used for electrified lines (see key for details) and grey lines are used for non-electrified lines; black lines indicate there there is no information about electrification for the line.
Purpose
To show information about the world's railway electrification systems for the passenger railway network. Also to assist OpenStreetMap mappers when adding and correcting information. Typically a correctly tagged line with be tagged with electrified=no, electrified=contact_line (for overhead lines) or electrified=rail (for 3rd of 4rd rail systems). In addition the voltage=* tag and possibly also the frequency=* tag define the operating voltage. frequency=0 is used for DC systems.
The following lines are excluded: Freight lines usage=industrial / freight=*, tourist lines usage=tourism or tourism=*, service lines service=siding / yard / spur and ones without passengers: passenger=no