Jump to content

Topic on Help talk:Extension:Kartographer/OSM

Unable to display OSM feature

3
Summary by Samwilson

Relations for streets must have type=route.

Samwilson (talkcontribs)

Is there something wrong with how we've done it on wikipedia:Avon Terrace, York in order to display OSM relation 8378127? We have:

{{maplink |type=line |frame=yes |plain=yes |frame-align=center |frame-lat=-31.888526 |frame-long=116.768437 |zoom=13 |id=Q28225083}}

The data has been linked in both OSM and Wikidata for a few days.

Evad37 (talkcontribs)

This is phab:T156433: the type has to be "multipolygon", "route", or "boundary" for it to be displayed, while that relation has type "street". (Changed now on OSM, so it should show up on wikipedia tomorrow). See User:Evad37/sandbox/mapframe for more examples.

Samwilson (talkcontribs)

Ah that makes sense! Thanks for fixing. Sorry I didn't read the docs here thoroughly enough! :)