Content deleted Content added
m Archiving 1 discussion(s) from Module talk:Location map) (bot |
m Archiving 1 discussion(s) from Module talk:Location map) (bot |
||
Line 355:
:Okay, this is a much more widespread problem than I thought. I added a fix to [[Module:Location map/multi]] that will hopefully make this not be a problem at all anymore. [[User:Jackmcbarn|Jackmcbarn]] ([[User talk:Jackmcbarn|talk]]) 17:28, 19 December 2016 (UTC)
::: Thank you both for your help! --<font color="#06C">[[User_talk:Trödel|Trödel]]</font> 21:25, 28 December 2016 (UTC)
== Dynamic Kartographer maps ==
{{stack begin|clear=true}}{{Graph:Street map with marks | width=300 | height=300 | lat=51 | lon=10 | zoom=5 | minimap = false | { "lat": 52.516667, "lon": 13.383333 } }}{{stack end}}
Hi everyone,
I'm following the development of {{tl|Graph:Street map with marks}} by {{U|Yurik}} with great interest. How much has to be done to use those dynamic maps instead of pins on static PNGs/SVGs which are complicatedly generated based on data stored in subpages of this module? I would appreciate this improvement a lot since we would move towards up-to-date maps and a new promising tool. What do you think?
{{OSM Location map
|lat=51.593
|lon=-3.790
|zoom=12
|width=250
|height=300
|float=left
|caption = Port Talbot, South Wales
|mark-lat=51.565333
|mark-lon=-3.7602639
|shape=image
| label = Steelworks
| label-pos = left
|mark-title= Port Talbot Steelworks
|mark-image=Port Talbot Steelworks - geograph.org.uk - 41552.jpg
|mark-description=Tata Steel at Port Talbot
| label1 = Aberavon Beach
| label-pos1 = bottom
|mark-lat1=51.592802
|mark-lon1= -3.81779
| label2 = Port
| label-pos2 = left
|mark-lat2=51.58632
|mark-lon2= -3.78587
}}
-- [[User:T.seppelt|T.seppelt]] ([[User talk:T.seppelt|talk]]) 18:18, 16 October 2016 (UTC)
::{{U|T.seppelt}}, I came across {{U|Yurik}}'s template, and couldn't resist the possibilities. I have managed to put together a template that provides a more standard 'Location map'-style front end. It is called {{tl|OSM Location map}} and there are various examples in the documentation. It can have up to ten pins with labels, and map-centre and zoom level can be selected for anywhere in the world. It also provides a link through to a full-screen <nowiki><mapframe></nowiki>, with a more user-controllable pan and zoom option. [[User:RobinLeicester|RobinLeicester]] ([[User talk:RobinLeicester|talk]]) 17:11, 4 November 2016 (UTC)
:::{{ping|RobinLeicester}} This looks great. In the long run we should try to replace the current system. I would love to see a ___location in its country's boundaries. E.g. a template like yours but with a Wikidata-Country-ID parameter which lets the template load the country's shape from OSM and centers the map to the country's center. I was discussing this [[:mw:Topic:Teh3oqdu7ueu6yfe|here]]. -- [[User:T.seppelt|T.seppelt]] ([[User talk:T.seppelt|talk]]) 07:53, 5 November 2016 (UTC)
::::{{ping|T.seppelt|RobinLeicester}} Aren't [[:mw:Maps|interactive (inline) maps]] going to be enabled at some point anyway? [[User:Jc86035|Jc86035]] ([[User talk:Jc86035|talk]]) <small><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left">Use {{[[Template:Reply to|re]]|Jc86035}}<br />to reply to me</span></small> 07:56, 5 November 2016 (UTC)
:::::{{ping|Jc86035}} Hopefully something more like the wikivoyage maps will make it onto wikipedia - but does anyone know a timescale on that? My thinking is that this one includes enough information that it could be rewritten to call something (even) better than {{tl|Graph:Street map with marks}} and any pages that now use it would be instantly upgraded.
::::::{{re|RobinLeicester}} It might be easier to just upgrade {{tl|Location map}} when it's possible (to make the default option the interactive map). This would work seamlessly for almost all objects (lines and areas on {{tl|Location map}} should be pretty rare) on Mercator maps. (Incidentally, {{tl|Coord}} will need to be upgraded soon as well, since maplink is already available and will soon have a lot of Geohack's features.) [[User:Jc86035|Jc86035]] ([[User talk:Jc86035|talk]]) <small><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left">Use {{[[Template:Reply to|re]]|Jc86035}}<br />to reply to me</span></small> 11:44, 5 November 2016 (UTC)
::::::Not sure about the timescale (probably "when it's ''just about'' ready but not ''actually'' ready", per WMF standards) but it might have been enabled on three Wikipedias already. [[User:Jc86035|Jc86035]] ([[User talk:Jc86035|talk]]) <small><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left">Use {{[[Template:Reply to|re]]|Jc86035}}<br />to reply to me</span></small> 11:47, 5 November 2016 (UTC)
:::::::That's great for all the Location map defined templates, (eventually) but the pages themselves depend on the template definitions. They don't have scale or dimension data, so can't just be converted. There are comparatively few large scale maps using Location map because making the templates by hand was such hard work, so mostly this is a new map possibility, to run alongside the region maps etc, rather than simply a replacement. <!-- Template:Unsigned --><small class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:RobinLeicester|RobinLeicester]] ([[User talk:RobinLeicester#top|talk]] • [[Special:Contributions/RobinLeicester|contribs]]) 12:43, 5 November 2016 (UTC)</small>
::::::::{{re|RobinLeicester}} Location maps ''do'' have dimension data, or are you referring to something other than their bounding box? For simple Mercator ___location maps, it ''should'' be possible (but is beyond my ability) to convert the lat/long bounding box of the ___location map into a good zoom level/display view for the interactive map. [[User:Jc86035|Jc86035]] ([[User talk:Jc86035|talk]]) <small><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left">Use {{[[Template:Reply to|re]]|Jc86035}}<br />to reply to me</span></small> 13:51, 5 November 2016 (UTC)
::::::::::{{re|Jc86035}} I think we are saying the same thing here. The thousands of already defined {{tl|Location Map somewhere}} map modules/templates do have the bounding data, and someone sometime will be able to convert those to interactive maps. But anyone who now wants to include a map that doesn't have such a template already written - of a neighbourhood or landscape feature, for example - can now just define one within the article, which can then be automatically kept up to date, both by updates to OSM and as new possibilities for interactivity are rolled out. [[User:RobinLeicester|RobinLeicester]] ([[User talk:RobinLeicester|talk]]) 14:22, 5 November 2016 (UTC)
:::::::::::{{re|RobinLeicester}} We could, I guess, just add map coordinates and zoom level parameters to {{tl|Location map}}, and then merge {{tl|OSM Location map}} into the middle of [[Module:Location map]] until interactive maps are enabled. This might be better than having two different templates which have the same purpose. [[User:Jc86035|Jc86035]] ([[User talk:Jc86035|talk]]) <small><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left">Use {{[[Template:Reply to|re]]|Jc86035}}<br />to reply to me</span></small> 14:35, 5 November 2016 (UTC)
::::::::::::{{re|Jc86035}} - meddling with {{tl|Location map}} and its various parts is way beyond my proficiency or permissions grade. As you implied above, I would think something as high profile as that will want to wait until a stable solution is in place. At the moment they are not doing the same thing as most Location maps don't use the OSM basemap, and might include boundaries, terrain and other features the OSM maps don't have. [[User:RobinLeicester|RobinLeicester]] ([[User talk:RobinLeicester|talk]]) 20:58, 5 November 2016 (UTC)
When these are fully ready for prime-time (they are getting closer, but aren't there yet), then they should be an option - possibly the default, possibly not - but the existing maps should continue to work. For ''static'' maps, the existing versions are generally better as they are lower on the [[chartjunk]] than a screenshot of a rich interactive map. I'd say OSM derived maps become most valuable at the large-scale, eg when showing a ___location within a city.--[[User:Nilfanion|Nilf]][[commons:User:Nilfanion|anion]] ([[User talk:Nilfanion|talk]]) 11:03, 7 November 2016 (UTC)
{{u|Nilfanion}}, {{u|T.seppelt}}, {{u|Jc86035}}, {{u|RobinLeicester}}: I have updated [[mw:Template:Graph:Street_map_with_marks|Street map with marks]] template to support datasets - this way the actual data for a specific map can be stored in one ___location, and used on many pages and many different wikis. But more importantly, the latest [[meta:2016_Community_Wishlist_Survey/Results|community wishlist results]] showed that one of the very high priority items is [[meta:2016_Community_Wishlist_Survey/Categories/Reading#CW2016-R021|Better interface and visualisation for coordinates and map]], which partially asks to convert geo coordinate into a maplink. Would any of you be interested in working on adapting the {{tl|coords}} template to it? What are the steps required? Where should we even have this discussion? Thanks! --[[User:Yurik|Yurik]] ([[User talk:Yurik|talk]]) 04:06, 6 January 2017 (UTC)
:{{re|Yurik}} I'm probably not experienced enough with Lua or any of the other aforementioned things to convert {{tl|coord}}, although I think it would be a good idea to ask editors on Wikivoyage (since they've done it already) if you haven't yet. [[User:Jc86035|Jc86035]] ([[User talk:Jc86035|talk]]) <small><span style="display:inline-block;margin-bottom:-0.3em;vertical-align:-0.4em;line-height:1.2em;font-size:80%;text-align:left">Use {{[[Template:Reply to|re]]|Jc86035}}<br />to reply to me</span></small> 15:48, 6 January 2017 (UTC)
|