Module talk:Mapframe
This is the talk page for discussing improvements to the Mapframe module, and the related Maplink template. |
|
Archives: 1, 2Auto-archiving period: 5 months ![]() |
Frequently asked questions (see also: mw:Help:Extension:Kartographer) Q1: Where to file a bug report when there is a problem with the base map? (e.g. a missing lake)
A1: If the problem also occurs on OpenStreetMap, it needs to be fixed there. If the problem is only on Wikimedia's maps, it can be reported on Phabricator (you can log in with you Wikipedia account). See mw:How to report a bug for instructions (for the tags, use Maps). (Alternatively, you can try mw:Help talk:Extension:Kartographer) Q2: Where to report other bugs or problems with the maps?
A2: This may be a problem with the Wikipedia module, or it may be an underlying software bug (there are lots of those).
Q3: Why does the thumbnail map render as a static image when viewing pages, but is interactive when editing pages?
A3: On Wikipedia, and most wikis other than Wikivoyage, the emdeded thumbnail is a static map, and the full screen map needs to be opened before the map can be zoomed or panned. This is for for performance reasons, and to present some content if javascript is disabled, and for printing. That preview mode shows an interactive map is a bug, phab:T203863 (and also a performance issue). Further explanation can be found in the comments on phab:T202793. Q4: Why is a line or shape feature from OpenStreetMap not being shown?
A4: There are several possible causes:
Q5: Why are line, shape, or point features are not shown after editing or adding a map, even though they were shown in the page preview?
A5: This is a bug related to generating thumbnail map images. It should fix itself in an hour or two. See phab:T269984 for details. Q6: A page using mapframe's
|raw= parameter is showing error messages of "The time allocated for running scripts has expired." What can be done?A6: If the amount of raw data to be processed is too large, that timeout message may be shown. You can try moving the raw data to Commons (example) or replacing the mapframe template with the equivalent wikitext using Special:ExpandTemplates (example) |
![]() | To help centralize discussions and keep related topics together, Template talk:Maplink and related subpages redirect here |
This is the talk page for discussing improvements to the Mapframe module. |
|
Archives: 1, 2Auto-archiving period: 5 months ![]() |
UK Wikidata items with and without maps
I have been able to add maps on to pages such as the Upper Beeding parish and Brighton and Hove using the wikilink template and wikidata code, but I don't understand why some wikidata area items are connected to maps and some are not.
I am now trying to use the same method to add a map for Southwick, but it doesn't seem to have a map associated with it. I am guessing that is because it is of a different governmental organisational level. Is that correct?
I am therefore look for an area with a map. It might be that I will have to use the map of the entire Adur District, but I don't think so as Coombes, Lancing and Sompting all have maps associated with them and they are in the same District.
It could be that I should use the Shoreham-by-Sea map but this map (to the right) doesn't look correct - it should cover a much bigger area - and if it is not correct, what should I do about it?
Can anyone help me with this or explain it to me?
And finally, am I able to make maps that do not exist and what is the easiest way to do this (preferably without having to draw it and work out borders myself)? Many thanks. Paolo Oprandi (talk) 17:36, 31 December 2021 (UTC)
- @Riparia riparia: the data is being automatically drawn from OpenSteetMap. See [1] — Martin (MSGJ · talk) 22:32, 2 March 2022 (UTC)
- mw:Help:Extension:Kartographer/OSM explains the link between OSM and Wikidata — Martin (MSGJ · talk) 22:34, 2 March 2022 (UTC)
Many maps
How do I specify a manual override coordinates so one article can have many maps?
Please reply at Template_talk:Infobox_building#mapframe-coordinates, not here.
Thank you CapnZapp (talk) 19:34, 26 April 2022 (UTC)
Shape
I can't make shape map for Uttara. Can anyone please give instructions for it? I tried it from doc of template but can't understand. Mehedi Abedin 12:00, 16 May 2022 (UTC)
See Wikipedia:Creating shape maps from OpenStreetMap data. ɱ (talk) 18:18, 16 May 2022 (UTC)
No outline around map object
Hello, for some reason, the outline doesn't work on all objects. It's shown here with wikidata:
Klipriviersberg Nature Reserve
but it doesn't work here:
Both have wikidata and wikipedia entries. It also doesn't work with {{maplink}} or <mapframe>. Why is this? Thank you Maqdisi (talk) 05:41, 2 June 2022 (UTC)
- There is no shape being returned by the shape api. https://maps.wikimedia.org/geoshape?getgeojson=1&ids=Q111994013 I added the boundary property to the geoshape because "Currently, only relations with type=multipolygon, type=route, and type=boundary will display on maps.". We'll see if that fixes it within a couple of days. —TheDJ (talk • contribs) 11:44, 2 June 2022 (UTC)
Clicking a shape with from key doesn't work
Hello, I have something like this:
{{Maplink|frame=yes|frame-coord={{coord|-35.579|21.824|}}|zoom=5 |type=shape|from=Southwest Indian Seamount Marine Protected Area.map|title=Shape|description=Description of shape |type2=shape|from2=Agulhas Bank Complex Marine Protected Area.map|title2=Shape|description2=Description of shape }}
]
But clicking on it won't show the title popup and description. Also, I'm unable to change the colours of the shape if it uses `from`.
Thank you, Maqdisi (talk) 10:19, 3 June 2022 (UTC)
- When using
|from=
you are getting the geojson from the map file from Commons, e.g. your second one at commons:Data:Agulhas_Bank_Complex_Marine_Protected_Area.map. I think any changes need to be made to that file or a duplicate made with your requirements, e.g adding a title to the features block with"title":"test title"
. — Jts1882 | talk 13:28, 3 June 2022 (UTC)- I now see this is a new file that you have created so I've added a title that can now be seen on the map. — Jts1882 | talk 13:32, 3 June 2022 (UTC)
Help with map Q112251746
Can I please get a check I've done wikidata:Glen Innes to Tamaki Drive Cycleway and OSM correctly? The map is not showing up. Thanks F (talk) 08:21, 11 June 2022 (UTC)
- It should be ok, but I believe database synchronisation has been turned off again for a while already. —TheDJ (talk • contribs) 12:08, 11 June 2022 (UTC)