Talk:JOSM/Plugins/Tag2Link

From OpenStreetMap Wiki
Jump to navigation Jump to search

Adding a key

Need a new link ? Put your suggestions in the table.

tag url
pattern
note example
link
signature
for further information
done
contact:website=* mailto:{value} like website=* [1] Yod4z 21 December 2011 Don-vip 01:12, 22 December 2011 (UTC)
ref:INSEE=* http://openstreetmap.fr/outils/etat-commune?insee={value} [2] FrViPofm 21:14, 19 April 2012 (BST)
ref:FR:FINESS=* http://finess.sante.gouv.fr/finess/jsp/actionDetailEtablissement.do?noFiness={value} for social facility=* [3] FrViPofm 18:13, 22 April 2012 (BST)
Key:openplaques plaque http://openplaques.org/plaques/(value) for Key:openplaques plaque [4] Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 00:13, 11 February 2013 (UTC)
pmsa:[value] http://pmsa.cch.kcl.ac.uk/BM/(value).htm for Proposed features/PMSA [5] Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 00:13, 11 February 2013 (UTC)
gnis:feature_id http://geonames.usgs.gov/pls/gnispublic/f?p=gnispq:3:::NO::P3_FID:{value} see USGS GNIS [6] Mrwojo (talk) 02:08, 23 March 2013 (UTC)
gnis:id http://geonames.usgs.gov/pls/gnispublic/f?p=gnispq:3:::NO::P3_FID:{value} same as gnis:feature_id [7] Mrwojo (talk) 02:08, 23 March 2013 (UTC)
wikidata=* http://www.wikidata.org/wiki/{value} [8] Tordanik 10:24, 25 May 2014 (UTC)
fvst:navnelbnr=* https://www.findsmiley.dk/{value} Danish food safety inspection reports [9] Elgaard (talk) 19:49, 25 October 2015 (UTC)

contact:website=* ?

can you add support for contact:website=* like website=*? Yod4z 21 December 2011

Done in version 27306 :) --Don-vip 01:12, 22 December 2011 (UTC)

Adding support for OSM object metadata

Hi Vincent,

Could be very useful to get object type, id, lat, lon... to display osm objects on external maps.

For ways or relations, return lat/lon of object centroid.

Examples:

--Pyrog (talk) 16:32, 15 September 2019 (UTC)

Hi.
It looks like it should be an other plugin, taking information from the geometry ot the object, not from the tags of it (what aims to to tag2link). I'm not the writer of the plugin : i'm unable to write code in Java. I only had the idea of it, and Don-vip (an other Vincent) wrote it. If someone can write an other plugin...
I wrote a bookmarklet in javascript: MapJumper If it can help... The name can be reused: I don't own it ;-)
FrViPofm (talk) 07:59, 16 September 2019 (UTC)
Salut Vincent P.
It's the same plugin ;-) displaying a web page from a tag.
Sometime the url of the web page don't have parameter, so we must use the coordinates of the object to display it on the map.
Example: create link from tag seamark:*=* to display openseamap
--Pyrog (talk) 18:31, 16 September 2019 (UTC)

Tools using tag2link ?

Which tools are using directly this plugin or his rules file ?

I know :

Others ?

--Pyrog (talk) 17:18, 24 September 2019 (UTC)