[OSM-dev] Linking wikipedia and osm

Eugene Alvin Villar seav80 at gmail.com
Fri Sep 6 21:56:11 UTC 2013


On Sat, Sep 7, 2013 at 12:36 AM, Martin Koppenhoefer <dieterdreist at gmail.com
> wrote:

> actually the {{Coord}} template in WP is a different (parallel) approach,
> it links an WP article to a certain (point) coordinate, while using the
> wikipedia tag in osm links an OSM object to a wikipedia article. This is
> not the same, and for features with a bigger extension (think of countries,
> rivers, lakes, ...) it is far more useful to have the object linked instead
> of a point coordinate.
>

Adding the wikipedia=* tag to OSM objects to link the 2 together is a
better approach as you say for large objects.

Unfortunately, the only way that Wikipedia knows that an article is
geographic (and therefore an interactive map can be displayed showing the
location of the article's subject) is to add the {{Coord}} template. The
template does have a way to indicate relative size by using the "dim",
"scale" and "type" parameters which indicates a rough dimension of the
object, the preferred map scale, and what type the object is (city,
country, etc.). These additional parameters are used to compute an
appropriate initial zoom level for the map, centered on the specified
coordinates.

Showing the actual geometry of the object on the map as a highlighted area
is provided through WIWOSM <http://wiki.openstreetmap.org/wiki/WIWOSM>
which is enabled simply by adding the wikipedia=* tag in OSM.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130907/7af42f9e/attachment-0001.html>


More information about the dev mailing list