Template talk:Location map
From Wikipedia, the free encyclopedia
[edit] Coor d
This template takes in latitute and longitude, should we get it to include the template Coor d which also takes in latitute and longtitude and seems to be the ultimate top-level template for the location of places. This would ensure that anything that reads the geographic location of articles would then pick up anything using this map. See WikiProject Geographical coordinates for more details. --MarkS (talk) 19:55, 26 June 2006 (UTC)
-
- I agree, especially as "coor" family are about to be updated, for ease of data entry and to output the Geo microformat. See discussion at Template talk:Coor dms#Geo microformat. Andy Mabbett 13:43, 31 March 2007 (UTC)
[edit] Thanks
Thanks so much to everyone who contributed to this template. It was such a relief when I found this one. I had been thinking on how to create this for sometime while working on a bot that creates Indian towns and cities. I was able to plug-in this template and get the bot running. Thanks again, Ganeshk (talk) 21:03, 26 June 2006 (UTC)
[edit] Is it possible
...or would it be possible to have more than one city on these maps? --estavisti 19:52, 9 July 2006 (UTC)
- It's not possible at the moment, but it could be done. One serious problem would be overlapping of names, which would create a need to micromanage the position of names. That would be likely to break across browsers. Zocky | picture popups 19:32, 13 July 2006 (UTC)
- Another note: The way this is implemented now, all the smart bits are in this template, and subtemplates just return the requested data. We could make pretty much any other template that uses that data - i.e. the same place on several maps, several places on the same map, superimposition of other things than labels, etc., without breaking or influencing this one in any way. Zocky | picture popups 19:37, 13 July 2006 (UTC)
- It is possible. See Template:Location map start. -- Ganeshk (talk) 14:58, 26 October 2006 (UTC)
- The issue of multiple names might be resolved by overlaying numbers, not dots, and including a key in the image caption. Andy Mabbett 13:45, 31 March 2007 (UTC)
[edit] Hungary Map
Could somebody create a location map for Hungary (according o Croatia map)? thx. --Neoneo13 13:01, 22 September 2006 (UTC)
[edit] Position parameter
Would it be a good idea to add Top and Bottom values to the position parameter (position=top and position=bottom)? Currently it allows for right and left. On a multiple location map, having just two options means the map is very cluttered. Top and bottom values will give more usage options. -- Ganeshk (talk) 23:29, 26 October 2006 (UTC)
- I have added top and bottom params. Can someone please check if it looks okay. -- Ganeshk (talk) 06:31, 9 November 2006 (UTC)
[edit] Alt text
Should we add an alt-text to the image? If there is a caption, it would be simply {{{caption}}}, otherwise, e.g. "Map of location within {{{1}}}". -- User:Docu
- Alt text should convey the information in the image, not merely say what the image is about. For example "Great Barr is in the North of Birmingham" is more meaningful to someone who is not viewing the map, than "map showing location of Great Barr in Birmingham". Andy Mabbett 13:47, 31 March 2007 (UTC)
-
- You forgot to convey the information that the image is a locator map. -- User:Docu
[edit] A few suggestions
Excellent work on this. You've made life a lot easier for many people. Are you familiar with the {{Lageplan}} template from the German wiki? They made this for their German town infobox and I brought it over to the English wiki for use in the English version of this infobox: {{Infobox German Location}} - at the time I did not know about the Location map.
The Lageplan template has now also been modified for use in {{Infobox Town GR}} for Greek locations.
Lageplan has a few nice features that Location map does not. On this page I have put up two versions of the infobox used for Frankfurt, one using Lageplan, the other with Location map. I would gladly change the template to use Location map if a few changes were made:
- Border: Is there any way to turn off the image border? It is alright for some cases but, as you can see, not for this one
- Error: Instead of shifting the dot off the edge of the map if the co-ordinate values are either not given or out of range, would it be neater to have some sort of error display? In Lageplan, a second map can be displayed (DE: Image:Missing Map of Germany.png, GR: Image:Prefectures Greece nocoord.png). So either the addition of a second error image or the overlaying of a question mark image would look better.
- Dot size: (a minor issue) Can the size of the dot be adjustable?
- Floating text: (another minor issue) Can the float text be modifiable? Also, Lageplan makes it possible for the dot to also have float text of its own
Keep up the good work. - 52 Pickup 09:35, 24 January 2007 (UTC)
[edit] Russia and Canada
There's not yet a template for Russia or Canada (countries near the North Pole). There are some difficulties to solve. The images are distorted by orthogonal projection. In dewiki we discuss a possible hint to use "normal" maps.
The image on the right side looks like using polar coordinates:
- The formulas for the coordinates we need are
- x=x_middle - r*(90-lon)*cos(k*lat)
- y=y_middle + r*(90-lon)*sin(k*lat)
- x_middle and y_middle are the coordinates of the North pole in the picture.
- r and k we have to check in the picture.
What do you think? Is that the right way? Any ideas? --Obersachse 17:36, 6 February 2007 (UTC)
- I made a russian map using equirectangular projection. --Obersachse 15:13, 5 March 2007 (UTC)
- Could you point to it, please? Thanks.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); 15:47, 5 March 2007 (UTC)
- Template:Location map Russia. There's an example too. --Obersachse 23:28, 6 March 2007 (UTC)
- Great! A couple of suggestions, though: can another map be created which would have the same colors as current locator maps for Russian federal subjects (example, and can it be updated to show the January 2007 borders (i.e., taking into consideration Perm and Krasnoyarsk Krai mergers)? Thanks!—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); 14:17, 7 March 2007 (UTC)
- Ask User:Koryakov Yuri, please. --Obersachse 00:06, 18 March 2007 (UTC)
- Great! A couple of suggestions, though: can another map be created which would have the same colors as current locator maps for Russian federal subjects (example, and can it be updated to show the January 2007 borders (i.e., taking into consideration Perm and Krasnoyarsk Krai mergers)? Thanks!—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); 14:17, 7 March 2007 (UTC)
- Template:Location map Russia. There's an example too. --Obersachse 23:28, 6 March 2007 (UTC)
- Could you point to it, please? Thanks.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); 15:47, 5 March 2007 (UTC)
So... ... I guess we're out of luck for the Canada map? I've already used the Russia map - thanks. But I can't even find the right projection for the Canada map. I would make it myself if i could. *sad* -Theanphibian (talk • contribs) 03:27, 23 August 2007 (UTC)
- Have you tried Image:Canada (geolocalisation).svg? From the description, it seems like it might be appropriate. --bdesham ★ 03:53, 23 August 2007 (UTC)
-
- No good, that's the problem - it's the wrong kind of projection. There's no way to apply the location map template to that map and have the positions accurately reflect the coordinates. When I have a list of coordinates for places I want to map, it's kind of a damper on that thought. -Theanphibian (talk • contribs) 22:09, 23 August 2007 (UTC)
[edit] The problem of maps crossing the +/- 180 meridian
is solved in ruwiki and dewiki by inserting a new parameter crosses180. See e.g. de:Uelen. Thanks to ru:User:Kalan. --Obersachse 00:03, 18 March 2007 (UTC)
[edit] Why does the floating to the right not work anymore ?
I see in the text they are not working anymore, and also for example this:
- {{Location map|Indonesia|lat=-7.608|long=110.20|float=right|caption=Borobudur location on Indonesia map.|label=Borobudur|width=300}}
And also why does the label in Indonesia map not show up also ? The difference is only that our map uses SVG rather than PNG image. Is it a problem in labelling? Any idea?? — Indon (reply) — 08:47, 23 March 2007 (UTC)
- Kalan made some changes to the template - I believe he was trying to fix the problem with maps that cross the 180° meridian. In doing so he broke the float functionality. I've now reverted those changes to restore the float function, as it was screwing up the formatting of a lot of articles. Waggers 09:40, 23 March 2007 (UTC)
- Hmm. In Russian version (that I've copied here) it was all ok. — Kalan 11:01, 23 March 2007 (UTC)
- Anyway, it works in ruWiki, see ru:Уэлен. — Kalan 11:12, 23 March 2007 (UTC)
- He, this was a problem with your code, you should write
float
instead of
. Now I'll try to fix it. — Kalan 11:17, 23 March 2007 (UTC)"float"- Now it does not work and the label is gone. — Indon (reply) — 11:25, 23 March 2007 (UTC)
- Yes, Kalan has been trying to fix it but apparently to no avail. I've rolled back to the working version again, as he really shouldn't use the live version for testing. Waggers 12:51, 23 March 2007 (UTC)
- Hooff, I don't know how to fix it.
#switch
doesn't work, text from older revision gives the same result (?!). Anyway, when a bot will replate deprecated|lat
and|long
, it could also change|float="left"
and|float="right"
to correct values. — Kalan 12:52, 23 March 2007 (UTC)- Ok, thanks very much for trying. Waggers 13:00, 23 March 2007 (UTC)
- The "working version" doesn't work. See the examples for Western Hemisphere and Country that crosses 180° meridian. --Obersachse 13:11, 23 March 2007 (UTC)
- The "working version" hasn't worked in that respect for a while and that's been documented. But breaking the float functionality to fix the 180° meridian problem doesn't really solve much. What we have is a straight choice between a template that floats but doesn't work for maps that cross the 180° meridian and a template that doesn't float but does work for those maps. Given that the 180° meridian problem is fairly well known, surely it's better to stick with the bug we know about until we can solve it without creating a new bug elsewhere in the template. Waggers 13:30, 23 March 2007 (UTC)
- Please test Template:Location map/Temp. I think the problem is solved now. Will You? --Obersachse 13:36, 23 March 2007 (UTC)
- I think Kalan has made the change to the actual template now. Seems to work this time! Well done to everyone involved. Waggers 13:41, 23 March 2007 (UTC)
- Very fine! --Obersachse 19:20, 23 March 2007 (UTC)
- I think Kalan has made the change to the actual template now. Seems to work this time! Well done to everyone involved. Waggers 13:41, 23 March 2007 (UTC)
- Please test Template:Location map/Temp. I think the problem is solved now. Will You? --Obersachse 13:36, 23 March 2007 (UTC)
- The "working version" hasn't worked in that respect for a while and that's been documented. But breaking the float functionality to fix the 180° meridian problem doesn't really solve much. What we have is a straight choice between a template that floats but doesn't work for maps that cross the 180° meridian and a template that doesn't float but does work for those maps. Given that the 180° meridian problem is fairly well known, surely it's better to stick with the bug we know about until we can solve it without creating a new bug elsewhere in the template. Waggers 13:30, 23 March 2007 (UTC)
- The "working version" doesn't work. See the examples for Western Hemisphere and Country that crosses 180° meridian. --Obersachse 13:11, 23 March 2007 (UTC)
- Ok, thanks very much for trying. Waggers 13:00, 23 March 2007 (UTC)
- Hooff, I don't know how to fix it.
- Yes, Kalan has been trying to fix it but apparently to no avail. I've rolled back to the working version again, as he really shouldn't use the live version for testing. Waggers 12:51, 23 March 2007 (UTC)
- Now it does not work and the label is gone. — Indon (reply) — 11:25, 23 March 2007 (UTC)
[edit] Missing label
(unindent) Now, last question. The floating is working, but the label is now missing. Is there incompatibility with SVG images, because it appears label shown up with PNG images? — Indon (reply) — 10:14, 24 March 2007 (UTC)
- Can You give an example (link)? --Obersachse 13:57, 24 March 2007 (UTC)
-
-
-
- Indeed. --Obersachse 14:57, 24 March 2007 (UTC)
-
-
{{Location map|Southampton |label=Eastleigh |position=right |lat=50.966667 |long=-1.35 |caption=[[Eastleigh]] within [[Greater Southampton]] |float=right }}
-
-
-
-
- It was the missing position attribute. --Obersachse 15:15, 24 March 2007 (UTC)
-
-
-
- I've rolled back the changes made by Kalan again. Apart from the problems mentioned by Indon, the changes also caused problems with how the map_caption field was positioned in Template:Infobox City (see Padang, Indonesia for an example) - it has been moved to the left of the Location map instead of below (the correct position). Please do not make further changes to this template until these problems are fixed - please use a sandbox instead of experimenting with this template . (Caniago 15:36, 24 March 2007 (UTC))
[edit] Problems with images and borders
I reverted here as this caused a border to appear around images on ~3,000 articles used in template:Infobox UK place. I couldn't work out what the specific change was that caused it. MRSC • Talk 05:15, 27 March 2007 (UTC)
- Fixed. Please notice me before any further revertion because older versions have problems with marker positioning that are much more important than border troubles. I watch my talk page through RSS, so I get a notification every 5 minutes. — Kalan 13:21, 27 March 2007 (UTC)
[edit] Decimal values
Why are decimal values deprecated? Andy Mabbett 23:45, 30 March 2007 (UTC)
- They are just not recommended because it is easier to input coordinates in dms format. — Kalan 06:22, 31 March 2007 (UTC)
- Surely that's a value judgement? I find it easier to use decimal values. Andy Mabbett 10:50, 31 March 2007 (UTC)
- Me too. If there's no technical reason why they shouldn't be used, they shouldn't be listed as depreciated. One of the beauties of this template is that it can handle both. Flexibility is good. Waggers 12:38, 31 March 2007 (UTC)
- I've marked them as not recommended (this could be more native to humans), you can edit Template:Location map/doc as it needed. In russian Wikipedia we commonly use dms{NS/WE} format. — Kalan 08:07, 1 April 2007 (UTC)
- I think no one wants to forbid decimal values. Unification is better to handle for templates and interwiki-cooperation. We in german Wikipedia also do prefer the dms format. I think it makes sense to call the decimal format "not recommended". Who wants to use it - please use. But dms is preferred. --Obersachse 08:22, 1 April 2007 (UTC)
- "dms is preferred." - I dispute that that is the case, unless you're referring to your personal preference. Andy Mabbett 18:15, 1 April 2007 (UTC)
- Me too. If there's no technical reason why they shouldn't be used, they shouldn't be listed as depreciated. One of the beauties of this template is that it can handle both. Flexibility is good. Waggers 12:38, 31 March 2007 (UTC)
- Surely that's a value judgement? I find it easier to use decimal values. Andy Mabbett 10:50, 31 March 2007 (UTC)
[edit] Template:Location map Mexico
Hello all
I just tried to create a location map for Mexico, but it seems to be slightly off (see my discussion here). Can someone with experience do me a favor and check the calibration on the map? Perhaps I am not using the right map; I don't know. It is only use in two articles: Mexicali and Sabinas, Coahuila. Thanks, —MJCdetroit 16:30, 9 April 2007 (UTC)
- Are you sure the map is in orthographic projection? --Obersachse 19:37, 9 April 2007 (UTC)
No, maybe that's why it's slightly off. This was blank map from the commons. —MJCdetroit 19:53, 9 April 2007 (UTC)
-
- In a lapse of reason, I originally wrote that maps should be in orthographic projection. Actually, they should be in equirectangular projection. Sorry for the confusion. Zocky | picture popups 13:22, 22 May 2007 (UTC)
No problem. The map has been deleted anyway. —MJCdetroit 15:32, 23 May 2007 (UTC)
[edit] China Map
Can someone create a Location Map for China? Or teach me how, or show me where are the instructions to doing so? Thanks. Hanfresco 08:03, 4 June 2007 (UTC)
- I'll try it. --Obersachse 15:14, 4 June 2007 (UTC)
- Done for Obersachse ;) --Koryakov Yuri 18:21, 4 June 2007 (UTC)
- Template:Location map China. Please report bugs to me. (But I hope, there aren't any :-) --Obersachse 18:41, 4 June 2007 (UTC)
- What do you use for source for these images? Personally I have been searching for equirectangular maps of Sweden and Latvia and not found any. I am able to create the maps if I just have a proper source map to use. Thanks in advance. :) --Morten Barklund [ talk / contribs ] 12:50, 16 June 2007 (UTC)
- I've created it on my own from DCW data processed with ESRI ArcView GIS, exported in AI format and then cropped, colored, etc. in CorelDraw. I'm not quite understand what you mean by "I am able to create the maps" then. If you really need Latvia and Sweden I can build them in ArcView and export in format you're able to use (placeable WMF, Windows Metafile, bmp, ai, eps, cgm, jpg, cdr). --Koryakov Yuri 15:15, 16 June 2007 (UTC)
- We do need Latvia and Sweden, but it'd be nice if we'd be able to make the maps ourselves :-) --HenrikRomby 16. jun 2007, 17:30 (CEST)
- I understand the process and math behind the creation and I know the tools to use, but I miss the data to create them. But if it is okay with you, we might as well ask you, when we need the maps. The primary thing, that would be good to have, would be maps, that looked alike. For all countries, display the country in one colour, the internal primary geopolitical division borders (states, regions or the like) in another, country border in a third, neighbouring countries in a fourth and finally water in a fifth. The ultimate thing for me would be if you had a map of the whole world preprocessed in AI format, that I could simply use, and then when I need a certain country not in the correct colour scheme already, I would create it from this file – and then scale the country properly to make it look it's best. I would then try to export in SVG format for optimal rendering if possible. Thanks in advance :) --Morten Barklund [ talk / contribs ] 19:45, 16 June 2007 (UTC)
- Yuri's maps usually look like this. I think, that will be okay. Won't it? --Obersachse 21:29, 16 June 2007 (UTC)
- I understand the process and math behind the creation and I know the tools to use, but I miss the data to create them. But if it is okay with you, we might as well ask you, when we need the maps. The primary thing, that would be good to have, would be maps, that looked alike. For all countries, display the country in one colour, the internal primary geopolitical division borders (states, regions or the like) in another, country border in a third, neighbouring countries in a fourth and finally water in a fifth. The ultimate thing for me would be if you had a map of the whole world preprocessed in AI format, that I could simply use, and then when I need a certain country not in the correct colour scheme already, I would create it from this file – and then scale the country properly to make it look it's best. I would then try to export in SVG format for optimal rendering if possible. Thanks in advance :) --Morten Barklund [ talk / contribs ] 19:45, 16 June 2007 (UTC)
- We do need Latvia and Sweden, but it'd be nice if we'd be able to make the maps ourselves :-) --HenrikRomby 16. jun 2007, 17:30 (CEST)
- I've created it on my own from DCW data processed with ESRI ArcView GIS, exported in AI format and then cropped, colored, etc. in CorelDraw. I'm not quite understand what you mean by "I am able to create the maps" then. If you really need Latvia and Sweden I can build them in ArcView and export in format you're able to use (placeable WMF, Windows Metafile, bmp, ai, eps, cgm, jpg, cdr). --Koryakov Yuri 15:15, 16 June 2007 (UTC)
- What do you use for source for these images? Personally I have been searching for equirectangular maps of Sweden and Latvia and not found any. I am able to create the maps if I just have a proper source map to use. Thanks in advance. :) --Morten Barklund [ talk / contribs ] 12:50, 16 June 2007 (UTC)
- Template:Location map China. Please report bugs to me. (But I hope, there aren't any :-) --Obersachse 18:41, 4 June 2007 (UTC)
- First of all, DCW data is freely available at http://www.maproom.psu.edu/dcw/, I hope you know (but unfortunately without Administrative boundaries). So if you've got some map-making ESRI application you can create them yourselves. If not, I could do it myself, but it's unreasonable to export the whole world to AI since it wouldn't look nice because of limited resolution. So I can export it by portions with size of say China or USA. And also map of World with bad resolution which could be used as base. And then I can send all this anywhere by e-mail and you will do with it anything come into your head :) --Koryakov Yuri 21:40, 16 June 2007 (UTC)
- That would be absolutely wonderful. We will then make sure to upload relevant results to commons. Thanks. Please contact me via Special:Emailuser/Barklund :) --Morten Barklund [ talk / contribs ] 22:06, 16 June 2007 (UTC)
- Done for Obersachse ;) --Koryakov Yuri 18:21, 4 June 2007 (UTC)
[edit] More than one marker at one map
More than one marker at one map is possible. Kalan has created a new template. See e.g. here. Are you interested? --Obersachse 20:37, 18 June 2007 (UTC)
- The english version is available. (Template:Location map+) --Obersachse 14:19, 19 June 2007 (UTC)
[edit] Can we stop the hyperlink?
I have discovered that a number of people click on the map, expecting to see a larger image complete with the red dot, instead they just get the map image. I was just wondering if there was a way to stop the template hyperlinking to the map png. Just a thought! MortimerCat 18:34, 28 June 2007 (UTC)
- I think that it is good as it is. May be, someone wants to see only the larger image (without the marker). --Obersachse 15:33, 29 June 2007 (UTC)
- Use imagemap? — Kalan 09:16, 2 July 2007 (UTC)
[edit] Thumb wrapper
Any chance of someone more talented than me producting a wrapper similar to Template:GBthumb with links to additional map resources? --Bedders 13:43, 2 July 2007 (UTC)
[edit] Mozilla v. IE
Look at these images in Mozilla and in Internet Explorer. On my screen, this template works fine in Mozilla but shifts the dots downwards on IE, off the map. Is it just me? --maclean 06:46, 19 July 2007 (UTC)
Superimpose | Superimpose |
--maclean 02:03, 22 July 2007 (UTC)
[edit] Space below the picture
Does anyone know why there's a random band underneath the map in Template:Germany nuke plant map? -Theanphibian (talk • contribs) 20:17, 1 August 2007 (UTC)
- Oh i got it - there was a space between two location markers. You really have to keeps those with a rigid format for this to work. -Theanphibian (talk • contribs) 17:26, 25 August 2007 (UTC)
[edit] New York image
Does anyone else think that the New York image (at {{Location map New York}}) might be specified slightly wrong? The pushpin of Geneseo, New York looks slightly too high (Northerly) to me. --bdesham ★ 05:56, 15 August 2007 (UTC)
- I dunno, it looks okay to me, but I don't have a picky eye for NY. You're welcome to go to the Template:Location map New York and try adjusting the map border coordinates yourself. -Theanphibian (talk • contribs) 17:30, 25 August 2007 (UTC)
-
- Whoops, forgot to follow up here… the error was in {{Infobox Settlement}}; the map is fine. Thanks for the response! --bdesham ★ 20:39, 25 August 2007 (UTC)
[edit] Redundant marker
17-September-2007: I am setting the default "mark=" image file for the pointer as the (redundant) copy, Image:Red_pog2.svg ( identical to the original pointer), to bypass the ongoing image-cache problems during September 15-17, 2007. Only the original red-dot image (Image:Red_pog.svg) has been disappearing at size 8x8 pixels: the blue dot (Image:Blue_pog.svg) has been reliable when sized 8x8 pixels. -Wikid77 11:32, 17 September 2007 (UTC)
[edit] bg:
{{editprotected}}
- Could you please add: bg:Шаблон:Карта позиция--Desertus Sagittarius 16:02, 5 October 2007 (UTC)
- The template's documentation isn't protected, so you can add it yourself; edit {{Location map/doc}}. --ais523 18:24, 5 October 2007 (UTC)
- Done. - auburnpilot talk 21:43, 5 October 2007 (UTC)
- The template's documentation isn't protected, so you can add it yourself; edit {{Location map/doc}}. --ais523 18:24, 5 October 2007 (UTC)
[edit] If seconds fields are present but empty--it breaks the map
{{Location map |Croatia | label=Pag |mark=<!--dot-->Green pog.svg |lat_deg=44|lat_min=26|lat_sec= |lon_deg=15|lon_min=3|lon_sec= |lat= |long= |position=right |width=300 |float=right }}
If |lat_sec or |lon_sec are present but not filled in it breaks the map. Compare this map with the map on the Pag example on the template. Can anyone more familiar with this template fix this? —MJCdetroit 17:11, 27 October 2007 (UTC)
- The problem seemed to be there because lon_sec and lat_sec were not conditional within an #expr. Therefore, I made them conditional and as shown in the map to the right everything seems good. —MJCdetroit 19:55, 27 October 2007 (UTC)
[edit] Inset maps
Would it be possible to specify the coordinates for an inset map in the Location Map template? E.g. for {{Location map Portugal}} there are inset maps of the Azores and Madeira. It seems that the editor could specify the pixel and geographic coordinate locations of each inset map and then place the markers correctly on the inset map. Thoughts? Rolando 16:30, 7 November 2007 (UTC)
- It would be better to make special Location maps for the Azores and Madeira. May be I'll do. --Obersachse (talk) 23:35, 2 March 2008 (UTC)
- I think it would probably be a lot easier (but not better!). ;-) I don't know how to do it, in any case, but how would your suggestion work with a map like that shown on Portuguese Liga 2007-08. There, someone has fudged the lat/long of a dot in order to make it show up in the right place. They would need two separate maps? Rolando (talk) 07:39, 3 March 2008 (UTC)
- Okay, You're right. Another suggestion: Take Template:Location map Earth. --Obersachse (talk) 10:24, 3 March 2008 (UTC)
- I think it would probably be a lot easier (but not better!). ;-) I don't know how to do it, in any case, but how would your suggestion work with a map like that shown on Portuguese Liga 2007-08. There, someone has fudged the lat/long of a dot in order to make it show up in the right place. They would need two separate maps? Rolando (talk) 07:39, 3 March 2008 (UTC)
[edit] Multiple dots
Hello. Is there any possibility to enter various sets of coordinates = to show more dots on the map? Thanks. - Darwinek (talk) 20:17, 2 March 2008 (UTC)
- Yes. See {{Location map many}} and {{Location map+}}. These are also linked to on the template page in the "See also" section.-gadfium 22:59, 2 March 2008 (UTC)
[edit] Usability Problem - clicking on Map
Hi there, Usually location maps using this template seem to be thumbnail size, so the size of the marker can obliterate detail (As an example, for many articles on towns in Northland, New Zealand it is impossible to tell which coast the town is on. Therefore I often click on a location map to see an enlargement, only to be disappointed as only the background map is displayed, even if it is in SVG format.
Could this template be amended so that a replacement link is injected around the image? A link which contains the coordinates and the background image as parameters so that the special page called can do the same trick that the template has done, only at a larger scale. Even if it uses an onclick attribute to override the standard link, that should work for most users. dramatic (talk) 03:06, 3 March 2008 (UTC)
- For an example of a town article with this problem, see Houhora. I considered using a location map of just Northland, not the whole North Island, but the main aim of the location map is to give people an approximate idea of where this town is, and to do that they must be able to recognise other features on the map. Most people who would recognise a map of New Zealand will recognise the North Island (not that I have any evidence for that), but significantly less would recognise a map of just Northland.
- I tried using a smaller dot, but it doesn't help enough.
- A solution along the lines of dramatic's suggestion would be helpful. I'd like any solution to also work with the multiple dot versions of the template.-gadfium 04:29, 3 March 2008 (UTC)
Here's some ideas:
- Link to a special page that shows a big version of the map. Not a bad idea, but not likely to happen. The developers are not going to bother for something that specific.
- Link to the existing page for geographic data (the one you get when you click on coordinates). Easy to do, but gives you a page of links when you expect to see a map.
- Pop up the miniatlas. Relatively easy to do with some messing with site javascript.
- Link to a page which contains the large version of a map (in portal namespace, probably), and the marker and label displayed. Also relatively easy to do with some javascript.
Miniatlas probably has the best bother/advantage ratio, especially if we can get it to display maps at right zoom levels. OTOH, I do like the idea of a portal of maps connected with this template. Zocky | picture popups 15:45, 5 March 2008 (UTC)
- By miniatlas, I presume you mean this. That looks great. Where can we find out more about this? Is this free software (ie not just an interface to Google maps), and can we use it now?-gadfium 19:21, 5 March 2008 (UTC)
- I've found the documentation at m:WikiMiniAtlas, it is free software, and it's already implemented on en.wikipedia. In the article, you need to click on the little globe icon next to the coordinates, not on the coordinates themselves or on the location map. This gives a zoomable map, although unfortunately it doesn't appear to take note of the scale parameter to the coord template. If clicking on the location map could bring up this, with an appropriate zoom level, that would be fantastic. How can we move this forward?-gadfium 19:44, 5 March 2008 (UTC)
- I worked out how to get an appropriate zoom level; see my edit at Houhora.-gadfium 20:58, 5 March 2008 (UTC)
-
-
- That looks great Gadfium. Unfortunately the map which pops up when you click the globe seems to have a lower z-index than the wikipedia logo, so clicking on the zoom buttons takes me to the main page! (Might not happen if you have a large
monitorbrowser window dramatic (talk) 23:19, 5 March 2008 (UTC)- That problem arises if the map overlaps the left-hand links bar. I just tried at 800x600 resolution, and it was just out of that area - presumably the implementer of the feature allowed for that resolution. For a smaller screen or narrower browser width, then yes there would be the problem you describe.-gadfium 06:13, 6 March 2008 (UTC)
- That looks great Gadfium. Unfortunately the map which pops up when you click the globe seems to have a lower z-index than the wikipedia logo, so clicking on the zoom buttons takes me to the main page! (Might not happen if you have a large
-
I've modified Houhora to use a location map of just Northland, but with an inset of the whole of New Zealand. Is this better than the previous version?-gadfium 04:36, 16 March 2008 (UTC)
[edit] Location map Antarctica
See de:Vorlage:Positionskarte Antarktis. Interesting, isn't it? --Obersachse (talk) 10:31, 3 March 2008 (UTC)
[edit] Request
Any way to get location maps for Niue and Tokelau? John Carter (talk) 20:26, 15 March 2008 (UTC)
- I think, I could do, but is there really a need in a location map of an 10*10 km island? --Obersachse (talk) 20:33, 15 March 2008 (UTC)
- You've got a point. Niue does however have, apparently, about 17 settlements as per here. Tokelau has significantly fewer locations, though, as per here, and it might be less than productive. However, a few editors, me included (or maybe primarily, other than User:Blofeld of SPECTRE), are going to be trying to add many of the settlements from most parts of the world to wikipedia in some form or another, and maps would definitely help. John Carter (talk) 20:39, 15 March 2008 (UTC)
- OK, in this case I'll try to create a location map of Niue first, then of Tokelau. --Obersachse (talk) 10:52, 16 March 2008 (UTC)
[edit] Template naming conventions for subdivisions of a country
I propose that all location map templates for each subdivision in a country follow a naming convention so that they are all grouped together rather than being scattered across the entire A-Z range. For example for states in the USA: {{Location map Alaska}} becomes {{Location map USA Alaska}}, {{Location map New York}} becomes {{Location map USA New York}}. Or for Canada, {{Location map British Columbia}} becomes {{Location map Canada British Columbia}} and {{Location map Ontario}} becomes {{Location map Canada Ontario}}. RedWolf (talk) 17:51, 22 March 2008 (UTC)
- There is no reason that you can't have both by using a redirect. I did this for your {{Location map USA Alaska}} example. —MJCdetroit (yak) 01:22, 23 March 2008 (UTC)
- Of course. But I think, the preferred name should be "Location map country subdivision". --Obersachse (talk) 13:43, 23 March 2008 (UTC)
- Unless there any objections within the next few days, I am going to make this change. Of course, the current templates will become redirects. RedWolf (talk) 03:41, 28 March 2008 (UTC)
-
- Here is my support vote for the record.—Ëzhiki (Igels Hérissonovich Ïzhakoff-Amursky) • (yo?); 13:44, 28 March 2008 (UTC)
[edit] Continents
Any chance someone could create maps of the 7 continents please? Socrates2008 (Talk) 11:15, 26 March 2008 (UTC)
- We could take Template:Location map Earth and create on this base maps for all continents. South America, Afrika and Australia would be easy to create. But the others (most of all Antarctica) would be ugly. --Obersachse (talk) 17:31, 26 March 2008 (UTC)
- Actually, Australia already exists as it's a country. Africa is the main one I'm after. Thanks Socrates2008 (Talk) 13:08, 27 March 2008 (UTC)
- Is it that, what you want? --Obersachse (talk) 20:19, 28 March 2008 (UTC)
- Thank you kindly! Socrates2008 (Talk) 12:29, 8 April 2008 (UTC)
- Is it that, what you want? --Obersachse (talk) 20:19, 28 March 2008 (UTC)
- Actually, Australia already exists as it's a country. Africa is the main one I'm after. Thanks Socrates2008 (Talk) 13:08, 27 March 2008 (UTC)
[edit] Bulgaria map problems
I'm having real problems with Template:Location map Bulgaria. (If you go there, you find a page where, as I understand it from looking at others, there should actually be a map. But instead, the page is essentially blank, and merely refers you to Template:Location map.
Just now, in composing this, I did look into the code on the edit page for Location map Bulgaria - and was rather surprised at what I found there! - apparently this is why an image actually does come up. However, there's still a problem, as far as I can see. Please have a look at User:Martha_Forsyth/Mom's_Code-samples#Locating_places_on_a_map for an illustration. The positioning does not work correctly when I use template:location map, but apparently when using template:infobox settlement, it does. Since the map that comes up in the two instances looks fundamentally the same, I'm suspecting that the problem may lie in the coordinates specified by the two templates, but understanding and fixing this is quite beyond me - I seem to be lost in a maze of templates and perhaps interlocking templates. Can someone help, please? Thanks -- Martha (talk) 16:36, 28 March 2008 (UTC) (P.S., if possible, please leave me a note on my talk page, even if that notes says "come back here to see the answer"!)
- Fixed. --Obersachse (talk) 19:48, 28 March 2008 (UTC)
[edit] CIA Factbook maps
Just a note. It seems that CIA factbook map are not equirectangular. I had problems with the CIA map of Libya. So take care y'all. Hakeem.gadi (talk) 09:32, 3 April 2008 (UTC)
- That's true. For small countries or near to equator situated we can use them, but with other countries there may be problems. --Obersachse (talk) 17:26, 3 April 2008 (UTC)
[edit] Template:Location map Italy
The image in the template has been replaced.[1] Can someone adjust the parameters if necessary (to suit the coordinates)? The same for Template:Infobox CityIT. Thanks a lot. --Eleassar my talk 14:05, 3 April 2008 (UTC)
[edit] Geo-tagging of map locations
The red dots on the map are active links, but clicking on one of them takes you to instead of GeoHack. Any chance this can be fixed please? 13:04, 4 May 2008 (UTC)
- See above. --Obersachse (talk) 07:36, 15 May 2008 (UTC)
- I think you might have misunderstood my request? The discussion you refer to above was about zooming in when the map is clicked. I'm suggesting that the hyperlinks for the red dots on the map use the underlying GPS co-ordinates of that point to redirect you to geohack, as happens when you click on a {{coord}} link. This will certainly be more useful than being taken to this , right? Socrates2008 (Talk) 11:08, 18 May 2008 (UTC)
- Now I understood. --Obersachse (talk) 13:08, 18 May 2008 (UTC)
- I think you might have misunderstood my request? The discussion you refer to above was about zooming in when the map is clicked. I'm suggesting that the hyperlinks for the red dots on the map use the underlying GPS co-ordinates of that point to redirect you to geohack, as happens when you click on a {{coord}} link. This will certainly be more useful than being taken to this , right? Socrates2008 (Talk) 11:08, 18 May 2008 (UTC)
[edit] Gibraltar
Hi there. I wanted to create Template: Location Gibraltar but I'm not too sure how to go about it. Could someone please give me a hand? I would appreciate it. --Gibmetal 77talk 18:33, 12 May 2008 (UTC)
- Hm, is there really a need in a location map for such a small unity like Gibraltar? I may help you, but I can't find any sense in location maps for micro objects. --Obersachse (talk) 07:35, 15 May 2008 (UTC)
- Thanks for your reply. Why wouldn't there be? there are many infoboxes found in Gibraltar related articles that use this template and at the moment are blank. I believe it would add useful information to these articles. Thanks. --Gibmetal 77talk 07:53, 15 May 2008 (UTC)
- Would you prefer a blank map for the template or a map like this? --Obersachse (talk) 09:43, 15 May 2008 (UTC)
- There already is a blank location map albeit not a very good one, but the idea is to bea able to use the locator feature present in some infoboxes. Regards --Gibmetal 77talk 20:33, 17 May 2008 (UTC)
- I've created Template:Location map Gibraltar. Please test it. --Obersachse (talk) 22:37, 17 May 2008 (UTC)
- Thanks! That seems to work fine. However, would it be possible to use this map instead, as the one used is outdated (there hasn't been a "neutral zone" since the eraly 1900s)?
- Of course. In this case I have to recalculate the borders of the location map. But before I'll do that, please answer to my question. Would you prefer a blankened map for the template or not? On Gibraltar map-en-edit2.svg are shown a lot of details, which may disturb. --Obersachse (talk) 01:18, 18 May 2008 (UTC)
- Thanks! That seems to work fine. However, would it be possible to use this map instead, as the one used is outdated (there hasn't been a "neutral zone" since the eraly 1900s)?
- I've created Template:Location map Gibraltar. Please test it. --Obersachse (talk) 22:37, 17 May 2008 (UTC)
- There already is a blank location map albeit not a very good one, but the idea is to bea able to use the locator feature present in some infoboxes. Regards --Gibmetal 77talk 20:33, 17 May 2008 (UTC)
- Would you prefer a blank map for the template or a map like this? --Obersachse (talk) 09:43, 15 May 2008 (UTC)
- Thanks for your reply. Why wouldn't there be? there are many infoboxes found in Gibraltar related articles that use this template and at the moment are blank. I believe it would add useful information to these articles. Thanks. --Gibmetal 77talk 07:53, 15 May 2008 (UTC)
Do you mean a blank map of Gibraltar map-en-edit2.svg? I'm not sure. The detail on the map will be quite small in the template, so it might not matter. What do you think? Thanks again. --Gibmetal 77talk 10:13, 18 May 2008 (UTC)
- I'll do and then we can talk about. --Obersachse (talk) 12:09, 18 May 2008 (UTC)
- OK, thanks for your help. --Gibmetal 77talk 12:59, 18 May 2008 (UTC)
- Ready. Template:Location map Gibraltar --Obersachse (talk) 13:00, 18 May 2008 (UTC)
- It's definitely better, thanks. Although it might be even better by leaving things like roads and built up areas and just removing the labels on the land. Labels on the sea area will probably be best to leave in (Harbour, Bay, coves, etc). Other things I can think of particular importance, apart from those already mentioned are:
- Leaving the locator map in the top left hand corner.
- Labelling of the summit.
- Maybe adding a modified key.
- I think it will be better to locate things within as it will have some information to reference to. What do you think? I hope I'm not troubling you too much! --Gibmetal 77talk 13:19, 18 May 2008 (UTC)
- It's your turn now ;-)
- You only have to change the image Gibraltar map-en-edit2.svg that way you want. Save it under another name on commons and change the parameter in the template from image=Gibraltar locator map.svg to image=your_name.svg. That's all. --Obersachse (talk) 15:27, 18 May 2008 (UTC)
- In the end I've decided to use the entire unedited map. However, when I change it in the template it doesn't update. Any idea why this is? --Gibmetal 77talk 16:42, 18 May 2008 (UTC)
- Purge the cache (for IE Ctrl+F5). --Obersachse (talk) 13:28, 19 May 2008 (UTC)
- In the end I've decided to use the entire unedited map. However, when I change it in the template it doesn't update. Any idea why this is? --Gibmetal 77talk 16:42, 18 May 2008 (UTC)
- It's definitely better, thanks. Although it might be even better by leaving things like roads and built up areas and just removing the labels on the land. Labels on the sea area will probably be best to leave in (Harbour, Bay, coves, etc). Other things I can think of particular importance, apart from those already mentioned are:
- Ready. Template:Location map Gibraltar --Obersachse (talk) 13:00, 18 May 2008 (UTC)
- OK, thanks for your help. --Gibmetal 77talk 12:59, 18 May 2008 (UTC)
[edit] Template:Location map USA Georgia
Template:Location map USA Georgia currently links to Georgia, which is a disambiguation page. It should link to Georgia (U.S. state). I do not understand how the template works, so cannot fix it myself. Thanks, DuncanHill (talk) 19:23, 26 May 2008 (UTC)
- The answer is given there. --Obersachse (talk) 19:43, 26 May 2008 (UTC)