User:Dschwen/WikiMiniAtlas

From Wikipedia, the free encyclopedia

Contents

[edit] WikiMiniAtlas Javascript Extension

WikiMiniAtlas in action
Enlarge
WikiMiniAtlas in action
Pyramids of Gizeh in satellite mode
Enlarge
Pyramids of Gizeh in satellite mode

I'm currently working on a Javascript plugin to display a GoogleMaps like map in geocoded Wikipedia articles. Add the following to your monobook.js file:


// [[User:Dschwen/wikiminiatlas2.js]] - please include this line 
document.write('<script type="text/javascript" src="' 
     + 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/wikiminiatlas2.js' 
     + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

Then press shift+reload and go to Washington_Monument. Check out the "Atlas" link in the top right corner. Click it and drag the map around. Use the +/- buttons to zoom in and out. --Dschwen 12:10, 16 May 2006 (UTC)

Map data courtesy of GSHHS Coastline Data (public domain), Landsat7 data courtesy of NASA.

[edit] Update 19.10.2006

6 additional zoomlevels and a satellite mode using Landsat 7 data. Now you should be able to zoom in to a point where individual houses can be made out (barely). This allows me to display all available wikilinks at the highes zoom level.

[edit] Update 21.9.06

Added a dynamic scalebar on the map, which adjusts itself to compensate for the map projection.

[edit] Update 8.6.06

Legend

Image:wma_label_corner_ul.png Article
Image:wma_label_summit.png Mountain
Image:wma_label_dot_3.png Village < 10000 inhabitants
Image:wma_label_dot_5.png Town < 100.000 inhabitants
Image:wma_label_dot_7.png City < 500.000 inhabitants
Image:wma_label_dot_9.png City < 1.000.000 inhabitants
Image:wma_label_dot_11.png City > 1.000.000 inhabitants

Special map symbols for cities and mountains. Country names now have no symbol but are set in bold face.

[edit] Update June 6th 2006

More zoomlevels enabled. I finally got my maptile renderer working. Also, a bug prioritizing the lables was fixed. More important lables will be displayed at low zoom levels.

[edit] Update May 20th 2006

The new version wikiminiatlas2.js now uses AJAX to display markers with WikiLinks to other geocoded articles. This means you can now see which articles are geographically nearby and you can browse Wikipedia spatially. The german Wikipedia extensively uses templates of the {{coor_title_dms}} family (and derived ones). It actually is a lot of fun just to scroll to some remote region on earth, zoom in and follow the links that magically appear!

Prepare for even bigger zooms and more features on the map as soon as I get ArcView SHP-file import going.

In other languages