Sandbox

From OpenStreetMap Wiki
Jump to: navigation, search

This is the Sandbox, a page where you can play around with wiki editing. Just Create an account then click 'edit' above.

For an OpenStreetMap map editing sandbox see Sandbox for editing.


Test Edit

Test edit, and another

Is the wiki back yet?

Lists

  1. apples
  2. bananas
  3. trutype section
  4. preformatted section
  5. multiline preformatted
section this doesn't work
  1. multiline truetype
    section
    this
    does
    work
  2. and a longer bit of test
  3. and another longer bit of text
  4. blah blah

SVG Test

TEST

Vernier calipers.svg

A Slippy Map

A Non-Slippy Map

A Richard Weait graph image

osmfirept-day.png


[1]edit

Test source

<node id="1">
  <tag k="addr:housenumber" v="10" />
</node>

test while wiki loaded

Test new vary caching

Test test test test purge test2 test3 blah Test home come on! yes? 2 3 ian13 13:56, 23 July 2009 (UTC)

Direct tile URLs

15556.png

10746.png

15556.png

http://open.mapquestapi.com/staticmap/v3/getmap?size=600,500&type=map&zoom=16&center=51.5178,-0.1157&declutter=true&imagetype=PNG&pois=blue,51.5178,-0.1156,-20,-20

Template Test

header 1 header 2 header 3
Fusce eu sem ante, ac adipiscing quam. Praesent a velit lorem, ut gravida leo. Mauris vel metus vel diam ornare molestie. Nullam id purus orci, at convallis odio. Sed semper eleifend volutpat. Maecenas ultrices odio sed ipsum condimentum posuere. In cursus odio in purus fermentum dapibus rhoncus fermentum magna. Pellentesque eget leo ut purus tincidunt vulputate sit amet id massa. Mauris nulla tellus, imperdiet at lacinia sit amet, vulputate non arcu. Donec feugiat tortor erat. Proin fringilla mollis sagittis. In eget nisl purus, vitae tincidunt eros. Morbi a tellus nulla. Mauris enim massa, ornare a condimentum et, posuere vel odio. Nulla at lectus tellus. Vestibulum sed ante massa. Duis in ultrices dui. Suspendisse potenti. row 1, cell 2 row 1, cell 3
row 2, cell 1 row 2, cell 2 Fusce eu sem ante, ac adipiscing quam. Praesent a velit lorem, ut gravida leo. Mauris vel metus vel diam ornare molestie. Nullam id purus orci, at convallis odio. Sed semper eleifend volutpat. Maecenas ultrices odio sed ipsum condimentum posuere. In cursus odio in purus fermentum dapibus rhoncus fermentum magna. Pellentesque eget leo ut purus tincidunt vulputate sit amet id massa. Mauris nulla tellus, imperdiet at lacinia sit amet, vulputate non arcu. Donec feugiat tortor erat. Proin fringilla mollis sagittis. In eget nisl purus, vitae tincidunt eros. Morbi a tellus nulla. Mauris enim massa, ornare a condimentum et, posuere vel odio. Nulla at lectus tellus. Vestibulum sed ante massa. Duis in ultrices dui. Suspendisse potenti.

SVG Test

OpenSeaMap-Logo.svg

the same image scaled down to 10 px: OpenSeaMap-Logo.svg does it work?

yep!

testing signatures

--Pfuender --Pfuender 19:14, 3 April 2010 (UTC)

counselling

amenity=counselling

josm remotecontrol test

josm

Template tests

small = left makes a more dinky label:

link

http://www.MapOSMatic.org

iframe test

<iframe src ="http://taginfo.openstreetmap.de/tags/elephant=yes" width="100%" height="300">

Your browser does not support iframes.

</iframe>

Template APCH test

Pages in this category: This category is automatically populated with pages through the use of Template:Place, or a parameter value supplied for this template. You can use this category manually, but most uses should be via application of the indicated template.


Font size test

testing testing Normal text

testing testing tt text

testing testing code text

testing testing
source text
testing testing
pre text
testing testing
indented text

ABC.

Video icon2.png

Evaluation of conflicting restrictions (test table)

Classes

Where more than one restriction applies to a case, the most specific restriction applies. The following list defines access restrictions and their precedence. The more specific restriction is that which is defined to be more specific by the earliest entry in the list.

Priority Class Description Key format
1 lanes A restriction with a lanes class is more specific than without where the other classes are the same. Because Lanes restrictions are evaluated per-lane, if the :conditional tag is added to a key specifying lanes, conditionals can be applied to them individually.

transport_mode:lanes[:direction][:conditional]=*

oneway=yes
bus:lanes=*

oneway=no
bus:lanes:forward=*

2 conditional A restriction with a conditional class is more specific than a restriction without where the other classes are the same. transport_mode[:direction]:conditional=*

bus:conditional=*

bus:forward:conditional=*

3 direction A restriction with a direction class is more specific than without where the other classes are the same. transport_mode:direction=*

bus:forward=*

4 Transport mode A restriction with a transport mode further down the transport mode hierarchy is more specific than a transport mode higher in the hierarchy where the other classes are the same; the access tag is the top of the hierarchy. The hierarchy is defined by the list in the transport mode section of key:access. Any parts of the hierarchy not included or not unambiguously specified there have explicitly volatile undefined behaviour. E.g., "bus" is more specific than "motor_vehicle", which in turn is more specific than "access". transport_mode=*

bus=*

Multiple conditional

Where more than one value-condition pair matches, the last value-condition pair applies.

Therefore it is important to put the more general restriction first and the more specific restriction last. Some examples:

  • (access=yes) + access:conditional=no @ (09:00-17:00); destination @ (09:00-17:00 AND disabled) will allow destination traffic for disabled persons (the last match) while all other traffic isn't allowed 9am-5pm. The time condition needs to be repeated in the second value, otherwise disabled persons would only have destination access 17:00-09:00 while all other traffic would have general access.
  • (maxspeed=none) + maxspeed:conditional=120 @ (06:00-20:00); 80 @ wet: Here the 80 at wet will overrule the time based restriction in case of wet conditions.
  • (access=no) + access:conditional=delivery @ (07:00-11:00); customer @ (07:00-17:00): Here is actually no conflict as only one value can match (the purpose of access must match in case of destination, customer, delivery, agricultural and forestry).

Link Test

Wikipedia-logo-v2.svg

IT:Contact test

Attuale:

nuovo:

test

https://www.openstreetmap.org/copyright

http://www.openstreetmap.org/copyright

Commons

A picture from Wikimedia Commons embedded in this Wiki
The Ravenscar coastline.jpg

Whitelist test

http://cl.ly/image/020E23340R2j

www.openstreetmap.org/copyright

josm ticket

josm ticket https


Wikipedia template test

wikipedia|OpenStreetMap :[{{FULLURL:wikipedia:OpenStreetMap:{{{2}}}}} Wikipedia-16px.png {{{2}}}] on Wikipedia
wikipedia|en|OpenStreetMap|OSM :Wikipedia-16px.png OSM on Wikipedia
wikipedia|cs|OpenStreetMap :Wikipedia-16px.png OpenStreetMap on Wikipedia
wikipedia|cs|OpenStreetMap|OSM :Wikipedia-16px.png OSM on Wikipedia
wikipedia|cs|OpenStreetMap|OSM|text=no :Wikipedia-16px.png OSM
wikipedia|cs|OpenStreetMap|OSM|link=no :wikipedia:cs:OpenStreetMap OSM on Wikipedia
wikipedia|cs|OpenStreetMap|OSM|link=no :wikipedia:cs:OpenStreetMap OSM on Wikipedia
wikipedie|OpenStreetMap :Wikipedia OpenStreetMap
wikipedie|OpenStreetMap|OSM :Wikipedia OSM
wikipedie|OpenStreetMap|OSM|icon=no :OSM
wikipedie|OpenStreetMap|OSM|text=no :Wikipedia OSM
wikipedie|OpenStreetMap|OSM|text=no|icon=yes :OSM

Major Heading

This is a test of the new editor.

-- ~~~~