Template talk:Location/2008

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Heading

What does this field actually do? Is heading info used in any interesting ways? --Padraic 20:50, 17 May 2008 (UTC)

It shows the view direction in Google Earth and Google maps and I think it's really interessting information. I hope this answer your question. --Kolossos 22:39, 17 May 2008 (UTC)
Ah, hadn't noticed that. --Padraic 16:25, 18 May 2008 (UTC)

Toolserver.org

Isn't be useful to change http://tools.wikimedia.de/~para/GeoCommons/GeoCommons-simple.kml to http://toolserver.org/~para/GeoCommons/GeoCommons-simple.kml ? --Ragimiri (talk) 11:52, 7 July 2008 (UTC)

Yes. ✓ Done. --Dschwen (talk) 13:07, 30 August 2008 (UTC)

Documentation

{{Editprotected}} I created a Documentation /doc sub-page.

✓ Done Forrester [[ hate+love letters ]] 21:25, 28 August 2008 (UTC)

Thank You. LeheckaG (talk) 00:16, 30 August 2008 (UTC)

Google Earth link

Would it be possible to change the google earth link so it DOESN'T add the wikimedia layers to your temporary folder? I end up with the same layer loaded about 20 times. -mattbuck (Talk) 23:19, 2 November 2008 (UTC)

Sometimes when I click some link somewhere (don't remember where, probably not on a Wikimedia site then), Google Earth tells me I already have it and asks if I want to reload it. Currently the link in this template gives a KML Folder element with the LookAt point to the coordinates and links to the Wikimedia layers. Perhaps there is some way to split the contents of the KML file so that it doesn't load duplicates? You can try finding out a way by copying the folder from Google Earth, pasting it to a text editor, editing it appropriately, and then copying and pasting back to Google Earth. I tried taking the LookAt point outside the folder, hoping that it would then notice that the content of the folder is an exact duplicate, but that didn't seem to change anything...
I think we should aim for maximum visibility, that the links lead to a view with all Commons content directly available, unlike the coordinates link. If it's not possible to make GE load the layers only once, it's a nuisance for people like us who use the link a lot, but instead of dropping it for users who have loaded it during the last five minutes or some other odd hack like that, how about we make a userscript that adds a simple placemark link? An additional link for all users might be confusing. --Para (talk) 21:42, 3 November 2008 (UTC)
Maybe just add a second link after it to just go to the coords. -mattbuck (Talk) 21:55, 3 November 2008 (UTC)
This ought to work in your Special:Mypage/monobook.js:
function addGoogleEarthLink() {
	var links = document.getElementsByTagName('A');
	var gelinks = new Array();

	for (var i=0; i<links.length; i++) {
		if (links[i].href.match(/GeoCommons\/earth.php/))
			gelinks.push(links[i]);
	}

	for (var i=0; i<gelinks.length; i++) {
		var latlon = gelinks[i].href.match(/latdegdec=([-.\d]+)&londegdec=([-.\d]+)/);
		if (latlon && latlon.length>2) {
			var a = document.createElement('A');
			a.href = 'http://maps.google.com/maps?&q=' + latlon[1] + ',' + latlon[2] + '&output=kml';
			a.innerHTML = ' (locate)';
			gelinks[i].parentNode.insertBefore(a, gelinks[i].nextSibling);
		}
	}
}

addOnloadHook(addGoogleEarthLink);
--Para (talk) 00:36, 4 November 2008 (UTC)

Geo microformat link typo

The Geo microformat link ought to be en:WP:GEOUF. Benchill (talk) 07:36, 3 November 2008 (UTC)

(Camera) Location ?

Hello,
is it necessary to write "Camera Location" in the template ? If it would just be "Location", it could be used also to specify, where music files were recorded. This information is present in many classical music files.
Teebeutel (talk) 19:31, 9 December 2008 (UTC)

why an additional links

There is already a link to stable.toolserver.org, why linking to google maps and earth? please use the toolserver only, or link live maps, yahoo maps etc.

Because more people use those tools - google earth it adds wikimedia layers which is helpful. -mattbuck (Talk) 21:52, 19 December 2008 (UTC)