Page MenuHomePhabricator

Some municipalities are missing in our maps
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Make a mapframe that includes Linköping or Mjölby municipalities.

What happens?:
They are not found by Kartographer, se example on https://sv.wikipedia.org/wiki/Användare:Moonhouse/sandlåda#/map/2

This is seemingly very similar to the problem we had in T240755.

What should have happened instead?:
Since OSM already have the Wikidata items tagged, see https://www.openstreetmap.org/relation/935467 and https://www.openstreetmap.org/relation/935507 they should be shown.

Event Timeline

wikidata query:

SELECT ?id ?highlighted (if(?highlighted = '0', '#ffffff', '#ff3333') as ?fill)  WHERE { ?id p:P31 ?statement0.       ?statement0 (ps:P31/(wdt:P279*)) wd:Q127448.       ?id p:P131 ?statement1.       ?statement1 (ps:P131/(wdt:P131*)) wd:Q104940.       BIND(if(?id = wd:Q509997, '1', '0') as ?highlighted)       MINUS {         ?id p:P576 ?statement_2.         ?statement_2 psv:P576 ?statementValue_2.         ?statementValue_2 wikibase:timeValue ?P576_2.       }   }

13 results in 5269 ms (damn that's slow for 13 results...)

http://maps.wikimedia.org/geoshape?getgeojson=1&ids=Q499410
http://maps.wikimedia.org/geoshape?getgeojson=1&ids=Q267030

Both indeed return empty. Both have been tagged with the qid for over a year, so they predate the latest import.

@Ainali this seems fixed ? I'm assuming because the DB is now finally back in sync.

Ainali claimed this task.

Yes, I can confirm that this somehow has been resolved. Not only in the small example in the description, but also this larger map finds all municipalities: https://sv.wikipedia.org/wiki/Lista_%C3%B6ver_kommun-_och_regionstyren_i_Sverige_2018%E2%80%932022#/map/0