Page MenuHomePhabricator

Configuring Kartographer for external tileserver wrongly inserts "osm-intl" into URL
Closed, DuplicatePublic

Description

Hello,

I'm having trouble of configuring Kartographer with an external tile server. I would like the openstreetmap one:

https://tile.openstreetmap.org/${z}/${x}/${y}.png

So my idea was to configure Kartographer like:

wfLoadExtension( 'Kartographer' );
$wgKartographerMapServer = 'https://tile.openstreetmap.org';
$wgKartographerStyles = [''];

But this does not work. Kartographer makes the following requests:

https://tile.openstreetmap.org/osm-intl/13/4277/2934@2x.png?lang=fr

(which is not working HTTP 404) while I want him to make this request:

https://tile.openstreetmap.org/13/4277/2934.png?lang=fr

Is this possible with the current configuration options?

Thank you for your help
D063520

PS: I think this is not a bug report, it is either a feature improvement (if it is not possible to make this configuration currently) or a demand for more detailed documentation. Hope this it the right place to report!

Event Timeline

DD063520 created this task.Jan 9 2021, 11:58 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 9 2021, 11:58 AM

In addition, what is the setting for wgKartographerDfltStyle?

Aklapper renamed this task from Configuring Kartographer for external tileserver to Configuring Kartographer for external tileserver wrongly inserts "osm-intl" into URL.Jan 9 2021, 12:18 PM
Aklapper added a project: Documentation.
DD063520 added a comment.EditedJan 9 2021, 12:23 PM

Hi!

thank you for the quick replay! This is not set. I didn't know it was existing. I was aware only of the configurations detailed here:

https://www.mediawiki.org/wiki/Extension:Kartographer

I tried to set it like:

$wgKartographerDfltStyle = '';

But this also does not work.

Oh, I think I found a related issue:

https://phabricator.wikimedia.org/T259868

this might be redundant then! I leave it up to you!

Lslsxxo removed a subscriber: Lslsxxo.Jan 9 2021, 1:16 PM

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐