Help talk:Extension:Kartographer/Archive 1

Link title
The page says:
 * The link text can be set with the text attribute. Without the text attribute, the word "map" will be shown.

Will this word be shown in all languages?

Or can it be translated?

As far as I can see, there is not relevant translatable message in translatewiki.net, but I might be wrong.

Tagging User:CKoerner (WMF), user:MaxSem, User:Yurik.

Thanks. --Amir E. Aharoni (talk) 10:02, 22 May 2016 (UTC)
 * Yup, that's not true, I've fixed it. Thanks! Max Semenik (talk) 19:58, 23 May 2016 (UTC)

Localization
Hello! Is there a function to specify the map language (e.g. "name:de") or are just common "name"-tags to be used? --J budissin (talk) 07:54, 17 June 2016 (UTC)
 * Hello, J budissin. At the moment the map shows location names in the language of the particular location. There is a task that looks to address allowing the language to be the user's preference. Is that what you're looking for? CKoerner (WMF) (talk) 20:42, 20 June 2016 (UTC)

Decimals vs. DMS
Despite being created using decimals the map displays with a DMS caption. Is the latter configurable, please? Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 18:59, 9 September 2016 (UTC)

Not 'alt'
I'm very concerned at the suggestion:

"Use for the link hint text."

This is likely to cause confusion with the "alt" attribute on images, which is for a text alternative to an image, for people who cannot see the image (blind people, people using text-only or audio interfaces, etc). In the example given here, the appropriate  attribute might be something like "the Exploratorium is on 21st and 8th street".

It's hard enough as it is to get people to use appropriate alt attributes on images; encouraging them to think in terms of "hint text" will not help. Could the attribute in this case please be renamed? Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 19:50, 9 September 2016 (UTC)
 * Resolved at T145236. In the future, please don't post the same concern in several places, Phabricator is enough. Max Semenik (talk) 22:32, 9 September 2016 (UTC)
 * Please keep your misguided opinions of where posting is appropriate to yourself. For any issue that may not necessarily be resolved at Phabricator - and there are enough of those - the talk page of the relevant topic is a perfectly reasonable place to air the issue. Whoever was responsible for the suggestion to misuse the  tag needs to be made aware of the problem and there's no guarantee that they will be tracking a particular Phabricator ticket. --RexxS (talk) 01:12, 10 September 2016 (UTC)
 * As a developer of the very thingie we're discussing, I can actually state where I prefer to see reports. And if you continue in the same tone, you will lose your access to technical spaces, including this wiki. Max Semenik (talk) 17:46, 14 September 2016 (UTC)
 * As a developer of the very thingie we're discussing, I can actually state where I prefer to see reports. And if you continue in the same tone, you will lose your access to technical spaces, including this wiki. Max Semenik (talk) 17:46, 14 September 2016 (UTC)

GeoShapes
How to get an inverted filling in case of GeoShapes for masking outside areas? --RolandUnger (talk) 05:04, 11 October 2016 (UTC)
 * Pinging Yuri to see if he has an answer. CKoerner (WMF) (talk) 16:34, 12 October 2016 (UTC)
 * We are already working on it in T146582. --Yurik (talk) 22:04, 12 October 2016 (UTC)
 * Thanks. --RolandUnger (talk) 04:52, 19 October 2016 (UTC)

Maplink and queries
Hi, does Maplink support queries the same way Mapframe does? Thanks for help, --Vojtěch Dostál (talk) 18:17, 1 November 2016 (UTC)

Topographical details
Is it possible to show more details like mountain peaks with names, names of alpine club huts and names of mountain lakes and other features (e.g. for locator maps in mountain infoboxes). If i zoom in my example i only see small mountain paths (with names and numbers) leading to the summit but no peak (funny) and only the shape of a mountain lake and the shapes of buildings. I know there is a "more details" button, but i think we should also show this details in the Wikimedia map.

Also some Maki Icons ar not shown (Opera and Firefox) e. g. mountain or castle. The name of the marker symbol is accepted by Karthographer but not shown.

CKoerner (WMF) would like to have some input from german wikipedia...--Kogo (talk) 22:12, 13 December 2016 (UTC)
 * Thank you Kogo, I'm pinging Yuri who might be able to shed some light on the choices for which details appear on the map. For the second issue, I do know we have a task related to some icons not being available. I'll mention your request there as well. CKoerner (WMF) (talk) 15:09, 15 December 2016 (UTC)


 * I think hillshading would be a good start in that direction, but we should do much more to decorate natural features. Paul Norman will hopefully be working on this project as part of the Maps restyling. --Yurik (talk) 05:05, 16 December 2016 (UTC)
 * I've kept the '395 ticket about hillshading and have another about another about topographic features in general. Hillshading is much harder than topographic features in general (e.g. mountain peaks) because it's both more technical work (another data source, hillshading in vector tiles, etc) as well as more trouble to get right cartographically. Pnorman (talk) 01:01, 26 January 2017 (UTC)

For the missing maki icons see phabricator --Herzi Pinki (talk) 11:02, 16 December 2016 (UTC)

Other GeoJSON types
 { "type": "ExternalData", "service": "page", "title": "Sandbox/Matroc/Test.map" }
 * I would think that MultiPoint, MultiPolygon, bbox, MultiLineString and GeometryCollection types which are available to use within a mapframe as well could be noted in Help... (just have to understand how they work differently from Point, Polygon, LineString and Feature Collection). In addition a limited number of geometric shapes can be drawn and placed on a map such as circles, stars, squares etc. Matroc (talk) 05:26, 19 December 2016 (UTC)

Query syntax with geojson properties
On the french Wikipedia, I have used a maplink with WD query in a similar way to US states & governors example, see here if interested, but I have a last problem: I would like to return a stroke-width property (like the fill for the states colors), but the hyphen is not allowed in Sparql syntax, and the underscore does not match. Pinging Yuri ; is there a solution yet? GAllegre (talk) 22:22, 10 January 2017 (UTC)
 * GAllegre, it seems to work for me:  --Yurik (talk) 07:13, 11 January 2017 (UTC)
 * Yurik, thanks, it works indeed. I don't know what was wrong at may first try. Many thanks again for your quick reply. GAllegre (talk) 09:01, 11 January 2017 (UTC)

Wikipedia links in the mapframe
Using interwiki links in the mapframe doesn't seem to work, is this a known bug? Jc86035 (talk) 04:57, 21 January 2017 (UTC)
 * Not to my knowledge, please file a ticket. --Yurik (talk) 05:12, 21 January 2017 (UTC)

Template/module calls
It seems that I cannot call a template parameter or invoke a module from inside a

The OSM relation also has the Wikidata attribute.--Fleischameista (talk) 13:42, 25 January 2017 (UTC)
 * Fleischameista, sorry, got sidetracked with a lot of other stuff happening. I looked at the relation 2734272 (type=pipeline). I am really not sure if it gets imported/parsed properly by osm2pgsql, CCing Paul, who might have an answer for this. --Yurik (talk) 05:20, 30 January 2017 (UTC)
 * Not by default. Pnorman (talk) 05:21, 30 January 2017 (UTC)
 * Pnorman, what change to the OSM data would you suggest to make the pipeline appear? I feel that adding wikidata tag to each way is an overkill, but would work. --Yurik (talk) 05:30, 30 January 2017 (UTC)


 * And which relation types get parsed? I could simply change the relation at OSM. BTW the relation already has a wikidata tag.--Fleischameista (talk) 11:02, 1 February 2017 (UTC)


 * Fleischameista, i added wikidata tag to each way of that relation and made a few more cleanup fixes there - changeset 45729426. I think it will help, until the geoshapes service can handle it correctly. --Yurik (talk) 22:53, 1 February 2017 (UTC)

Wikidata coordinates
 { "type":"ExternalData", "service":"geoshape", "query": "SELECT ?id ?coord ?idLabel (SAMPLE(?img) as ?img) (concat('') as ?description) WHERE { ?id wdt:P361 wd:Q2094828 .  ?id wdt:P625 ?coord .  OPTIONAL {    ?id wdt:P18 ?img .  }  SERVICE wikibase:label {    bd:serviceParam wikibase:language 'sv,en' .  } } GROUP BY ?id ?coord ?idLabel" } Is it possible to plot the coordinates (with markers) of items that I get through a Wikidata query (and that has coordinates on Wikidata)? How would I do that? I tried this, but it does not work: Ainali (talk) 10:27, 31 March 2017 (UTC)

Problem with coordinates calculation
From text: "(example:  in template? I would like to protect the map code from accedent errors and give users a friendly template interface in a native langueage. I've tried several methods, none of them works. So I would like to call template with some options and get back a map. Pavel Malakhov (talk) 09:33, 16 May 2017 (UTC)
 * Pavel Malakhov, there is a template in wikivoyage that does that, but it might be slightly more than what you need. Also, WV can combine multiple mapframe and maplink tag's data into one map, which is not possible in any other wikis. --Yurik (talk) 17:36, 18 May 2017 (UTC)