[OSM-dev] Linking wikipedia and osm
amrit karmacharya
amrit.im at gmail.com
Sat Sep 7 03:39:42 UTC 2013
Thank you for the explanation.
If i understand it correctly, only adding the wikipedia tag to OSM object
is not enough. I have to add the {{Coord}} template in the article as well.
This adds a bit of complexity as i will have to calculate the centroid for
the {{Coord}} template. Am i correct?
On Sat, Sep 7, 2013 at 3:41 AM, Eugene Alvin Villar <seav80 at gmail.com>wrote:
> 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/9526e039/attachment.html>
More information about the dev
mailing list