Hello and thanks for writing :)
Norwegian Wikipedia already has mapframe enabled—have you had a chance to play with the code yet? If not, learning how to use mapframe is fairly easy for basic things and help can be found here: https://www.mediawiki.org/wiki/Maps/how_to:_embedded_maps.
More information about the map project and service can be found here: https://www.mediawiki.org/wiki/Maps. Also, for general discussion and questions, please send an email to: Maps-l@lists.wikimedia.org for great knowledge sharing opportunities.
Let me know if you have further questions after taking a look at the documentation. As Guillaume mentioned in his email, our engineering resources are quite small right now, but I think everything you're wanting to do can be done right now.
Cheers,
Deb
-- deb tankersley irc: debt Product Manager, Discovery Wikimedia Foundation
On Mon, Jul 31, 2017 at 3:31 PM, Guillaume Lederrey <glederrey@wikimedia.org
wrote:
Hello!
Great to see that you have interesting projects around maps! At this point, the maps team is very reduced, and we are not in a position where we can offer much support. That being said, we'll do what we can! There is already some limited integration between maps and wikidata, which might be sufficient to do some of what you want to do. But honestly, I'm very much not familiar with that part.
I added Deb in CC to this mail. She's our product owner and she is probably the best person to orient you in the right direction, or at least make sure your idea are captured somewhere...
I hope we can find a way to move that forward!
Have fun!
Guillaume
On Mon, Jul 31, 2017 at 8:18 PM, Hans A. Rosbach hans.a.rosbach@gmail.com wrote:
Hi.
I saw you posted to Maps-l about usage of Kartographer. It seems to me
you
have come quite far with that on fr-wiki, and I'm interested in such a solution for no-wiki.
I would like to get in contact with someone who has both knowledge in the topic and is willing to discuss this with me. If that is you, fine, otherwise perhaps you could introduce me to someone.
I would like to get to the point where it is sufficient to add something like {{kart}} (map in Norwegian) into an article, getting sufficient information from Wikidata to display the mapframe. Another case is
replacing
the position maps in infoboxes with an interactive mapframe. A geogroup usage like you discussed in may is obviously also of interest.
Regards,
Hans A: Rosbach
User haros on wikipedia.
I also have e-mail haros.at.wikipedia@gemil.com
-- Guillaume Lederrey Operations Engineer, Discovery Wikimedia Foundation UTC+2 / CEST
Hello and thanks for the prompt reply.
@Guillaume: I took your name and a question on fr-wiki and concluded that you were someone who had taken part in the French usage of Kartographer. I was thinking that their solution might be usable for us also. Thus I was looking for someone who was knowledgeable about that solution. @Deborah: Yes I have done some experiments, and seen the pages you link to. There may be documentation I have not looked at yet though.
It was a question on why our old interactive map did not show a feature that made me look at it right now, but I had looked at it in the spring. At that time I did not have the time to dive deep into it, as I was finishing my final software-project before retiring.
What we have wrt. maps today at no-wiki is the tool originating in de-wiki with a link after the coordinates that expands above the text. It also highlight the object of the article if OSM has added wikipedia info. That map has not been updated for quite some time, thus the recent updates with Wikipedia/Wikidata references are not giving us any reward. That is a reason to move to your new solution.
We are also collecting coordinates from articles in a category that can be shown on a map. Useful both to a user, but also to check for wrong coordinates. This also can collect coordinates within an article to similarly show on the map. This feature it seems is missing in Kartographer, and something that is likely to be an impediment to its acceptance on no-wiki.
In both cases it should however be possible to utilize Wikidata I think. But that would mean that we would have to assemble some geojson from data probably from several Wikidata-objects. Such a solution would gather support on no-wiki for a possible complete replacement. (We already have ever increasing usage of a simple inclusion of {{Infoboks biografi}} for adding an infobox for biographies with data fetched from Wikidata, but not without some bumps. And the templates and modules could do with rewrite/replacement)
It is easy to add a <mapframe> with the necessary data to highlight objects, but although I think I should be able to get the commas right in the json, I don't think that is something that our editors should be expected to do. Thus the need to put everything into a template, probably with a module.
When I experimented I did not find the correct way to add a mapframe from a template, and I have not seen it clearly described in the documentation either.
Regards, Hans
On 31 July 2017 at 23:51, Deborah Tankersley dtankersley@wikimedia.org wrote:
Hello and thanks for writing :)
Norwegian Wikipedia already has mapframe enabled—have you had a chance to play with the code yet? If not, learning how to use mapframe is fairly easy for basic things and help can be found here: https://www.mediawiki. org/wiki/Maps/how_to:_embedded_maps.
More information about the map project and service can be found here: https://www.mediawiki.org/wiki/Maps. Also, for general discussion and questions, please send an email to: Maps-l@lists.wikimedia.org for great knowledge sharing opportunities.
Let me know if you have further questions after taking a look at the documentation. As Guillaume mentioned in his email, our engineering resources are quite small right now, but I think everything you're wanting to do can be done right now.
Cheers,
Deb
-- deb tankersley irc: debt Product Manager, Discovery Wikimedia Foundation
On Mon, Jul 31, 2017 at 3:31 PM, Guillaume Lederrey < glederrey@wikimedia.org> wrote:
Hello!
Great to see that you have interesting projects around maps! At this point, the maps team is very reduced, and we are not in a position where we can offer much support. That being said, we'll do what we can! There is already some limited integration between maps and wikidata, which might be sufficient to do some of what you want to do. But honestly, I'm very much not familiar with that part.
I added Deb in CC to this mail. She's our product owner and she is probably the best person to orient you in the right direction, or at least make sure your idea are captured somewhere...
I hope we can find a way to move that forward!
Have fun!
Guillaume
On Mon, Jul 31, 2017 at 8:18 PM, Hans A. Rosbach hans.a.rosbach@gmail.com wrote:
Hi.
I saw you posted to Maps-l about usage of Kartographer. It seems to me
you
have come quite far with that on fr-wiki, and I'm interested in such a solution for no-wiki.
I would like to get in contact with someone who has both knowledge in
the
topic and is willing to discuss this with me. If that is you, fine, otherwise perhaps you could introduce me to someone.
I would like to get to the point where it is sufficient to add something like {{kart}} (map in Norwegian) into an article, getting sufficient information from Wikidata to display the mapframe. Another case is
replacing
the position maps in infoboxes with an interactive mapframe. A geogroup usage like you discussed in may is obviously also of interest.
Regards,
Hans A: Rosbach
User haros on wikipedia.
I also have e-mail haros.at.wikipedia@gemil.com
-- Guillaume Lederrey Operations Engineer, Discovery Wikimedia Foundation UTC+2 / CEST
Hi Hans,
What no.wp has is the OSM.js gadget: https://meta.wikimedia.org/w/index.php?title=MediaWiki:OSM.js A gadget which wraps the WIWOSM maps service on tool labs: https://tools.wmflabs.org/wiwosm/osm-on-ol/kml-on-ol.php?lang=no&uselang...
This service provides several map types (and you can actually select the wikimedia maps from the + button that it includes). The highlights and POI that it shows are additional layers (enabled by default) which are also community maintained. They are in the KML format and are retrieved based on the Wikipedia links that OpenStreetmap keeps track of (so not wikidata).
Most of this is being maintained by [[User:Kolossos]]
With some effort, this can probably be converted into a gadget that makes use of the Kartographer extension, with it's UI, and the default of wikimedia maps.
I recently build something similar for the english mobile website: https://en.wikipedia.org/wiki/MediaWiki:Gadget-mobilemaps.js but it doesn't feature any of those additional layers of the page object and/or additional POIs.
As there is both a GeoJSON feed of WIWOSM layers (and alternatively a KML plugin for leaflet.js) it should be possible to add them to a gadget as well.
English WikiVoyage has modifications to Kartographer to give it multiple additional layers as well: See: https://en.wikivoyage.org/wiki/San_Francisco/Golden_Gate#Get_in These are added here: https://en.wikivoyage.org/wiki/MediaWiki:Kartographer.js
Unfortunately this wikivoyage stuff is an exception, but I'm sure an intrepid mind can replicate it, if needed by duplicating entire RL modules from Kartographer: https://github.com/wikimedia/mediawiki-extensions-Kartographer/tree/master/m...
Unfortunately, I do not have time to assist in this right now. Maybe in the future.
DJ
On Wed, Aug 2, 2017 at 5:06 PM, Hans A. Rosbach hans.a.rosbach@gmail.com wrote:
Hello and thanks for the prompt reply.
@Guillaume: I took your name and a question on fr-wiki and concluded that you were someone who had taken part in the French usage of Kartographer. I was thinking that their solution might be usable for us also. Thus I was looking for someone who was knowledgeable about that solution. @Deborah: Yes I have done some experiments, and seen the pages you link to. There may be documentation I have not looked at yet though.
It was a question on why our old interactive map did not show a feature that made me look at it right now, but I had looked at it in the spring. At that time I did not have the time to dive deep into it, as I was finishing my final software-project before retiring.
What we have wrt. maps today at no-wiki is the tool originating in de-wiki with a link after the coordinates that expands above the text. It also highlight the object of the article if OSM has added wikipedia info. That map has not been updated for quite some time, thus the recent updates with Wikipedia/Wikidata references are not giving us any reward. That is a reason to move to your new solution.
We are also collecting coordinates from articles in a category that can be shown on a map. Useful both to a user, but also to check for wrong coordinates. This also can collect coordinates within an article to similarly show on the map. This feature it seems is missing in Kartographer, and something that is likely to be an impediment to its acceptance on no-wiki.
In both cases it should however be possible to utilize Wikidata I think. But that would mean that we would have to assemble some geojson from data probably from several Wikidata-objects. Such a solution would gather support on no-wiki for a possible complete replacement. (We already have ever increasing usage of a simple inclusion of {{Infoboks biografi}} for adding an infobox for biographies with data fetched from Wikidata, but not without some bumps. And the templates and modules could do with rewrite/replacement)
It is easy to add a <mapframe> with the necessary data to highlight objects, but although I think I should be able to get the commas right in the json, I don't think that is something that our editors should be expected to do. Thus the need to put everything into a template, probably with a module.
When I experimented I did not find the correct way to add a mapframe from a template, and I have not seen it clearly described in the documentation either.
Regards, Hans
On 31 July 2017 at 23:51, Deborah Tankersley dtankersley@wikimedia.org wrote:
Hello and thanks for writing :)
Norwegian Wikipedia already has mapframe enabled—have you had a chance to play with the code yet? If not, learning how to use mapframe is fairly easy for basic things and help can be found here: https://www.mediawiki.or g/wiki/Maps/how_to:_embedded_maps.
More information about the map project and service can be found here: https://www.mediawiki.org/wiki/Maps. Also, for general discussion and questions, please send an email to: Maps-l@lists.wikimedia.org for great knowledge sharing opportunities.
Let me know if you have further questions after taking a look at the documentation. As Guillaume mentioned in his email, our engineering resources are quite small right now, but I think everything you're wanting to do can be done right now.
Cheers,
Deb
-- deb tankersley irc: debt Product Manager, Discovery Wikimedia Foundation
On Mon, Jul 31, 2017 at 3:31 PM, Guillaume Lederrey < glederrey@wikimedia.org> wrote:
Hello!
Great to see that you have interesting projects around maps! At this point, the maps team is very reduced, and we are not in a position where we can offer much support. That being said, we'll do what we can! There is already some limited integration between maps and wikidata, which might be sufficient to do some of what you want to do. But honestly, I'm very much not familiar with that part.
I added Deb in CC to this mail. She's our product owner and she is probably the best person to orient you in the right direction, or at least make sure your idea are captured somewhere...
I hope we can find a way to move that forward!
Have fun!
Guillaume
On Mon, Jul 31, 2017 at 8:18 PM, Hans A. Rosbach hans.a.rosbach@gmail.com wrote:
Hi.
I saw you posted to Maps-l about usage of Kartographer. It seems to me
you
have come quite far with that on fr-wiki, and I'm interested in such a solution for no-wiki.
I would like to get in contact with someone who has both knowledge in
the
topic and is willing to discuss this with me. If that is you, fine, otherwise perhaps you could introduce me to someone.
I would like to get to the point where it is sufficient to add
something
like {{kart}} (map in Norwegian) into an article, getting sufficient information from Wikidata to display the mapframe. Another case is
replacing
the position maps in infoboxes with an interactive mapframe. A geogroup usage like you discussed in may is obviously also of interest.
Regards,
Hans A: Rosbach
User haros on wikipedia.
I also have e-mail haros.at.wikipedia@gemil.com
-- Guillaume Lederrey Operations Engineer, Discovery Wikimedia Foundation UTC+2 / CEST
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l