Wikipedia:WikiProject OpenStreetMap

From Wikipedia, the free encyclopedia
Jump to: navigation, search
There is an intensive and ongoing cooperation between the German Wikipedia and OpenStreetMap. Because the latter is a worldwide project, that cannot be devided into local versions as in Wikipedia the work of this cooperation has to be done in every language and thus for all language versions of Wikipedia - in particular the english one. Wikimedia Germany bought special toolservers for this project.

In particular there already exist maps in nearly 300 Wikipedia-language-versions (link to English example, change language there under "Options"). This is the first map in the world, that allows every citizen of the world to navigate the whole world in his Writing system. No other commercial map like Google, Bing or Yahoo provides this feature. Moreover you can activate a photo-layer.

These OSM-maps are already embedded in every German geographical Wikipedia article. click "Karte" (= Map) next to the coordinates in the upper right corner. The great advantage for Wikipedia users is, that the map provides geographical-located links to all other Wikipedia articles in its language, that include coordinates.

The project is at present (August 2011) awaiting optimisation (most important example) of the OpenStreetMap-rendering-software in order to handle the enormous traffic of a worldwide usage of these maps, which will be a so far unknown challenge for the servers. After these optimisations it should also be possible to present these maps on the main OpenStreetMap website as discussed here. This would be an new milestone in the cooperation of both projects.

Some of the further results of this cooperation can be watched in English.

An OpenStreetMap image of Cambridge

This project is for anyone who wants to create maps for Wikipedia using data from OpenStreetMap. OpenStreetMap offers raw mapping data currently with the creative commons license by-sa 2.0 , and also provides the tools to create rendered map images. Such a rendering is a derivative work which can be published here on Wikipedia with the same open license. See the OpenStreetMap article for more information.

The parent project is Wikipedia:WikiProject Maps

Contents

[edit] Usage

Map images derived from OpenStreetMap data are in Category:OpenStreetMap maps.

The category at Wikimedia Commons is also Category:OpenStreetMap maps.

[edit] Participants

See Category:Wikipedians who contribute to OpenStreetMap

If you're an OpenStreetMap enthusiast, you should put {{User OSM}} on your Wikipedia user page. If you do this you'll be added to the above category automatically.

[edit] Wanted

If you want a map for a particular article, and don't know how to or don't want to create it yourself, then add it to this list. With luck, someone will notice and make a map for you sooner or later.

See also Category:Wikipedia requested maps

London

OSM has good coverage of Central London, although the renderings are little untidy in many places. Wikipedia has hundreds of articles about London places. For example Category:Streets in London. We should work through these lists and put in maps where we can.

Some important London places to add a map to: Covent Garden, Downing Street, Fleet Street, Buckingham Palace, Portobello Road, Regent Street, Russell Square, Shaftesbury Avenue, Tottenham Court Road, Trafalgar Square, Charing Cross Road, Commercial Street (London), Connaught Square.

[edit] In progress

Maps for the following articles are being worked on by someone. If you want to help them contact them via their talk page:

Wikipedia:WikiProject OpenStreetMap/Town maps is a proposal for adding maps to an entire area at once - Ojw (talk) 19:25, 11 February 2008 (UTC)

[edit] How To

An outline of all the steps in the OpenStreetMap/Wikipedia mapping process:


  • Browse the maps on the front page of openstreetmap.org

If the area you are interested in has not been mapped yet...

  • Visit all the streets in an area, with a GPS unit.
  • Upload GPS tracks to OSM
  • Use the OSM editing tools to markup and tag the nodes, segments, and ways of the map

Then you can either...

  • Render as SVG using the tool called Osmarender
  • convert SVG to PNG (e.g. by screenshot)

...or you can

  • Wait for your new data to appear on the main openstreetmap.org map (takes a few days)

If there is a good looking reasonably complete map available on openstreetmap...

  • Adjust the zoom to show details as desired
  • Simply take a screenshot (to [prnt scrn], paste into paint software, then save as PNG)

Finally....

That is the full workflow, but some of these steps may not be necessary (as described in the next sections)

[edit] Getting Map Renderings

As mentioned above, you can either figure out how to use the Osmarender tool to generate a map in SVG form, or simply screenshot the map browsing interface of openstreetmap.org . Osmarender offers a few advantages.

  • The SVG vector representation can be edited in more powerful ways, than a rasterised image, allowing you to fix up the roads and labels if there are some rendering quirks causing problems.
  • Without using the screenshot approach, you can create a really big map image, larger than the screen dimensions if you wish (although this is not normally desirable for most Wikipedia articles)
  • If you are adding new map data to OSM, running the rendering yourself is a lot quicker. The OpenStreetMap browser shows two different renderings (click the + icon to swap layers) The default Mapnik layer takes up to a week to be updated, assuming everything is running correctly. The 'Tiles@home' layer uses Osmarender, and so produces the same map appearance (as default configured osmarender). Tiles@home is updated through a different mechanism which may or may not be quicker. Either way you have to wait a while to see a rendering of your data.

...but screenshotting from the map browser is easier.

[edit] 'Export' Tab

An example SVG formatted map image

The main OpenStreetMap map display offers a very easy to use export tab, which allows you to export to SVG without the hassle of setting up Osmarender! This will probably be the preferred approach for adding maps to Wikipedia.

An example SVG file created in this way Image:Holborn-viaduct-map.svg

Some points to note:

  • On the 'export' tab, find the SVG option under 'Mapnik'.
  • You can edit SVG images using Inkscape for example, to do post-export cleanup work.
  • Because of the complexity of map images, and the number of SVG objects generated, the export and editing of SVG maps is not as easy as we might hope. Experiment with small less complex maps first to see what kind of problems you will encounter.
  • You will need to 'ungroup' all objects to edit the individual details. You will also find you get a fair amount of extraneous extra bumpf off the edge of your exported area.
  • Some SVG features may render incorrectly on Wikipedia despite working correctly in various other tools. For example, the one-way street arrows result in blue lines. You will need to delete/replace these by hand before uploading.
  • Street names have a separate object for each individual letter, which makes it awkward to move them.

There is some more information on the OpenStreetMap wiki pages: SVG and Export

[edit] Image Resolution and Detail

We can upload quite large images to Wikipedia, but typically the reduced thumbnail appearing on an article will be fairly small. It is preferred that an image looks good and is useful in its thumbnailed form, appearing on the article page itself. For maps this might mean the street name text should be readable in the thumbnail. Ideally people could print the article, and use the map.

That is actually quite a tricky restriction to work with. You will need to pick zoom level and thumbnail size carefully. The OSM rendering details are (in theory) designed to be maximally useful without any image scaling (at 100%) you may prefer to not apply any scaling in your [[Image:]] reference.

[edit] Templates

[edit] Interwiki linking to the OpenStreetMap wiki

The OpenStreetMap project has a wiki, which the community use for various project coordination purposes. Regional efforts to gather map data, are described in the wiki, with a page for each country, and further city-by-city granularity in some places. There are also a number of wiki pages going into some depth on GIS topics in general (although usually with some reference to OpenStreetMap usage)

Wikipedia, and all of the wikimedia projects, now support a interwiki linking syntax, for abbreviated linking to the OpenStreetMap wiki. This means you can use a linking syntax such as [[OpenStreetMap:Main Page]] to yield a link : OpenStreetMap:Main Page. This simply makes it easier to link to the OpenStreetMap wiki, with this abbreviated syntax, rather than pasting in a full URL for a conventional external link.

[edit] Query-to-map

Query-to-map is a project in development to link from Wikipedia to special OSM objects like rivers and streets which are difficult describe by only one point of Wikipedia:GEO.

[edit] Improved integration technical development work

There is work going on to improve the way OpenStreetMap images can be brought into Wikipedia and other WikiMedia projects. See OpenStreetMap details on meta wiki

[edit] Categories

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export