NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, beginner here coming from Wikipedia. I'm looking to be able to use Wikipedia's Maplink template to show the boundaries of the Claremont Colleges (Pomona College, Claremont Graduate University, Scripps College, Claremont McKenna College, Harvey Mudd College, Pitzer College, and the Keck Graduate Institute). All of them have boundaries already delineated on OSM, and I've traced the process to adding the OSM Relation ID property on Wikidata, but I'm getting confused as to how to find the relation ID if it already exists on OSM or how to create it if it doesn't. The documentation is getting me all turned around, sorry. Can anyone help?

asked 15 Aug '20, 09:38

Sdkb's gravatar image

Sdkb
21223
accept rate: 0%


I have a work-in-progress tutorial here that should help you. Let me know if you have any questions! https://en.wikipedia.org/wiki/Wikipedia:Creating_shape_maps_from_OpenStreetMap_data

The method you seem to be trying, putting OSM and Wikidata relations together, will not work, as noted in part 3, method 1 of my tutorial. You will have to use part 3, method 2.

permanent link

answered 15 Aug '20, 23:54

emwithhook's gravatar image

emwithhook
76124
accept rate: 50%

edited 16 Aug '20, 00:04

So you should be able to reference the wikidata ID, but their map updates have been paused since December? That's a little annoying.

(16 Aug '20, 00:23) InsertUser

Yup, it is very annoying, however I do have that workaround, developed with help from some other wiki/OSM editors.

(16 Aug '20, 03:01) emwithhook

It's a shame there doesn't seem to be an option for a fallback in that template. If there were then the live data could automatically take over from the JSON when updates resume.

(16 Aug '20, 12:50) InsertUser

Thanks for that link/explanation! It's extremely annoying that the updates have been paused — I'm glad it's marked as high-priority on Phabricator, but still, it's not as though this just popped up last week. Honestly, the Commons workaround seems not worth it (given the syncing issues/etc.), so I'm probably just going to wait until the updates are turned back on. The other thing I'd note is that you may want to make the guide more easily found coming from places like the university infobox or the settlement infobox where it will be useful.

(16 Aug '20, 13:07) Sdkb

Thanks Sdkb. I think university boundaries will be relatively unchanged for years, and the update is still very easy. The tutorial is still technically a work-in-progress, so I haven't interlinked it. Do you see any room for improvements? I can interlink it in places if you think it's ready.

(18 Aug '20, 19:47) emwithhook

I have never encountered this template before, so I could be completely wrong, but from what I can tell:

The parameter section states that the IDs in question are the wikidata IDs not the OSM IDs for the nodes ways or relations.

In OSM wikidata keys can be added as tags to the relevant OSM element. In the case of the The Claremont Colleges as a whole and Pomona College this appears to have been done already, but it hasn't for Scripps College, Claremont McKenna College etc. (NB the latter seems to be double mapped as a node too).

From what I can tell, if you just want to reference the overall boundary you should be able to use the Q3246557 wikidata id for the whole group.

permanent link

answered 15 Aug '20, 13:02

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

Pomona was already linked, and I had just linked the Claremont Colleges, but that unfortunately doesn't seem to be enough. See this testpage.

(15 Aug '20, 22:50) Sdkb

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×32
×20
×19
×4

question asked: 15 Aug '20, 09:38

question was seen: 1,367 times

last updated: 18 Aug '20, 19:47

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum