Help talk:Extension:Kartographer

About this board

Welcome to the Maps discussion. This is a place to provide overall maps feedback.

Previous discussion was archived at Help talk:Extension:Kartographer/Archive 0 and Help talk:Extension:Kartographer/Archive 1.

Guillaume Taillefer (talkcontribs)

Whenever I am in VisualEditor and try to click on the map button to add one, it pops up with the window but constantly is loading and doesn't try to show a map. I can't click neither the exit nor save button, but if I press esc then it will let me exit out with nothing. I am on MediaWiki 1.40

TheDJ (talkcontribs)

> I am on MediaWiki 1.40

So not a wikimedia wiki ?

Guillaume Taillefer (talkcontribs)

Yes sorry I tried using it on MediaWiki thinking I could use it like any other extension. But I guess I will have to try to use Maps

Reply to "The map will not load"
Inehmo (talkcontribs)

How could I draw a circle using Kartographer? This would be useful in describing a radius of action or an operating range.

Thiemo Kreuz (WMDE) (talkcontribs)

Kartographer is based on GeoJSON and can only offer what GeoJSON supports. What you can do is to draw a polygon that looks like a circle.

Reply to "Circles"
The Patriot Woodworker (talkcontribs)

Good day, am I able to use Kartographer on my own personal Mediawiki installation? Thank you.

TheDJ (talkcontribs)

If you also bring your own map tile renderer. in theory. yes. But that's a pretty theoretical answer. In general for 3rd parties Extension:Maps is a better option.

The Patriot Woodworker (talkcontribs)

Thanks TheDJ, experimenting with Maps now, appreciate your feedback.

This post was hidden by The Patriot Woodworker (history)
Fl.schmitt (talkcontribs)

Could you please provide an example to draw a geoline based on a OSM way? All of your examples seem to refer to relation objects in OSM, not to ways. I wasn't able to modify the geoline example "Interstate Highway I-696" to work with an OSM way. If this is a technical restriction, it should be mentioned in the docs. Thanks a lot!

Andree.sk (talkcontribs)

Probably a too late answer, but OSM cannot identify entities other than relations, in a stable way. Anyone is free to move/replace/split/combine ways "as they like". OTOH, editors usually keep relations in place...

Reply to "geoline from OSM way?"
Sdkb (talkcontribs)

At w:Claremont Colleges#Colleges, it used to render properly, but checking recently, the southernmost college (Pomona) has only an outline, whereas the others have the fill. Any idea why that's happening?

Pomona is (I think) the only one to have a proper relation on OSM, so that might be part of it, but it shouldn't be an issue as it's still linked from OSM to Wikidata.

TheDJ (talkcontribs)

Generally, that means the relation on OSM has a hole in the outline and thus fill is not possible

Sdkb (talkcontribs)
Reply to "Help/possible bug"
Bigbossfarin (talkcontribs)
Delaware Aqueduct, New York

Why is the relation not shown?

Thiemo Kreuz (WMDE) (talkcontribs)

It's apparently a geoline. When I mark it as such it works.

The fact it doesn't work here on the talk page is a fascinating edge-case. As far as I can tell maps with external data just don't work on Flow talk pages because of it's architecture which bypasses pretty much everything other extensions like Kartographer expect.

I hope this helps.

Bigbossfarin (talkcontribs)

Thanks, that helps a lot! But I guess the parser still has problems with this relation. If I enlarge the map on en:User:Bigbossfarin, the relation disappears. Also changing the color is not possible. One problem could be that the relation consist of many paths.

Bigbossfarin (talkcontribs)
Reply to "Aqueduct"
94.234.103.179 (talkcontribs)

Is it possible to set fill-colour (or not fill at all) when showing a .map-files, or are you stuck with the shaded interior?

Thiemo Kreuz (WMDE) (talkcontribs)
94.234.98.10 (talkcontribs)

Thanks for the advice!

Reply to ".map files"

Scale on static maps?

2
Summary by Thiemo Kreuz (WMDE)
AxelBoldt (talkcontribs)

I understand that on the English Wikipedia, the maplink template creates static maps without zoom buttons and without a scale. Would it be possible to add the scale to those static maps? I find scales really important when dealing with maps, for orientation. Cheers, ~~~~

Bigbossfarin (talkcontribs)

in desktop version you can click on a maplink frame, to get an interactive version. Greetings

Reply to "Scale on static maps?"

Linear scale

2
Summary by Thiemo Kreuz (WMDE)
Lupe (talkcontribs)

Can I add a linear scale to a map?

Jdoggs91 (talkcontribs)

This is possible in leaflet (the js map library kartographer uses) however as far as I know it is not implemented in the extension.

Reply to "Linear scale"

uneducational examples

2
Herzi Pinki (talkcontribs)

the examples on the page show coordinates with a precision of 14 digits. This is silly, and uneducational. My proposal is to truncate the example precision to 4 or 5 digits.

Abbe98 (talkcontribs)

Go ahead, it's probably just a result of editing tooling.

Reply to "uneducational examples"
Return to "Extension:Kartographer" page.