Page MenuHomePhabricator

Wikidata-todo loads map tiles from OSM
Closed, ResolvedPublic

Description

Event Timeline

TheDJ created this task.Mar 23 2018, 1:43 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 23 2018, 1:43 PM
TheDJ updated the task description. (Show Details)Mar 23 2018, 1:47 PM
TheDJ added a subscriber: Magnus.Mar 23 2018, 1:56 PM

Seems to be maintained by Magnus

I can't see an easy way to change these over to the WMF tile server, without upgrading to OpenLayers 4.6, which is vastly different from the 2.x version I am using. This would require a partial/complete rewrite of these tools. I don't have the time for that, so I have deactivated those tools.

Anyone wants to supply a pull request, go for it.

I'd be grateful if people could please think about the community before requesting cosmetic stuff that results in important tools to be deleted.

By the way, I'd rather have all the crappy Wikimedia Map service map graphics removed and have every tool including loading OSM graphics.

I'd be grateful if people could please think about the community before requesting cosmetic stuff that results in important tools to be deleted.

By the way, I'd rather have all the crappy Wikimedia Map service map graphics removed and have every tool including loading OSM graphics.

The maintainer (@Magnus ) didn't have to disable the tool. He could have added a disclaimer at the top (for now). It's completely his choice to disable it. It's a way to get people's attention I guess......

Ayack added a subscriber: Ayack.Mar 26 2018, 10:35 AM

The maintainer (@Magnus ) didn't have to disable the tool. He could have added a disclaimer at the top (for now). It's completely his choice to disable it. It's a way to get people's attention I guess......

Exactly. And anyone can offer to take over maintenance of course. Why does @Magnus have to run all the tools ? ;)

TheDJ added a subscriber: Pnorman.EditedMar 26 2018, 11:28 AM

By the way, I'd rather have all the crappy Wikimedia Map service map graphics removed and have every tool including loading OSM graphics.

Btw, ive heard several ppl give similiar comments about what i think is an estethic dislike for these tiles, and im really wondering WHAT ppl mean by it. I havent seen any tickets about why ppl dont like those tiles and what they want changed. If there were tickets, then maybe @Pnorman could help give the pple what they want.

If ppl want the foundation to work on maps, it would be useful if they actually worked with them when they reach out. Ive seen a deafening silence after wmf’s announcement last month that they were picking up maps again.

For anyone wanting to work on this: From the Openlayers 2.x documentation:
http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/OSM-js.html

If you wish to use a different layer instead, you need to provide a different URL to the constructor. Here’s an example for using OpenCycleMap:

new OpenLayers.Layer.OSM("OpenCycleMap",
   ["http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
    "http://b.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
    "http://c.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png"]);

Not sure if that's correct.

Ah, you found it! Fixing now...

Magnus closed this task as Resolved.Mar 26 2018, 12:18 PM
Magnus claimed this task.

All done.

House numbers is one thing that is great about OSM maps for any work with Wikidata. They are missing in the Wikimedia map graphic, e. g.

TheDJ added a comment.Mar 26 2018, 1:17 PM

House numbers is one thing that is great about OSM maps for any work with Wikidata. They are missing in the Wikimedia map graphic, e. g.

OK. what's great about them ? In what situation do you use them ? geocoding (of what?), navigating ?