Jump to content

Talk:Wikimedia Maps

Add topic
From mediawiki.org
Welcome to the Maps discussion. This is a place to provide overall maps feedback, both positive and negative; and discuss Maps project's goals. The discovery team needs your opinions to help us decide what to build and how to serve the community better.

Wishlist

[edit]
Using Wikimedia credentials on an external site would be best done by Wikimedia being an openid provider, or as a distant second option, supporting it in omniauth Pnorman (talk) 03:36, 25 September 2015 (UTC)Reply

WM IT

[edit]
I brought this to the attention of WM IT, which at some point will also become the Italian chapter for OSM, thanks to the efforts of User:Cortesi and others. HTH, --Elitre (WMF) (talk) 16:38, 26 August 2015 (UTC)Reply

Controversial borders

[edit]

Hi,

I noticed some controversial borders at https://maps.wikimedia.org :

  • The border between Crimea and Kherson is shown as international, which is the Russian Federation POV.
  • South Ossetia and Abkhazia are shown as countries, which is the Russian Federation POV.
  • The border of Kosovo looks like a border of an independent country (Kosovan POV), but it doesn't have a country name (weird POV ;) ).
  • As a technically opposite example, there's no border in the middle of Cyprus (Greek POV), but there is a label for the Turkish Republic of Northern Cyprus (Turkish POV).
  • The border between Israel and Syria is shown according to the Israeli POV.

There are possibly more issues of this kind.

Wikipedias usually show maps of disputed territories quite well. For example, maps of Russia and Ukraine usually show Crimea in a special color - even in the Russian Wikipedia.

I understand that at the moment Wikimedia's maps service probably just takes whatever OSM provides, but ideally it should do something similar to what the Wikipedias do and be as neutral as possible.

(I tried to be as neutral as I could in this post ;) ) --Amir E. Aharoni (talk) 19:39, 17 September 2015 (UTC)Reply

There is no neutral way to display map borders. Not making a choice is inherently taking a side --Guerillero (talk) 01:10, 18 September 2015 (UTC)Reply
Exactly - indicating a border is disputed is taking a point of view, just like representing a border as not disputed is. Countries often do not agree on if an area is disputed or not. Pnorman (talk) 08:17, 25 September 2015 (UTC)Reply
No, indicating a border is disputed is showing there are multiple POVs that contradict each other. The alternate color explains this conflict, which is information that an independent medium like this should bring across. It isuseful that Amire80 put this under the attention and the solution of alternate colors is already a proven one so an ideal candidate as a solution. Lafeber (talk) 15:06, 3 May 2016 (UTC)Reply
Thanks @Amire80: ! Filed as phab:T113008. Indeed this does not look very NPOV. The data comes directly from OSM, so we should ultimately work with the OSM community to solve this (unless it is already present in the data with some extra flags that we should look at and draw accordingly). Also, if OSM community chooses to follow a different route, we might have to introduce a separate database of such cases and allow community to edit it. Obviously I would much rather have it fixed in OSM (if it is indeed broken there). --Yurik (talk) 01:14, 18 September 2015 (UTC)Reply
Thank you Yurik. Sounds sensible. --Amir E. Aharoni (talk) 08:19, 18 September 2015 (UTC)Reply
OSM usually follows an "on the ground" POV about borders. Areas are not shown in the countries they "should" be or they rightfully belong -according to any given criteria- but they show which state de facto governs the territory. It's a simple approach that fits initial OSM goal -to provide road maps to travel using a GPS- but it couldn't be the better approach for an encyclopedia.--Pere prlpz (talk) 18:48, 21 September 2015 (UTC)Reply
The OSMF policy on disputed territories is best explained at http://wiki.osmfoundation.org/w/images/d/d8/DisputedTerritoriesInformation.pdf. Crimea is a bit of a unique case as it is mapped as being in both Ukraine and Russia, as per http://wiki.osmfoundation.org/wiki/Working_Group_Minutes/DWG_2014-06-05_Special_Crimea. Pnorman (talk) 08:17, 25 September 2015 (UTC)Reply

How to submit patches?

[edit]

It's a bit unclear from the page, but it looks like https://maps.wikimedia.org/ is run by kartotherian? I've whipped up a provisional patch for hi-dpi/retina display support T112952 but can't submit it via 'git review' as there's no .gitreview in the repo T112958. --Brion Vibber (WMF) (talk) 20:31, 17 September 2015 (UTC)Reply

It's all in GitHub. Also, the index.html you're probably trying to edit is just an example, we're not intending it to ever be a full-featured map:) Max Semenik (talk) 20:35, 17 September 2015 (UTC)Reply

Missing fonts

[edit]

It seems the map server is missing some fonts to render characters of place names in what I think is Georgia: https://maps.wikimedia.org/#9/41.8297/44.2474Galaktos (talk) 21:39, 17 September 2015 (UTC)Reply

Its a Unicode bug in Mapnik, tracked by phab:T108846. --Yurik (talk) 21:52, 17 September 2015 (UTC)Reply
Alright, thanks. —Galaktos (talk) 22:09, 17 September 2015 (UTC)Reply
Other case here If you zoom out, the entire name of the city is shown. Sturm (talk) 11:00, 23 September 2015 (UTC)Reply

Projects

[edit]

Geopedia

[edit]

(HTML 5 / mobile and desktop)

I developed a tool called Geopedia (http://www.geopedia.de), where I could add your map too. Currently I use leaflet and the DE open street map, as I use it primarly for travelling and wanted to have latin city names... I could also add your maps through a layer selection in the settings. Let me know what you think - also very open for further ideas and improvments..

KML

[edit]

Will we be able to overlay KML layers onto the map? i.e. will we be able to include links in w:en:Template:Attached KML and w:en:Template:GeoGroup (and similar templates on other language wikipedias or other projects)? Current uses are, for example:

- Evad37 (talk) 04:01, 22 September 2015 (UTC)Reply

Overlaying a KML layer would generally be done by the map library, (e.g. leaflet), and there would be no problems doing so with these tiles. Pnorman (talk) 23:38, 24 September 2015 (UTC)Reply

/style/z/x/y.png format doesn't work!

[edit]

Wikimedia Maps#Getting started says

https://maps.wikimedia.org/{style}/{z}/{x}/{y}.{format}

but this doesn't work and returns 404 "Cannot GET /osm-intl/7/43.66/4.719.png ", e.g.

https://maps.wikimedia.org/osm-intl/7/43.66/4.719.png

If I go to maps.wikimedia.org and pan around, it only updates the URL fragment without any osm-intl/ or path at all, e.g.

https://maps.wikimedia.org/#7/43.66/4.719

?? -- SPage (WMF) (talk) 02:04, 23 September 2015 (UTC)Reply

{z}, {x}, and {y} are the standard slippy map tilenames, not latitude and longitude. http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames has more information, including example code for converting.
The page at https://maps.wikimedia.org/ is a preview page to display the map, not the map tiles themselves Pnorman (talk) 23:36, 24 September 2015 (UTC)Reply

Isometric projection

[edit]

When I went to last Wikimania I could talk to some WMF developers, specially to Yuri, about this question (during the OSM workshops), and sorry if this not the proper place to discuss / ask for it. But, here we go! ;) Despite the main OSM visualization, there is also a isometric projection (take a look here also) implemented by the OSM Buildings website. How difficult is to offer such visualization on Maps Wikimedia? Sturm (talk) 11:09, 23 September 2015 (UTC)Reply

Another very interesting "3D OSM data converter" is the OSM2World, a converter that creates three-dimensional models of the world from OpenStreetMap data. It is published as open source (LGPL). Sturm (talk) 18:27, 29 September 2015 (UTC)Reply

Marble KDE

[edit]

I find that Marble, a virtual globe application (totally open source, years of development under KDE Educational programs) which allows the user to display many planets and satellites as a 3-D model, could be a great joint venture to the Maps Wikimedia project. They have a large list of public domain and CC maps applied to it, as you may see here and they also have an app running beta, take a look here. Sturm (talk) 11:20, 23 September 2015 (UTC)Reply

During last Summer of Code (GSoC), they made significant improvements in OpenStreetMap vector rendering, for example. Sturm (talk) 11:23, 23 September 2015 (UTC)Reply

Documentation

[edit]

I know that Maps Wikimedia is still a very starting project, but it would be very useful to see some version informations, release dates, changelogs, roadmaps etc. It helps a lot to understand about the project and help it. Regards, Sturm (talk) 13:08, 23 September 2015 (UTC)Reply

Style improvements

[edit]

The map style is already nice for an basemap :-) I noticed some small issues that might be worth to get fixed:

Maybe somebody can see if this makes sense --MyRobotron (talk) 16:18, 24 September 2015 (UTC)Reply

All styling issues are now in phabricator. --Yurik (talk) 17:46, 10 March 2016 (UTC)Reply

Requested feedback

[edit]

User Feedback for UK looking for details in w:Clitheroe. Using Firefox on Linux

1. Map opens on the wrong continent- not on the location of the last article I saved.

2. Zoom level 7- the town names given are weird. Liverpool- but not Manchester, Sunderland but not Newcastle-upon-Tyne which is a factor of 10 bigger

3. Zoom level 8- the town names seem to relate to cathedrals not centres of administration or population. Canterbury (55,000)but not Maidstone (113,137). Greenwich Bromley Ipswich all missing. But we have St Asaphs with a population of 3,355. (no that isn't a typo!)

4. Level 9. Names are truncated- Barnoldwick has become Barnoldswi moving south we have Whitworth|Whitwor, then Bollington|Bolling and Macclesfield|sfield. b 5 Level 12 appears OK but level 13 its back again. In level 13 we have a new set of names- that seem

6. The one thing we need from a map is the ability to place a cursor over a spot and see its lat/long geotag- like [.[Co-ord|53.7028|-2.3806|display= title, inline]] Then to copy this to the clip board with a right click- sadly this shows https://maps.wikimedia.org/osm-intl/10/504/329.png not 53.7028/-2.3806. Extracting this from the url doesn't help as there is no indication whether this centre, top left or what

7. How do I turn off selected layers?

8. How do I access the layer showing location of Wikipedia articles? ...commons images? ...wikidata?

I look forward to watching this project develop--ClemRutter (talk) 23:36, 25 September 2015 (UTC)Reply

Project goals?

[edit]

Longtime Wikipedian and OpenStreetMap contributor (and data reuser) here. It would be great to have a summary on this page about the actual project goals. Is it really just to produce another source of OSM-derived map tiles? Presumably there is some reason that OSM's own tiles, or another provider like MapBox or CartoDB could not be used - could this be explained? Is there something special that WMF wants to bring to the cartography? Novel sources of data? Different hosting requirements?

I'm probably not the only wondering why exactly WMF needs its own tile server, and how this helps "our knowledge engine ... to be powered by multiple entry points". Stevage (talk) 13:54, 27 September 2015 (UTC)Reply

Stevage, I am not a member of the Discovery team, so I cannot speak on behalf of it, but I think the immediate needs were to integrate OSM easily with Wikimedia sites without creating a huge tax on OpenStreetMap servers. I do not know if that is the case anymore, but I remember at some point OSM administrators asking to ease the load from some Wikipedia functionality. Having our own tile and static image servers will allow, with enough resources, support both the huge traffic that Wikimedia sites have, and -at the same time-, not sending traffic from our users to 3rd party sites, some of them commercially driven and with privacy rules potentially not so strict than ours (anonymous, not sharing, short data rentention).
I know that there is a desire to also bring additional features not present on simple image tile servers (I heard about vector tiles). But you should ask about those directly to Yurik. But if it would only help to have an OSM map on every wikipedia page (not possible before), it will be positive for both Wikimedia content and OSM visibility. --JCrespo (WMF) (talk) 14:58, 27 September 2015 (UTC)Reply
Regarding OSM's own tiles, see http://wiki.openstreetmap.org/wiki/Tile.openstreetmap.org/Usage_policy and https://switch2osm.org/using-tiles/ - they make it quite clear that they don't want people to use their tiles directly. - Nikki (talk) 15:45, 15 October 2015 (UTC)Reply
The privacy policy [1] is perhaps the most important reason, but also scaling and being able to do some of our own things like eventually support custom map styles and other stuff that users want to do. (e.g. we had/have the hike & bike map style on labs and toolserver) Also better multilingual maps support is probably something we want and doesn't work so nicely with the default OSM style. Aude (talk) 21:25, 17 February 2016 (UTC)Reply

Proposed IEG project

[edit]

I've proposed an Individual Engagement Grant project to do some work on the maps style: https://meta.wikimedia.org/wiki/Grants:IEG/Wikimedia_Maps_Rendering_Improvements

I'm proposing working on road labels and borders. I'm not proposing to work on place labels as part of the IEG, because I had trouble defining good acceptance criteria. I didn't want an open-ended project where I'd have a hard time calling it done. Pnorman (talk) 19:34, 29 September 2015 (UTC)Reply

Coordinate tagging

[edit]

I think one of the simplest easiest things that we could do with the new server is tagging coordinates of photos in Commons, and tagging coordinates of articles in wikipedia. We could have a coordinate TemplateData field and hook up a dedicated editor to that. Would be awesome, relatively simple to do, and not put too much load at once on the servers. —TheDJ (Not WMF) (talkcontribs) 09:28, 10 November 2015 (UTC)Reply

I think this is a good example on where the Map service could work. No promises, but I created a task in Phabricator and will discuss the idea with the team to determine it's viability. Sorry for the late reply, I just joined the foundation and am getting familiar with the corners of our work. :) CKoerner (WMF) (talk) 20:34, 16 February 2016 (UTC)Reply

Uniform coordinates across projects

[edit]

This has very little with tiles to do, but I think this is essential. There should be a recommended, documented and tooled way of creating geodata that will be reflected in all Wikimedia projects. In my humble opinion the point or line or area for the topic of a Wikipedia article should be expressed in OSM, the data should be reflected in Wikidata (through tagging in OSM), from where the data should be displayed in all Wikipedias. A related topic is where to store the geodata that is not current street map data: historical street map (for which OpenHistoricalMap project is targeted) or thematic data (for which there is no solution). --Susannaanas (talk) 18:32, 10 November 2015 (UTC)Reply

Map preferences

[edit]

I'm trying to do more for myself with location maps, having found the page "location map many" and think that having a way to change existing location maps would help. For eg I revamped Operation Sonnenblume and managed to add red dots and place names but really needed a way to isolate Cyrenaica so that it was on a bigger scale than the existing Libya location map. I think it would help a lot to publicise the pages which describe adding red dots and place names and also to revise the advice pages so they cater for neophytes like me as well as adepts like you. Keith-264 (talk) 07:57, 13 November 2015 (UTC)Reply

@Keith-264: we are working on making it very easy to change the map using Visual Editor. Take a look at the demo at http://vem3.wmflabs.org --Yurik (talk) 21:02, 16 February 2016 (UTC)Reply

Much need enhancement

[edit]

When it is planned to be rolled out in english wikipedia ? --Naveenpf (talk) 06:14, 18 February 2016 (UTC)Reply

T125126 is the blocker. You are welcome to comment there. Basically we are waiting for the next year's budget to allocate hardware money to the maps project. --Yurik (talk) 06:17, 18 February 2016 (UTC)Reply
This is ridiculous. WMF has not changed. They had millions to spend to for some stupid projects. Anyway now they are not experimenting with people for godsake. -Naveenpf (talk) 09:00, 18 February 2016 (UTC)Reply
Hi Yurik, few queries in en:Wikipedia_talk:WikiProject_Highways --Naveenpf (talk) 15:09, 18 February 2016 (UTC)Reply
@Naveenpf: Do you have a specific query that you could mention here, or is spending time to read a complete talk page required? --Malyacko (talk) 17:21, 18 February 2016 (UTC)Reply

Hi, thanks for supporting maps. My plan at this point (could change of course) is to first deploy maps on wikivoyage, and once we have enough servers, start moving towards wikipedia. The maps will support geojson from the start, something like this example. For now, GeoJson will be stored directly inside the <map*> tags. Eventually, I we will support KML and other data stored outside of the page, but I don't know what site it should be on - see site to store our data discussion. I will also need to build a "snapshot service" - a way to draw the map on the server and convert it to an image, with all the extra layers from geojson/kml/etc. Without this, we might not survive the wikipedia traffic. Comments, as well as any organizational and development help is always welcome of course :) --Yurik (talk) 17:37, 18 February 2016 (UTC)Reply

Discussion from WikiVoyage NL

[edit]

Moved from WikiVoyage NL. --Yurik (talk)

First impressions by FredTC

To the right a screenprint of Missing features I experienced after a first inspection. Red arrows, counter clock wise, starting at the top:

  1. An available switch to Mapnik is very important because Mapnik gives very important reference points. Also the switches like "Points of interest", "Cycling", "Hiking", etc. are very usefull.
  2. Showing the current zoom level is a great help when defining the "zoom=" with mapframe.
  3. The POIs button shows destination pages of other destinations in/near the area of the map. Gives the answer to "is there a described destination not far from here?"
  4. This button shows all markers defined on the page. Very helpfull if some makers are relatively far away.
  5. The missing of the right-click feature is needed very much in order to make new markers.

Clicking the button in the upper right corner brings you to a full screen, but does not allow you to open it on a separate tab. If you use the right-click on this button, it is not the map, but the whole page containing that map appearing in the new tab. This is not practical, because the {{see ...}} and {{sleep ...}} are not close together, you have to scroll the text and you cannot switch to another tab to see the map.

With the mobile version of this page on a Full HD phone screen in portrait orientation, the map takes more than the 1080 pixels the screen is wide, but is defined with "width="400"". Because of this width, it is not easy to scroll down past the map.
--FredTC (talk) 9 mrt 2016 14:16 (CET)

Map layers button

[edit]

An available switch to Mapnik is very important because Mapnik gives very important reference points. Also the switches like "Points of interest", "Cycling", "Hiking", etc. are very usefull.

  • I don't think we will be able to provide all the great capabilities offered by other mapping services at first, so this is a good feature to have. I think it should be controlled by each WV community, e.g. via the wikivoyage:MediaWiki:Common.js - where the community will decide which additional map layers to include. As long as there is a clear warning that this data is not covered by the privacy policy, I don't think there is any problem. --Yurik (talk) 15:05, 9 March 2016 (UTC)Reply
  • i agree, this should be community managed, and can be, if the hooks are available. —TheDJ (Not WMF) (talkcontribs) 12:34, 10 March 2016 (UTC)Reply
  • I'd like to note that allowing access to third-party map tiles should also have the consent of the third party. Usually requests like this is meant to add the OpenStreetMap Standard map style, but OSM explicitly forbids heavy usage of this map layer due to limited resources. I guess this might be OK for Wikivoyage, but I expect this will not be allowed for Wikipedia due to the heavy traffic involved. Remember that one of the reasons why WMF is rolling out its Maps service is to remove the burden of the heavy use of OSM's map tiles. —Seav (talk) 15:29, 15 March 2016 (UTC)Reply

FredTC,TheDJ,Seav: The first attempt at implementing map layers feature for Wikivoyage for the community has been posted at EN-Wikivoyage. There are a number of improvements that need to be made, but hopefully it will be a good way to migrate wikivoyage off of the unstable wmflabs-based solution and solve the privacy issue. --Yurik (talk) 04:10, 18 May 2016 (UTC)Reply

Show current zoom level

[edit]

Showing the current zoom level is a great help when defining the "zoom=" with mapframe.

I don't think the vast majority of readers will ever care about this information, so adding it crowds the interface without much benefit. This is a very editor-oriented feature, and as such, I think we should only add it during the editing, but not during reading. I could add it for Visual Editor interface, and also possibly for the edit preview. --Yurik (talk) 15:40, 9 March 2016 (UTC)Reply
I also heavily rely on the zoom indication, but only when previewing an edit. Syced (talk) 06:26, 10 March 2016 (UTC)Reply
Can we think off alternative ways to make this detectable ? an info page or something perhaps, where we can present some gritty details ? —TheDJ (Not WMF) (talkcontribs) 12:35, 10 March 2016 (UTC)Reply
An alternative could be showing the info at the "mouse over" event for the +/- buttons. However, right now the function of the buttons is shown on "mouse over". --FredTC (talk) 14:08, 10 March 2016 (UTC)Reply
As mentioned at "Example showing the way I can do things now" below: The main page of en:Wikivoyage opens with "the FREE worldwide travel guide that anyone can edit" (and a similar text on the Dutch site "Wikivoyage is de vrije, wereldwijde reisgids die iedereen kan bewerken."). To me that means there must be no distinguishing between editors and readers, every reader can edit and must be able to do this easily. --FredTC (talk) 09:29, 13 March 2016 (UTC)Reply
I do not see how any particular type of the map curtails anyone's ability to edit the free travel guide. That's just a weird argument that should be disregarded. For example, half of the objects that I add are not shown in OSM at all, so I take their positions from satellite images and Wikimapia. However, it does not mean that satellite images and Wikimapia boundaries must be displayed in every Wikivoyage article. Having different interfaces and different amount of details for readers and editors is perfectly fine. One map will never suit all. --Atsirlin (talk) 03:26, 14 March 2016 (UTC)Reply
Is it possible to make the number more useful so you can use it like a slider to move between different zoom levels (like when you hover over the + - on Google Maps, it gives the slider option)? I agree it's more of an editor feature than a user feature, but it's essential that editors know the zoom level so they can properly set up the dynamic map. Including it in the VE or the preview is probably fine, but please include it somewhere. -Shaundd (talk) 05:21, 14 March 2016 (UTC)Reply
Shaundd, slider works well for google in webgl mode (client-side rendering, smooth zoom), which we plan to, but haven't implemented yet. For server-side maps, it will be a bit more chappy. Also, google maps are usually shown in the full screen, whereas our maps start with a frame. Lastly, Google offers it as a user-configurable option, with the +/- buttons by default. They used to have it as a slider, but switched to button. I suspect this is because most users wheel-zoomed instead of using the slider, so they decided not to pollute the interface. Still, certainly a doable feature, just need to minimize the impact to those who don't click anything. I agree that we should show the zoom level in all of the editor modes (preview and VE). Also, I agree with Atsirlin regarding multiple interfaces. We shouldn't try to have one solution for all use cases - they are too different. P.S. Added phab:T129875. --Yurik (talk) 15:17, 14 March 2016 (UTC)Reply
No worries and thanks for the detailed response. The slider is a "nice to have" kind of thing to me, showing the zoom level is more critical (glad to see it raised on Phabricator). Thanks -Shaundd (talk) 04:32, 18 March 2016 (UTC)Reply

Right-click to show map coordinates

[edit]

The missing of the right-click feature is needed very much in order to make new markers.

  • Just like zoom level, this is an editor, not reader-oriented feature. If you edit the map in the visual editor, you usually won't need to know the coordinates - you simply place the marker or draw the polygon where you need it. I agree that you may need it for other cases, e.g. filling out a location template. How about I enable it only for page-preview and possibly in VE? Also, should this be right click or alt-click/shift-click/control-click? --Yurik (talk) 15:40, 9 March 2016 (UTC)Reply
I use {{see ... lat= | long= ...}} to add a description of something to see at a destination. With it I specify the map location. The "lat= | long=" can be direct copied/pasted from the right-click info. Using Visual Editor to change a {{see ...}} entry is very complicated. --FredTC (talk) 15:06, 10 March 2016 (UTC)Reply
I don't agree this is just an editor feature. Google, Mapquest and Bing Maps all show the lat and long when you right click / ctrl-click -- so I'm assuming they think there's some value to it as a user feature. It's definitely handy as an editor feature. -Shaundd (talk) 05:33, 14 March 2016 (UTC)Reply
Shaundd, Google et al show coordinates because they all various coordinate searches, which we do not have. I think we could show coordinates in the full screen mode (popup), but having it in a frame would be too crowded. And of course there is a question of formats: 55,755831, 55,755831°, N55.755831°, 55°45.35′N, 55°45′20.9916″N, plus all the localized versions like 55°45′21″ с. ш. (RU). Google bypasses that complexity by simply using the first form.
FredTC, I don't think VE should be used for marks in WikiVoyage, because WV has very elaborate system for POIs - special templates, special extensions to allow customized editing, etc. VE will not be able to easily handle all that. I think VE will be good for drawing various shapes/masks that are stored inside the mapframe element. See my other related comment at the bottom. --Yurik (talk) 15:46, 14 March 2016 (UTC)Reply
Yurik I don't think it should be available is full screen mode only. Too crowded is not applicable in the frame situation, because it is just temporary to obtain the "lat= | long=" info. If you just want to add one {{see ...}} listing, you don't want to do the extra action of changing to full screen, right-click, copy, close full screen, browse to the ==See== section and add the {{see ...}} and then paste the "lat= | long=".
I never use the bêta function VE, but I activated it a few days ago to get an impression. I experienced it as very slow. And the editing of template data was a quite user-unfriendly way of doing this. It was however an easy task to add a map with VE, but then once I have the map, I miss the right-click. --FredTC (talk) 13:40, 16 March 2016 (UTC)Reply

Full-screen as a separate page

[edit]

Clicking the button in the upper right corner brings you to a full screen, but does not allow you to open it on a separate tab. If you use the right-click on this button, it is not the map, but the whole page containing that map appearing in the new tab. This is not practical, because the {{see ...}} and {{sleep ...}} are not close together, you have to scroll the text and you cannot switch to another tab to see the map.

  • FredTC, not exactly sure of the goal here - are you proposing that editors should be able to easily open the map in a separate window? E.g. control+click on the "maximize" button should open a map as a separate tab instead? Would that be any different from opening the same page in two tabs, and clicking map-maximize in one of them? --Yurik (talk) 15:40, 9 March 2016 (UTC)Reply

Show destination pages of other destinations in the area

[edit]

The POIs button shows destination pages of other destinations in/near the area of the map. Gives the answer to "is there a described destination not far from here?"

A button to show all page markers

[edit]

This button shows all markers defined on the page. Very helpfull if some makers are relatively far away.

I use this button often, both as a reader and as an editor. Most maps are zoomed to the town center, with theme parks/suburbs attractions/camping grounds/daytrips not visible. Syced (talk) 06:26, 10 March 2016 (UTC)Reply

Example showing the way I can do things now

[edit]

Assume I want to add a mapframe to the Lewes page at en:Wikivoyage. I know London has a mapframe, so I go to the London page and open the map full screen, then zoom in, move the map, until Lewes is in the center at zoom level 16. Now I need to switch to the Mapnik layer, because there is no helpful info in the Wikimedia layer. Now I see Lewes Castle as potential center of the map, so I do the right-click, and select and copy "lat=50.87289 | long=0.00753" that appears. Now I go to the Lewes page and type "{{mapframe|" and the paste "lat=50.87289 | long=0.00753" next to it, remove unwanted text and close with "}}", ending up with "{{mapframe|50.87289|0.00753}}". Now I click "Show preview" zoom in until I see a map that shows what I want, I look at the zoom level and add a "zoom=16" to the mapframe, giving "{{mapframe|50.87289|0.00753|zoom=16}}". After clicking "Save page" the mapframe is in the page.

So to do this, I needed the right-click [5], the zoom level [2] and the switch from Wikimedia to Mapnik [1] to perform this task. --FredTC (talk) 09:07, 10 March 2016 (UTC)Reply

And you can do this easily at [2] that was designed specifically for this purpose. I very much agree with Yurik's concept of distinguishing between map interface for readers and map interface for editors. --Atsirlin (talk) 17:52, 10 March 2016 (UTC)Reply
Atsirlin, the link you give, brings a usefull screen, but how do you get it with a simple action from a Wikivoyage page? In the present situation I can right-click on the map that is on a page and copy the map position. Then in the edit screen of a "See" section of the page I add the info below with a single mouse click and I can paste the map position into it. During these actions I don't need to go to another website to obtain the map location. --FredTC (talk) 08:15, 11 March 2016 (UTC)Reply
* {{see
| name= | alt= | url= | email=
| address= | lat= | long= | directions=
| phone= | tollfree= | fax=
| hours= | price=
| lastedit=2016-03-11
| content=
}}
The main page of en:Wikivoyage opens with "the FREE worldwide travel guide that anyone can edit" (and a similar text on the Dutch site "Wikivoyage is de vrije, wereldwijde reisgids die iedereen kan bewerken."). To me that means there must be no distinguishing between editors and readers, every reader can edit and must be able to do this easily. --FredTC (talk) 08:15, 11 March 2016 (UTC)Reply
You don't get this link from the Wikivoyage page, and you don't have to get it, because this page has its own search field. Every active editor keeps this page open in a separate tab, and that's how things were supposed to work when maps were developed back in 2013. The way you describe (right-clicking, copy-pasting, reading the zoom level and adding it by hand) is something that I never heard about. Having a pre-filled template is by all means better, because it requires only one click, and typing errors are avoided. You can consider adding a link to geomap.php into editor window in Dutch Wikivoyage. That will solve the problem. --Atsirlin (talk) 03:36, 14 March 2016 (UTC)Reply
Well... if your goal is just to make it easy to insert a map, then I think that this map extension is winning hands-down over the old method. I've just added a very simple map here, and I didn't need to copy anything at all, or have any idea what the coordinates are. I clicked Insert > Map and dragged and zoomed the map until it looked about right. There are things I'd like to figure out how to do (e.g., add markers for each of the cities in that region), but so far, the initial and most basic step of "adding a map to the page" is about as simple as anyone could wish. WhatamIdoing (talk) 02:09, 16 March 2016 (UTC)Reply
WhatamIdoing: Yes, you are right, if that is the only goal, it is easy to do. But once having the map, I also want to add {{see ...}}'s and {{do ...}}'s and more at the ==See==, ==Do==, ... sections of the page, and put values in their "lat= | long=" parameters. And then I miss the right-click I have now available. --FredTC (talk) 12:24, 16 March 2016 (UTC)Reply

My workflow is pretty similar. I usually copy-paste a map from another page, preview without changing anything, push the "Show all markers" button to center on the right city, adjust the area/zoom, and right-click in the center to get the final coordinates. Syced (talk) 02:14, 28 March 2016 (UTC)Reply

What is your expectation of "FullScreen" button?

[edit]

When the user clicks "Full Screen" button, would you like the map to stay at the same zoom level but show surrounding areas, or would you like the map to show the same area as original but in greater details (zoom in). --Yurik (talk) 19:45, 11 March 2016 (UTC)Reply

The first option is the way it works now, if I'm correct. I like it that way. But that is a personal opinion. So maybe the behavior could be controlled by some options on the Preferences screens. In that case there also could be one more option that says "open it in the extra screen layer that can be closed with the close button" (the present behaviour) or "open it on a new tab". --FredTC (talk) 08:23, 12 March 2016 (UTC)Reply
Notice the absolute screen position of something on the map, take the round about.
The round about is at (about) the same screen position
There is one more way to go to full screen. You locate something on the small map in the page. Then you go to full screen. In the present situation the full screen version has the same center as the small version, so you must find the thing you were watching again on the full screen. A possible alternative is shown in the images. After clicking the full screen button the map expands to the left and towards the top of the screen, but what you were looking at is still at the same position, and you do not need to find it again. --FredTC (talk) 09:29, 12 March 2016 (UTC)Reply
I also prefer to stay at the same zoom level. --Atsirlin (talk) 22:38, 1 April 2016 (UTC)Reply

How is placing a marker in the VE supposed to work with Wikivoyage listings?

[edit]

First off, I want to say thanks for all the work you're doing on Maps right now. I like the clean look of the map tiles and the Visual Editor map is easy to edit without any GIS/map/JS/GeoJSON knowledge. Very cool, but it's also concerning me in a couple of areas:

  1. It's very easy to create markers, polygons and lines, but in order to make them useful, the user needs to edit the GeoJSON -- which I'm guessing not many users have a lot of knowledge of, and
  2. Creating a marker through the VE puts it in the GeoJSON and not the listings tags that Wikivoyage uses. This creates the potential for duplicate markers or markers that don't line up with listings.

I understand this is a demo and still in development, so my question is, what is the end point that you're trying to get to with the VE interface? Is there going to be further work so setting feature properties is more user-friendly and markers created through the VE can be linked to POIs later in the article?

If you want a more specific example, I tried to create a mapmask using the VE. What I did was to create one big square around the edges and then a second polygon for what was supposed to be the unmasked area. The VE codes this as two separate features so they just sat on top of each other. I know enough GeoJSON to know both polygons need to be part of the same feature so I'd have to go in and manually edit the GeoJSON to create the mapmask effect. But if this is the way the VE interface is launched, I don't think most users are going to know this and will cause frustration. Is it possible to create a mapmask button that when clicked creates the initial bounding box and then the user just cuts out the area that is unmasked (and the VE then codes it properly as one feature)? -Shaundd (talk) 06:09, 14 March 2016 (UTC)Reply

Shaundd, I was about to ask you to comment about your map experiment, and then I saw you already did! Thanks :) Here's my perspective, but I would also like ESanders (WMF) to comment, since he is our VE guru, and his opinion may differ. First, the VE support is indeed lacking - see #kartographer tasks, especially VE column. More specifically, the T125539 describes the property editing like color and marker selection. The masking capability can be added as part of those property pages.
The ability to edit all of map's POIs in one spot is more complicated. VE operates on each page element separately, so the map element is not connected to any other page element (e.g. maplink inside a template) from VE's perspective. VE does not understand templates - e.g. the {{see}} or {{eat}} templates do not have any special meaning to VE, and thus cannot be easily edited beyond the simple form editor. Also, there is a significant resistance from the VE team to even allow <mapframe> and <maplink> to share the same data - so that mapframe shows data from maplinks. We have enabled it for Wikivoyage, but it might be different for Wikipedia. This is still an open discussion. --Yurik (talk) 14:59, 14 March 2016 (UTC)Reply
Interesting. I'm fine if POIs can't be edited through the map (they've always been separate on WV), my concern is more that people will click on the "add marker" button in the VE and either get frustrated and/or create clutter on the maps that will need to be cleaned up. Is it possible to turn off the "add marker" button in the WV installation of Maps if that is the situation? -Shaundd (talk) 04:47, 18 March 2016 (UTC)Reply
BTW -- when I tested it on my user page sandbox, the map didn't pick up the standard WV listings tags. Is this a bug or just a case of WV needing to tweak their listings templates? -Shaundd (talk) 04:50, 18 March 2016 (UTC)Reply

Licensing of data during map data editing

[edit]

I'm not completely familiar with how the map data editing works but please take note of some thorny issues with respect to derivation of map data based on tracing or referencing from an OSM-based base map or layer. OSM data is currently licensed under the wikipedia:Open Database License (ODbL) and on a case-to-case basis, tracing objects or plotting points from an OSM-based base map or layer could possibly mean that the derived data should also be ODbL-licensed. It mostly all depends on whether the derived data is considered "substantial" (a legal term in Europe) or not. Wikimedia project communities are known sticklers for IP issues, and I think the same due diligence should be exercised when the map editing feature is used. —seav (talk) 15:41, 15 March 2016 (UTC)Reply

Is this being used live in any reader-facing page Wikimedia project?

[edit]

If it is, could someone show an example where? I see the examples here in documentation but I wonder if there is any example use for typical readers. Blue Rasberry (talk) 17:32, 16 March 2016 (UTC)Reply

Hi Blue Raspberry, the Wikimedia OpenStreetMap tiles for maps are available for use on Wikivoyage wikis at the moment. Some communities have adopted them as default, some as an option. I believe they have been available since Fall 2015 (at least as an option next to Mapnik, Mapquest open, and other tile providers). Just last week the Kartographer extension was enabled on Wikivoyage wikis. This allows for integration with the visual editor to adding maps and points of interest.
You can see an example of the Wikimedia tiles in use (with the existing maps tools) on pages in the Has map frame category. As the Kartographer extension is still really new there are not a lot of uses in the wild just yet. You can find some on the English Wikivoyage in the Pages with maps category.
I hope that long-winded answer helps give a few examples. :) CKoerner (WMF) (talk) 21:51, 24 March 2016 (UTC)Reply

Saving the location and zoom level in the VE

[edit]

One thing I noticed when playing with the VE was it automatically saves the center location and zoom level of the map, overwriting whatever was there before. Is it possible to make saving the location and zoom an option, with the default being to not save the location and zoom level? On en:voy (and I'm sure the other WV instances, as well), a fair bit of care has been taken to get the coordinates and zoom level right when placing a dynamic map. We don't want it changed after that. I saw the "reset" button and belatedly realized the user is supposed to hit this button first and then save to work around this problem, but IMO, this isn't intuitive and not an ideal way to deal with it. -Shaundd (talk) 05:03, 18 March 2016 (UTC)Reply

Implementation in Russian Wikivoyage

[edit]

First of all, many thanks to the developers! The new map feature is great, and it more or less works out of the box, as you can see here, where I tried to combine the new maps with the existing templates in Wikivoyage. I have only a couple of questions concerning the implementation:

  • Sometimes we want to have a map that spans the whole width of the page. Our earlier implementation allowed to set a div environment with width:100%, and it changed the width of the map accordingly. Now, the width parameter accepts only numbers in pixel, so we can't adjust map size to the screen size any longer. How can one set width=100% within the new mapframe environment?
  • Another question along the same lines: When I try to unfold the map here (by clicking on "Открыть карту"), I always get a map that is wrapped by some text on the left. I would like to avoid this, but I can't. It looks like the mapframe overrides all div's it is in.
  • Let's now look at the map markers created inside the article. For the sake of comparison, I kept the old markers too, and you can see that the size of the colored boxes is different, even though css styles should be the same. The new colored boxes have larger height, but I don't understand where it comes from and how to change it. Apparently, the style= parameter of maplink has only limited effect on the appearance of this marker.

@Yurik and others, I would be grateful for your advice! --Atsirlin (talk) 22:57, 1 April 2016 (UTC)Reply

Just in case, here is the complete implementation:
--Atsirlin (talk) 11:31, 2 April 2016 (UTC)Reply
Atsirlin, sorry, somehow this slipped by me. The width 100% is already supported. The "Открыть карту" thing might be due to the width setting as well - could you check if the width is 100% there? If not, please create a phab ticket (much easier to track). Lastly, for styling, I created a phab:T136260. Lastly, I also did a sample migration of the templates, removing lots of unneeded code, and also supporting the new mapframe. Could you check how that differs with yours updates? Thanks, and please keep good feedback coming! --Yurik (talk) 01:20, 26 May 2016 (UTC)Reply
Yurik, thank you! Honestly, I had so much work, travel and work-related travel over the last two months that there was no chance to look into this further. I will check your implementation once I have time. I hope we can deploy the new maps in the near future, at least on Russian Wikivoyage. --Atsirlin (talk) 11:56, 26 May 2016 (UTC)Reply

Map markers in black and white

[edit]

When dynamic maps appeared in Wikivoyage back in 2013, we had a discussion about map markers. Of course, it is very natural to use different colors, as implemented at the moment, but this will not work if you want to print the map in black and white. Printing in general and using black-and-white printers in particular becomes a more rare case nowadays, but it remains a crucial option for the travel guide. Readers who do not properly recognize colors are another concern, and I think that WMF may even have some special policy on this.

Do we have any ideas on how to fix this problem? Back in 2013 we chose to use pictures (icons) instead of colored markers in order to make maps readable in black and white, but I have to admit that our old markers are not good. They look outdated and unprofessional, so I personally would go for the new colored markers even if they are not easily distinguishable in black and white. However, it may not be easy to reach community consensus on this point. --Atsirlin (talk) 23:09, 1 April 2016 (UTC)Reply

Size of the popup window and its customization

[edit]

When I click on the marker, a window pops up. Wikivoyage used to put object name and a photo there. This is easy to achieve with the new maps, but I noticed that the popup windows do not have fixed size any longer. Instead, their width changes without any obvious reason. Try, for example, the map on this page and compare the popup windows for gray markers 2 and 6. Why are they so different? It will be better to have fixed width of popup windows (then we could adjust it to the imagewidth).

Another question: I tried to make the city name show in bold in the popup window, but it does not work. Why? --Atsirlin (talk) 08:59, 2 April 2016 (UTC)Reply

Wikidata tempo-spatial display integration in Wikimedia projects?

[edit]
Screenshot of the tool

Re-posted here after @Yurik's suggestion.

Does anyone know if Wikidata tempo-spatial display (direct link) could be easily integrated in Wikimedia projects? Because I noticed it may be more practical than what currently used in Wikipedias to show date series and locations of successive events. For example, battle dates in wars or movie releases per country (the last one being what I'm currently working on, the old way). Also, even a partial integration displaying only the timeline could work and still be readable in a Wikipedia article (and I'm not sure everyone would like to see such large maps in articles anyway). Maybe even some tweaking for responsive and customizable sizes could do? --Feldo (talk) 01:49, 3 April 2016 (UTC)Reply

Feldo, I think this is an awesome visualization for the Wikidata data, and I am one of the biggest proponents of anything interactive of that sort. That said, there is a number of things that need to happen for anything to be added to Wikipedia. For one, we have to make the technology fast, scalable, and support legacy devices and printing. In other words, anything on wikipages need to be shown as a text/image rather than complex client-side rendering if needed. Which means we have to create a complex server-side image rendering. For graphs, I built graphoid service, for maps I am building kartotherian static service, etc. Second: we are still waiting for more maps hardware, otherwise we won't be able to have maps for Wikipedia, only smaller projects. Third: anything we build should be organically expanded by the community. For example, the graph extension provides graphing language called Vega (which is sadly somewhat complex) that allows anyone to build graphs without sacrificing site security and user privacy. The tempo-spacial display would require its own language for the community to specify needed visualisations, which might take time to develop and secure. So if possible, we should try to maximize the use of existing technologies, and only add new ones when there is clearly no way to adapt the existing technologies. What do you think? --Yurik (talk) 22:17, 10 April 2016 (UTC)Reply
Yurik, I think I understand your point. Do you think you could get at least similar results about displaying data a bit like tempo-spacial display with the tools you developed, while it could still be readable with legacy devices and printing? Especially regarding how to display chronological events on a timeline you can still interact a bit on recent devices? (zooming, additional annotations, clickable links, etc.) Side-question: what's a legacy device for you and what's required to stop to support them? --Feldo (talk) 01:00, 11 April 2016 (UTC)Reply
Feldo, it is possible, but not as straightforward or as easy as with your timeline. Plus graphs are not integrated with maps yet, so it won't be possible to highlight an object on a map when clicking on a timeline yet. See some demos here - you will see the interactive graphs shown as images at first. Btw, ideally, we should have a stable secure platform for anyone to build any javascript-based content, but this technology is nowhere near ready yet. For legacy devices - we don't really stop supporting them - basically we should always provide some way to view basic HTML content and png/jpeg images, even if javascript is off. Maybe this will change in the future. --Yurik (talk) 12:52, 11 April 2016 (UTC)Reply

Marker support

[edit]
  1. There's a "museum" symbol used on the Kartographer help page. Could anyone make a list of other icons, or at least link do one, please?
  2. Imho, if VE supported some settings besides coordinates ("type", other "properties"), usability would improve massively.

Tar Lócesilion (queta) 21:43, 14 April 2016 (UTC)Reply

Tar Lócesilion, I think this is similar to phab:T125539. Mapbox used to have a good page with all icons, but now one has to look through the file list. And yes, we need to make it easier to use. --Yurik (talk) 23:00, 14 April 2016 (UTC)Reply

Matroc (talk) 06:14, 24 April 2016 (UTC) - I created a list from a Mapbox directory - Should be fairly accurate (hope this helps):Reply

(added note: Icon names below are for use with <mapframe -- Mapbox icon names follow pattern filename-12/18/24.svg)
  • aerialway.svg
  • airfield.svg
  • airport.svg
  • alcohol-shop.svg
  • america-football.svg
  • art-gallery.svg
  • bakery.svg
  • bank.svg
  • bar.svg
  • baseball.svg
  • basketball.svg
  • beer.svg
  • bicycle.svg
  • building.svg
  • bus.svg
  • cafe.svg
  • camera.svg
  • campsite.svg
  • car.svg
  • cemetery.svg
  • chemist.svg
  • cinema.svg
  • circle.svg
  • circle-stroked.svg
  • city.svg
  • clothing-store.svg
  • college.svg
  • commercial.svg
  • cricket.svg
  • cross.svg
  • dam.svg
  • danger.svg
  • dentist.svg
  • disability.svg
  • dog-park.svg
  • embassy.svg
  • emergency-telephone.svg
  • entrance.svg
  • farm.svg
  • fast-food.svg
  • ferry.svg
  • fire-station.svg
  • fuel.svg
  • garden.svg
  • gift.svg
  • golf.svg
  • grocery.svg
  • hairdresser.svg
  • harbor.svg
  • heart.svg
  • heliport.svg
  • hospital.svg
  • ice-cream.svg
  • industrial.svg
  • land-use.svg
  • laundry.svg
  • library.svg
  • lighthouse.svg
  • lodging.svg
  • logging.svg
  • london-underground.svg
  • marker.svg
  • marker-stroked.svg
  • minefield.svg
  • mobilephone.svg
  • monument.svg
  • museum.svg
  • music.svg
  • oil-well.svg
  • park.svg
  • park2.svg
  • parking.svg
  • parking-garage.svg
  • pharmacy.svg
  • pitch.svg
  • place-of-worship.svg
  • playground.svg
  • police.svg
  • polling-place.svg
  • post.svg
  • prison.svg
  • rail.svg
  • rail-above.svg
  • rail-light.svg
  • rail-metro.svg
  • rail-underground.svg
  • religious-christian.svg
  • religious-jewish.svg
  • religious-muslim.svg
  • restaurant.svg
  • roadblock.svg
  • rocket.svg
  • school.svg
  • scooter.svg
  • shop.svg
  • skiing.svg
  • slaughterhouse.svg
  • soccer.svg
  • square.svg
  • square-stroked.svg
  • star.svg
  • star-stroked.svg
  • suitcase.svg
  • swimming.svg
  • telephone.svg
  • tennis.svg
  • theatre.svg
  • toilets.svg
  • town.svg
  • town-hall.svg
  • triangle.svg
  • triangle-stroked.svg
  • village.svg
  • warehouse.svg
  • waste-basket.svg
  • water.svg
  • wetland.svg
  • zoo.svg
Just looking at this particular list raises the issue that more icons need to be created - (ie. religious-hindu.svg or religious-buddist.svg as well as others for specific Wikivoyage use).... Matroc (talk) 06:18, 24 April 2016 (UTC)Reply
Matroc, thanks for making the list. We are using Maki icon set (see the list at the bottom). Some of these icons were recently added and have not been updated yet, but hopefully they will become available soon. Btw, all these icons are CC0, so they can be uploaded to Commons. --Yurik (talk) 19:31, 23 May 2016 (UTC)Reply
Yurik -- I redid table above on my home page showing the differences between both name sets. - Matroc (talk) 06:15, 24 May 2016 (UTC)Reply

Translation

[edit]

Uhm, how do you/we/I set up a translation page for the page Help:Extension:Kartographer/sv. Riggwelter (talk) 16:27, 24 April 2016 (UTC)Reply

Riggwelter, I think this translation info will help. --Yurik (talk) 19:24, 23 May 2016 (UTC)Reply

Some testing notes

[edit]
  1. If a description has an image file set to a specific size - it does not hold true if the title length is very long or very short when you click on the map icon.
    • Should Properties have a File or Image property instead of putting an image in the description?
  2. I have used Wikidata as a source for creating a mapframe of the 47 notable cities in the Plains Region of India using a Lua Module. (a Module has processing limits so not to be used for hundreds of lookups as it would quit with an error)
    • For cities, the locations are based on the entity.ids and should already exist in Wikidata in order to get the latitude, longitude, name, image, description etc. To produce a mapframe of restaurants and other places is yet another ball of wax to be investigated as Wikidata would not be a good source. Wikidata is not completely accurate or missing data.
    • The module is run with safesubst so once saved in the editor - all the code for the mapframe becomes visible when one re-enters the wiki editor and can be modified accordingly. (As you can guess - I am old school and don't use the Visual Editor yet!)
    • This test will remain on my Wikivoyage home page for a short period of time.
  3. For marker icons (marker symbol) list above I left out -number and -alpha (should be -letter not -alpha
    • To add a counter simply add -yourfavoritecountername to the names above: ie. -number-see or -letter-cities etc.
  4. mapframe - lat and long are evidently required for all features in a FeatureCollection - if missing, apparantly an empty map will be displayed. Matroc (talk) 18:06, 26 April 2016 (UTC)Reply
  5. It appears that when using numbered icons with maplink and incorporating then in a map with show, the color for the number on the article page is one color and on the main mapframe a different color. Probably an error on my part.
  6. With maplink - I think a little more background color to the left and right should be added to the icon when it appears on an article page. - Matroc (talk) 03:58, 30 April 2016 (UTC)Reply
  7. Browser Opera has an issue with displaying a map - actual it has a hard time displaying a mapframe in general.
  8. mapframe - if marker-color is not specified then gray or grey color is applied as default
  9. mapframe - if maker-symbol is not specified than the marker point (balloon) will just be in the marker-color with no symbol Matroc (talk) 20:59, 14 May 2016 (UTC)Reply

  1. The layers button on top right is covering the close button in latest version when map is expanded to full screen.
  2. One can use the File tag in description and is useful for adding more content text and eliminating link to image to Commons. The additional text if wanted can make the map more informative.
    • ie. "description": "[[File:RedFort LahoreGate.JPG|280px|link=|Red Fort (Lal Qila)]]Red Fort (Lal Qila). is one of Delhi's top tourist sights and listed as a UNESCO World Heritage Site. ", - Matroc (talk) 23:16, 17 May 2016 (UTC)Reply

  • In maps created using mapframe - if you want the group select name to appear in the map layers - It appears important to use the group="aaa" parameter in the mapframe as well as a maplink. Also consider using the show="aaa" parameter as well and verify by checking your map by toggling the differen group layers.
  • It is also possible to place different maps in collapsible div statements. - Matroc (talk) 01:59, 23 May 2016 (UTC)Reply

  • maplinks with other than number or alpha symbols can appear on a map created with mapframe and those maplinks do not have to have any type of reference (number, text or coordinates etc.) appear on an article page proper -- Matroc (talk) 05:20, 26 May 2016 (UTC)Reply

  • I tested adding a large number of groups to a <mapframe> - there is an issue in that one cannot scroll (scrollbar) up/down the list of layers in order to make selections - full screen appears to be no need to scroll; however, reduced size of <mapframe> no go - also the exit button is still mostly obscured behind the layers button Matroc (talk) 09:29, 7 June 2016 (UTC)Reply

GeoShapes

[edit]
  • I don't know if this is possible or not, but I would like to be able to specify a color for the shading or fill when using the following code:
<mapframe text="Alaska" width=250 height=250 zoom=3 longitude=-152.58 latitude=64.01> { "type": "ExternalData", "href": "geoshape:///?ids=Q797" } </mapframe>
Non-issue - One can add different colored shapes to the same map.
  • Some testing that I have done with <mapframe> and GeoShapes on enwikivoyage:
  1. One can show or hide (toggle) the shaded area using layers box.
  2. One can include markers or maplinks in the same mapframe with the GeoShape.
  3. One can add different GeoShapes to the same map.
  4. A Geoshape can be accomplished using type "Polygon" as well with very little editorial change which can produce at least 3 different displays - a border only, a solid filled in area or a translucient colored shaped area -- Matroc (talk) 16:51, 2 October 2016 (UTC)Reply
  5. Recently tested creating a wikilink to build a circle -- Matroc (talk) 18:04, 3 October 2016 (UTC)Reply
  6. geo template in enwikivoyage does not incorporate everything such as GeoShapes.
  7. Tested making GPX (route map) and this too can be included with GeoShapes and POIs etc. Also can add multiple routes with different colors to the same map.
  • Are there any future changes to the present templates {{mapframe}} and {{marker}} coming?
  • The displayed popup text beneath an image (when you click on an icon on a map) is centered - any turnover text is centered as well - but that doesn't really annoy me.
  • See: Test Page or for test examples.
  • Numbered listings still are limited to 99 which I wondered if changing 0,99 to something higher as Wikivoyage still has pages/sections that have same type listings over 100
  • Size of images on maps was an issue but appears to be fixed ... Cheers! -- Matroc (talk) 09:27, 11 September 2016 (UTC)Reply
  • Again the geo template will need to be worked on -- Matroc (talk) 01:07, 22 September 2016 (UTC)Reply
  • Recent tests that I have done show that it is possible to create a mapframe or maplink using a Lua module to produce accurate coordinates for the following shapes - circle, ellipse, triangle, box or rectangle, arrowhead pointer, pentagon and hexegon. These can be produced with different locations, sizes and colors etc. and can be displayed on an OpenStreetMap within a mapframe such as used on Wikivoyage. I imagine that the Kartographer extension will eventually be modified to do this type of thing. -- Matroc (talk) 07:56, 12 November 2016 (UTC)Reply

Location maps

[edit]

Location maps are used very inconsistently on Wikipedia (for some examples, see here). I believe that the use of interactive maps as location maps could be a huge improvement. I have put some specimens here, with my comments. Maproom (talk) 15:50, 27 April 2016 (UTC)Reply

Maproom, that's a very very impressive collection of maps, thank you!!! Take a look at static map discussion by Jheald. The big distinction between interactive and static maps is that the static map is generated by an artist (user) to represent all the information they want for that specific location, using certain map drawing tools like QGIS. A different location or zoom would require that user to start from scratch. So if a user wants to draw zoomed-out map of the given location in the upper-right corner, they can. But next time, they may choose to draw it somewhere else, or not at all. On the other hand, the interactive maps are drawn once for the whole globe. So if the zoomed-out map is needed (which is obviously very useful), we would have to implement some standard way to add it by drawing a globe in the corner and drawing a big red dot on it to explain what you are looking at. But it won't be as nice as for the static image. More thoughts to be added later. --Yurik (talk) 20:17, 23 May 2016 (UTC)Reply

Use of existing tags for points and location maps

[edit]

I would really love to see Wikimedia Maps using osm ids and tags for displaying points or creating location maps, in some way similar to the one OSM site itself uses to display things.

WIWOSM is something that I would like to see being used.

A <mapframe> could have an attribute for a relation, way, or node, and use this instead of providing coordinates to create a polygon on top of the same feature.

For example: http://www.openstreetmap.org/relation/2348445 are the boundaries of a greek municipality.

Do something like <mapframe latitude="40.6849" longitude="22.9522" zoom="11" width="220" height="220" align="left" feature="relation" id="2348445"></mapframe>

That should be displaying a map like in the example for Lyon or WIWOSM saving us from putting a block of coordinates into the article's code.

It should be easy for wikipedia editors to embed maps without having to drawing polygons from scratch, or exporting coordinates that can be accessed automatically, and also we should not put all this code into the articles.

-Geraki (talk) 18:33, 3 May 2016 (UTC)Reply

Geraki, thanks, I had almost the same goal in mind, but with one important change - we should use Wikidata IDs, not OSM IDs, because, as even the WIWOSM page mentions, OSM IDs are fragile, whereas Wikidata IDs were created to be much more stable and easily referenceable. See phab:T134086. --Yurik (talk) 01:23, 24 May 2016 (UTC)Reply


Yurik, I am aware of that and I agree that Wikidata IDs are more stable than OSM IDs. But since OSM IDs are fragile, then the related reference in the Wikidata item can be equally invalid. If someone delete and recreate a relation/node/way in OSM it is unlikely that he, or someone else will update, the property in Wikidata. On the other hand if someone modify/recreate an OSM feature (f.e. replace a single node with a polygon) it is more probable that he will copy the previous tags in the new feature. So, maybe an intermediate service like WIWOSM would be a better solution. -Geraki (talk) 15:45, 25 May 2016 (UTC)Reply


Geraki, i never said OSM ID should be stored in Wikidata :) Au contraire, the OSM polygon/relations should contain Wikidata ID, and when we import OSM db, we should make it possible to query OSM DB by that ID and present the result. Of course we will have to deal with the cases when multiple items have the same ID. --Yurik (talk) 15:54, 25 May 2016 (UTC)Reply


I misunderstood. I thought you were focusing on d:Property:P402. Querying for the wikidata tag on OSM is the right solution. -Geraki (talk) 16:49, 25 May 2016 (UTC)Reply

Help: I need to create an image

[edit]

Help: I need to create an image like the one used here. How can I do the same on other wp? --Llorenzi (talk) 13:18, 18 May 2016 (UTC)Reply

Llorenzi, the maps service cannot yet create custom static maps like that image. Please see help page for detailed description and instructions. Thanks! --Yurik (talk) 02:14, 26 May 2016 (UTC)Reply
Thanks for you suggestion, but how I can design this image? I tried using click me but it does't work. Any suggestions Yurik? --Llorenzi (talk) 08:44, 26 May 2016 (UTC)Reply
<mapframe latitude="-33.13755" longitude="81.82617" zoom="3" width="400" height="400" group="locations" show="ship"/>
How about this - click me This is a bit complicated and long. The marker will show in the mapframe and if you click on click me it will zoom to that location and show the marker as well.
Can open section in edit mode to see what was done. This will possibly change as further development goes forward..... Appears that the layers button has disappeared - probably temporary.
I commented out the mapframe and maplink now shows up without it. Things change... Matroc (talk) 21:32, 7 June 2016 (UTC)Reply

Categorization change

[edit]

Adding a map automatically places page in Pages with maps category. But it should be done only for articles (main) namespace, excluding sandboxes, talk pages etc. Doctore (talk) 09:40, 24 June 2016 (UTC)Reply

Maps missing parks

[edit]

Hey, I nbticed that while the original OSM map has parks and other open spaces (green areas) labeled, for some reason the Maps beta doesn't. Is that an intentional decision, or is that just a bug? -FshyPN (talk) 17:30, 28 August 2016 (UTC)Reply

FshyPN, we try to minimize the number of labels we show on the map to make it less crowded, so that it is easier to draw article-specific information on top of it. That said, we are still working on a balance of what should and should not be shown, so any feedback is welcome. Feel free to create a phabricator ticket, tagging it with #maps. --Yurik (talk) 18:14, 28 August 2016 (UTC)Reply
T141362 - Here is an issue about labeling. Please keep in mind, that we also want to use the service for other purposes thand just as a basemap for Wikipedia. For instance https://warper.wmflabs.org/maps. I also think that we need some more labels for orientation on the basemap for Wikipedia. I think of parks, water, mountains (also keep in mind non urbanized areas). --Alexrk2 (talk) 21:28, 29 August 2016 (UTC)Reply

Terms of Use

[edit]

What are the terms of use for reusing tiles rendered by https://maps.wikimedia.org/? As copyright info there is only "Leaflet | Wikimedia maps beta | Map data © OpenStreetMap contributors" --Alexrk2 (talk) 16:52, 29 August 2016 (UTC)Reply

Hello Alexrk2. Here is a task tracking the work on determining the maps attribution. In a team meeting today Max said he is going to follow up with the foundation legal team to figure this out. CKoerner (WMF) (talk) 20:13, 29 August 2016 (UTC)Reply
@Alexrk2: I believe the current tiles can be reused under a CC-BY-3.0 license attributed to Mapbox and the Wikimedia Foundation. I don't believe the underlying data or software need to be attributed if you are just reusing the tiles, i.e. creating a static rendering rather than a dynamic map. But keep in mind, I'm not a lawyer. Kaldari (talk) 20:45, 29 August 2016 (UTC)Reply
As I understand Mapbox, their services/maps cannot be used for commercial purposes. --Alexrk2 (talk) 21:17, 29 August 2016 (UTC) ..ok I see from the task, that the styles are licensed differently. --Alexrk2 (talk) 21:22, 29 August 2016 (UTC)Reply
[edit]

Hi everybody. Has anyone here notice that there is a link named wikimedia.maps.org pointing to a "strange" website? Am I missing anything around? Is this a case for the trademark people inside the Foundation? Regards, Sturm (talk) 20:12, 6 September 2016 (UTC)Reply

@Sturm: It should be maps.wikimedia.org--where are you seeing this? —Justin (koavf)TCM 20:16, 6 September 2016 (UTC)Reply
I know that the correct link is maps.wikimedia.org, but why on Earth is someone using www.wikimedia.maps.org to that website? :D Sturm (talk) 20:30, 6 September 2016 (UTC)Reply
@Sturm: Spam. —Justin (koavf)TCM 23:11, 6 September 2016 (UTC)Reply
@JGerlach (WMF): , @Slaporte (WMF): . Take a look! Sturm (talk) 00:01, 7 September 2016 (UTC)Reply

Auto-Counter bug

[edit]

See Extension_talk:Kartographer#Auto-counter_bug. --Andyrom75 (talk) 14:29, 26 September 2016 (UTC)Reply

Isometric projection

[edit]

Despite the main OSM visualization, there is also a isometric projection (take a look here also) implemented by the OSM Buildings website. How difficult is to offer such visualization on Maps Wikimedia? Another very interesting "3D OSM data converter" is the OSM2World, a converter that creates three-dimensional models of the world from OpenStreetMap data, or something even better detailed: F4 Demo. Sturm (talk) 23:25, 27 December 2016 (UTC)Reply

Multilingual names

[edit]

Hello,
<maplink> and <mapframe> use as background maps OSM; OSM gives the possibility of adding local names. Can you add a parameter (lang="code language") for the language that to gives locals names. I also contribute to OSM and added many names in Kurdish and they can not be wiew. It could motivate people to contribute in both projects. For the peoples who have not a State it is impossible to observe the local names in their languages ​​because OSM does not also give this possibility.

Before we could see local names by this project but now it does not work...--Ghybu (talk) 20:39, 9 January 2017 (UTC)Reply

This is tracked as ticket phab:T112948TheDJ (Not WMF) (talkcontribs) 06:13, 10 January 2017 (UTC)Reply

New dimension with a time selector

[edit]

Bonjour ! Hello !

A French developer, independent until then from Wikimedia projects but in the philosophy of free knowledge, contact us by OTRS to talk about his last project (he allows me to publicly write to you and might join us in this discussion).

The first version of this JS project can be consulted on his website, at http://www.contenuvariable.fr/fr/cartographistory.php, allow the user to view a map with the time dimension : we can see the evolution of the territory of a state for example, by use a time selector at the bottom of the map.

Currently, this project is more an idea than a real tool : the developer tell that he don't know who can be interested by this, and don't know if the complementary development is worth it. He thought that Wikipedia's articles can be improved by this, by for example replacing gif files like the one in fr:Formation territoriale de la France métropolitaine.

Do you think, as developers of Maps extension, that this project can be by a certain form integrated in your extension ? ie add a new source of data that can consider time dimension, adapt JS, ... I think that dozens of WP articles can be really improved by his new interaction.

Feel free to answer here, he will read this page :) --Framawiki (talk) 15:28, 25 February 2017 (UTC)Reply

Hi all, I am the one behind ContenuVariable. To add some info, I developed my prototype to see if it is possible and how it looks, and am quite pleased. The only problem is the time required to create the data (or retrieve it from sources, check, hamonize, etc.) for such a limited audience. Therefore I turned to Wikipedia, believing that this would be usefull for everybody. I did not know about recent developments on Wikipedia about Maps and interactive data, all this looks very promising. After reading this page however, I think this section has connections (or covers at least part of the scope of) the already started sections: "Wikidata tempo-spatial display integration in Wikimedia projects?" and "Uniform coordinates across projects". The tempo-spatial tool entionned by Feldo is what i was thinking about, except also with shapes (see also CartoDB/torque (direct link) for markers). I am very well aware that this new feature/development will generate many challenges: technically (scalability, display, speed, see Yurik's answer), data sources (for example: where was the border between 2 given contries in 1342? what source believe? what about discordant (and old!) sources?), etc., but I believe that the idea is worth giving a try, and am ready to help. So let me ask you: what is the next step? --Clem007 (talk) 16:35, 03 March 2017 (UTC)Reply
Hi Clem007 and Framawiki. This project looks great and it would be fantastic to integrate these country shapes into Wikidata, as soon as it will be possible to link Wikidata items to geographical shapes (April 17th). − Pintoch (talk) 19:13, 29 March 2017 (UTC)Reply

Langauages_in_India

[edit]

Need help in fixing this map. I am looking for map of India with official languages https://en.wikipedia.org/wiki/User:Naveenpf/sandbox#Langauages_in_India

--Naveenpf (talk) 02:02, 7 July 2017 (UTC)Reply

I think what you're looking for is [Maps-l] Map internationalization launched everywhere, AND embedded maps now live on 276 Wikipedias aka Map_improvements_2018#April_18,_2018,_Special_Update_on_Map_Internationalization. --Nemo 20:37, 11 June 2018 (UTC)Reply

Why don't Wikipedia Production environment mapframes expose 2 zoom control buttons and support map drag?

[edit]

When an article's mapframe template is in Wikipedia Sandbox environment (https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox), or is in "Edit:Show Preview" mode in Wikipedia Production environment (e.g., https://en.wikipedia.org/wiki/Luna_Parc), the rendered map delivers 4 excellent reader-oriented functionalities:

1) Exposes and displays 2 functioning zoom control buttons: Zoom In (+), and Zoom Out(-)

  <a class="leaflet-control-zoom-in"  href="#" title="Zoom in"  role="button" aria-label="Zoom in" >+</a>
  <a class="leaflet-control-zoom-out" href="#" title="Zoom out" role="button" aria-label="Zoom out">-</a>

2) When mouseover map, cursor changes from Pointing Hand (hand with index finger extended) to Dragging Hand (hand with all five fingers extended)
3) Dragging Hand cursor can drag map so map scrolls underneath the mapframe - while still on article page
4) Right-click any point on map within the frame will return longitude, latitude, and zoom level

This is good.

However, when the Wikipedia Production article's mapframe template (e.g., https://en.wikipedia.org/wiki/Luna_Parc) is not in "Edit:Show Preview" mode, the rendered map does not deliver any of those 4 excellent reader-oriented functionalities. That is bad.

The implementing mapframe code looks similar to:

      ...mapframe text="Location of Luna Parc" width=266 height=250 zoom=6 longitude=-74.78795 latitude=41.25231>{"type": "Feature", "properties": 
         { "marker-symbol": "museum", "marker-color": "3339ff", "marker-size": "medium"}, "geometry": { "type": "Point", "coordinates": [-74.78795, 41.25231] }}.... 

How do I get the Production Wikipedia environment articles (e.g., https://en.wikipedia.org/wiki/Luna_Parc) to deliver the 4 excellent reader-oriented functions to users who are in Read mode?

Thanks,

Joel
P.S. I didn't find this issue already being tracked in Phabricator [3]
JoelDougal (talk) 17:09, 16 May 2019 (UTC)Reply

Hello, JoelDougal. When maps were being developed there was concern that providing interactive maps on Wikipedia would be too resource intensive. Mostly on the server side of things. More interactive maps means more server resources needed to display the tiles that make up the map. The decision was made to not enable this for our most heavily trafficked project. The feature does exist in preview mode as you note (see T202793 for more information). The interactive feature is enabled on Wikivoyage, just not Wikipedia. See the help documentation where this is noted. I hope that help explain the situation well. CKoerner (WMF) (talk) 22:16, 16 May 2019 (UTC)Reply
I understand your explanation. Thank you. But I'm sad because the interactive frame is such a superior user experience.

Update frequency of Wikimedia Maps

[edit]

How frequent is maps data being updated ? --Katpatuka (talk) 05:23, 5 May 2020 (UTC)Reply

Katpatuka per Help:Extension:Kartographer "The data normally becomes available to Kartographer within 2 days. However, as of April 2020, no tags added since late January 2020 are recognized by Kartographer due to a pause in updates." —TheDJ (Not WMF) (talkcontribs) 15:55, 5 May 2020 (UTC)Reply
I would love to know more about the progress here as well, I fixed some high-level errors on the Esperanto Map (https://maps.wikimedia.org/?lang=eo) and I would love to use these changes in a few places on wikipedia. --Stefangrotz (talk) 12:59, 6 August 2020 (UTC)Reply
For the record: That Phabricator ticket indicates that updates resumed in October 2020. --Closeapple (talk) 06:24, 29 August 2021 (UTC)Reply
[edit]

In English interface, the phrase “Putin, make love not war! When it is difficult in your age, try Viagara ;-)” is currently overlayed above the Moscow Kremlin on Wikipedia maps. SecretName101 (talk) 23:03, 4 March 2022 (UTC)Reply