CINXE.COM

DebianEdu/Teams/Cartography - Debian Wiki

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="/htdocs/favicon.ico"> <script type="text/javascript" src="/htdocs/bugstatus.js"></script> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta name="robots" content="noindex,nofollow"> <title>DebianEdu/Teams/Cartography - Debian Wiki</title> <script type="text/javascript" src="/htdocs/common/js/common.js"></script> <script type="text/javascript"> <!-- var search_hint = "Search"; //--> </script> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/debwiki/css/common.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/htdocs/debwiki/css/screen.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/htdocs/debwiki/css/print.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/htdocs/debwiki/css/projection.css"> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/debian-wiki-1.0.css"> <!-- css only for MS IE6/IE7 browsers --> <!--[if lt IE 8]> <link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/debwiki/css/msie.css"> <![endif]--> <link rel="alternate" title="Debian Wiki: DebianEdu/Teams/Cartography" href="/DebianEdu/Teams/Cartography?diffs=1&amp;show_att=1&amp;action=rss_rc&amp;unique=0&amp;page=DebianEdu%2FTeams%2FCartography&amp;ddiffs=1" type="application/rss+xml"> <link rel="Start" href="/FrontPage"> <link rel="Alternate" title="Wiki Markup" href="/DebianEdu/Teams/Cartography?action=raw"> <link rel="Alternate" media="print" title="Print View" href="/DebianEdu/Teams/Cartography?action=print"> <link rel="Up" href="/DebianEdu/Teams"> <link rel="Search" href="/FindPage"> <link rel="Index" href="/TitleIndex"> <link rel="Glossary" href="/WordIndex"> <link rel="Help" href="/HelpOnFormatting"> </head> <body lang="en" dir="ltr"> <div id="logo"><a href="https://www.debian.org" title="Debian Homepage"><img src="https://www.debian.org/Pics/openlogo-50.png" alt="Debian" width="50" height="61"></a></div> <div id="header"> <div id="wikisection"> <p class="section"><a href="/FrontPage" title="Debian Wiki Homepage">Wiki</a></p> <div id="username"><a href="/DebianEdu/Teams/Cartography?action=login" id="login" rel="nofollow">Login</a></div> </div> <div id="navbar"> <ul id="navibar"> <li class="wikilink"><a href="/FrontPage">FrontPage</a></li><li class="wikilink"><a href="/RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="/FindPage">FindPage</a></li><li class="wikilink"><a href="/HelpContents">HelpContents</a></li><li class="current"><a href="/DebianEdu/Teams/Cartography">Cartography</a></li> </ul> </div> <form id="searchform" method="get" action="/DebianEdu/Teams/Cartography"> <div> <input type="hidden" name="action" value="fullsearch"> <input type="hidden" name="context" value="180"> <label for="searchinput">Search:</label> <input id="searchinput" type="text" name="value" value="" size="20" onfocus="searchFocus(this)" onblur="searchBlur(this)" onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search"> <input id="titlesearch" name="titlesearch" type="submit" value="Titles" alt="Search Titles"> <input id="fullsearch" name="fullsearch" type="submit" value="Text" alt="Search Full Text"> </div> </form> <script type="text/javascript"> <!--// Initialize search form var f = document.getElementById('searchform'); f.getElementsByTagName('label')[0].style.display = 'none'; var e = document.getElementById('searchinput'); searchChange(e); searchBlur(e); //--> </script> <div id="logo"><a href="https://www.debian.org" title="Debian Homepage"><img src="https://www.debian.org/Pics/openlogo-50.png" alt="Debian" width="50" height="61"></a></div> <div id="breadcrumbs"><a href="/FrontPage" title="Debian Wiki Homepage">Wiki</a><span class="sep">/</span> </div> <ul class="editbar"><li><a href="/DebianEdu/Teams/Cartography?action=login" id="login-1" rel="nofollow">Login</a></li><li class="toggleCommentsButton" style="display:none;"><a href="#" class="nbcomment" onClick="toggleComments();return false;">Comments</a></li><li><a class="nbinfo" href="/DebianEdu/Teams/Cartography?action=info" rel="nofollow">Info</a></li><li><a class="nbattachments" href="/DebianEdu/Teams/Cartography?action=AttachFile" rel="nofollow">Attachments</a></li><li> <form class="actionsmenu" method="GET" action="/DebianEdu/Teams/Cartography"> <div> <label>More Actions:</label> <select name="action" onchange="if ((this.selectedIndex != 0) && (this.options[this.selectedIndex].disabled == false)) { this.form.submit(); } this.selectedIndex = 0;"> <option value="raw">Raw Text</option> <option value="print">Print View</option> <option value="RenderAsDocbook">Render as Docbook</option> <option value="show" disabled class="disabled">Delete Cache</option> <option value="show" disabled class="disabled">------------------------</option> <option value="SpellCheck">Check Spelling</option> <option value="LikePages">Like Pages</option> <option value="LocalSiteMap">Local Site Map</option> <option value="show" disabled class="disabled">------------------------</option> <option value="RenamePage" disabled class="disabled">Rename Page</option> <option value="DeletePage" disabled class="disabled">Delete Page</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Subscribe User</option> <option value="show" disabled class="disabled">------------------------</option> <option value="show" disabled class="disabled">Remove Spam</option> <option value="show" disabled class="disabled">Revert to this revision</option> <option value="PackagePages">Package Pages</option> <option value="show" disabled class="disabled">------------------------</option> <option value="Load">Load</option> <option value="Save">Save</option> <option value="SlideShow">SlideShow</option> </select> <input type="submit" value="Do"> </div> <script type="text/javascript"> <!--// Init menu actionsMenuInit('More Actions:'); //--> </script> </form> </li></ul> <h1 id="locationline"> <ul id="pagelocation"> <li><a href="/DebianEdu">DebianEdu</a></li><li><a href="/DebianEdu/Teams">Teams</a></li><li><a href="/DebianEdu/Teams/Cartography">Cartography</a></li> </ul> </h1> </div> <div id="page" lang="en" dir="ltr"> <div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span> <span class="anchor" id="line-1"></span><p class="line867"> <h1 id="Debian-Edu_Cartography_Team">Debian-Edu Cartography Team</h1> <span class="anchor" id="line-2"></span><span class="anchor" id="line-3"></span><p class="line874">This page was created to join forces for tasks that provide special skills: <span class="anchor" id="line-4"></span><span class="anchor" id="line-5"></span><p class="line867"> <h2 id="Skills">Skills</h2> <span class="anchor" id="line-6"></span><p class="line867"><span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line874">Additional to general knowledge of geocordinates, any specific skills in handling the different geotools are of great benefit: Perl/Php4 coders are welcome as well as advanced users of xplanet, geosphere, KDE marble or even googleearth. <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line862">Joining this team shows that you are ready to help out with specific Debian related issues that are connected to the skills described above. Please, just write down your <a href="/WikiName">WikiName</a>. If you wish to introduce yourself, you can use your <a href="/HomePage">HomePage</a>. <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span><p class="line867"> <h2 id="Members">Members</h2> <span class="anchor" id="line-13"></span><p class="line867"><span class="anchor" id="line-14"></span><ul><li><p class="line891"><a href="/RalfGesellensetter">RalfGesellensetter</a> <span class="anchor" id="line-15"></span></li><li>... <span class="anchor" id="line-16"></span><span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span></li></ul><p class="line867"><span class="anchor" id="line-19"></span><span class="anchor" id="line-20"></span><p class="line874">Xplanet is used to create new maps whenever new schools pop up. This implies <span class="anchor" id="line-21"></span>running some perl scripts on maintainer that extract coordinates from a Mysql database and exports them to a text file. An impression of our results can be seen at: <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span><p class="line867"><a class="http" href="http://www.skolelinux.no/slschools/cartography.html">http://www.skolelinux.no/slschools/cartography.html</a> <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span><p class="line874">Futher tasks could include immediate presentation of Mysql contents, e.g. using PHP+gd, or supporting further geofile formats, like KML. <span class="anchor" id="line-26"></span><span class="anchor" id="line-27"></span><span class="anchor" id="line-28"></span><p class="line867"> <h2 id="Current_Tasks">Current Tasks</h2> <span class="anchor" id="line-29"></span><span class="anchor" id="line-30"></span><p class="line867"> <h2 id="Finished_Tasks">Finished Tasks</h2> <span class="anchor" id="line-31"></span><p class="line867"><span class="anchor" id="line-32"></span><ul><li><p class="line862">Migrating from xplanet 0.9 to 1.x <img alt="(./)" height="16" src="/htdocs/debwiki/img/checkmark.png" title="(./)" width="16" /> <span class="anchor" id="line-33"></span><ul><li><p class="line862">old style: <tt>&nbsp;xplanet&nbsp;-night_image&nbsp;void&nbsp;-shade&nbsp;100&nbsp;-blend&nbsp;-radius&nbsp;350&nbsp;-latitude&nbsp;62.2&nbsp;-longitude&nbsp;18.3&nbsp;-markers&nbsp;-markerfile&nbsp;xplanet-markers.txt&nbsp;-image&nbsp;earthmap_hires.jpg&nbsp;-output&nbsp;skolelinux-scandinavia.png</tt> <span class="anchor" id="line-34"></span></li><li><p class="line862">new style: <tt>&nbsp;xplanet&nbsp;-radius&nbsp;350&nbsp;-latitude&nbsp;62.2&nbsp;-longitude&nbsp;18.3&nbsp;-config&nbsp;xplanet.conf&nbsp;-num_times&nbsp;1&nbsp;-output&nbsp;skolelinux-scandinavia.png</tt> <span class="anchor" id="line-35"></span><span class="anchor" id="line-36"></span><ul><li style="list-style-type:none">This call uses a local config file xplanet.conf that states the location of placemarks and the usage of a locally stored hires map that is also used for the dark side of the globe to avoid any darkness on our map: <span class="anchor" id="line-37"></span><span class="anchor" id="line-38"></span><span class="anchor" id="line-39"></span><span class="anchor" id="line-40"></span><span class="anchor" id="line-41"></span><span class="anchor" id="line-42"></span><span class="anchor" id="line-43"></span><span class="anchor" id="line-44"></span><pre><span class="anchor" id="line-1-1"></span>[earth] <span class="anchor" id="line-2-1"></span>&quot;Earth&quot; <span class="anchor" id="line-3-1"></span>shade=80 <span class="anchor" id="line-4-1"></span>map=earthmap_hires.jpg <span class="anchor" id="line-5-1"></span>night_map=earthmap_hires.jpg <span class="anchor" id="line-6-1"></span>marker_file=xplanet-markers.txt</pre><span class="anchor" id="line-45"></span><span class="anchor" id="line-46"></span><p class="line891"><img alt="http://user.skolelinux.no/~ralfg/slschools/map/test.jpg" class="external_image" src="http://user.skolelinux.no/~ralfg/slschools/map/test.jpg" title="http://user.skolelinux.no/~ralfg/slschools/map/test.jpg" /> <span class="anchor" id="line-47"></span><span class="anchor" id="line-48"></span>Further options can be found in /usr/share/xplanet/config/default, test in local window like this: <span class="anchor" id="line-49"></span><span class="anchor" id="line-50"></span><span class="anchor" id="line-51"></span><pre><span class="anchor" id="line-1-2"></span>xplanet -radius 300 -latitude 62.2 -longitude 18.3 -config xplanet.conf \ <span class="anchor" id="line-2-2"></span> -timewarp 7200 -window -verbosity 4 -label -wait 1 </pre><span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span>The wait option could be a way to re-render the map once a day using a background process. <span class="anchor" id="line-54"></span><span class="anchor" id="line-55"></span></li></ul></li></ul></li><li class="gap"><p class="line862">Export coordinates to <a class="http" href="http://earth.google.com/kml/kml_tut.html">KML file</a> <img alt="(./)" height="16" src="/htdocs/debwiki/img/checkmark.png" title="(./)" width="16" /> <span class="anchor" id="line-56"></span></li><li><p class="line862">Maintain/update school coordinates <img alt="(./)" height="16" src="/htdocs/debwiki/img/checkmark.png" title="(./)" width="16" /> <span class="anchor" id="line-57"></span></li><li><p class="line862">(Re-)Draw maps <img alt="(./)" height="16" src="/htdocs/debwiki/img/checkmark.png" title="(./)" width="16" /> <span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span></li></ul><p class="line867"> <h2 id="Milestones">Milestones</h2> <span class="anchor" id="line-60"></span><p class="line867"><span class="anchor" id="line-61"></span><ul><li>Committed revision of make_map.pl that works with xplanet 1.x from Sarge. In the same turn, we switch from png to jpeg format, saving more than 50 percent of space. <span class="anchor" id="line-62"></span><ul><li><p class="line891"><a href="/ToDo"><strong class="highlight">ToDo</strong></a>: Make sure that all references to png files get adapted; remove png from svn. <img alt="(./)" height="16" src="/htdocs/debwiki/img/checkmark.png" title="(./)" width="16" /> <span class="anchor" id="line-63"></span><ul><li>Created hard links from png to jpg because there were some Norwegian pages linking to the png images! <span class="anchor" id="line-64"></span></li></ul></li></ul></li><li><p class="line862">Created <a class="http" href="http://skolelinux.no/slschools/worldmap.php?lang=en">worldmap.php</a> and <a class="http" href="http://skolelinux.no/slschools/euromap.php?lang=en">euromap.php</a>! -- <a href="/RalfGesellensetter">RalfGesellensetter</a> 2007-09-04 18:59:54 <span class="anchor" id="line-65"></span></li><li>Created charts and cartogram as php code, so most recent contents of the database is used <span class="anchor" id="line-66"></span></li><li>Created interactive openlayers.php, based on openstreetmap data. <span class="anchor" id="line-67"></span><span class="anchor" id="line-68"></span></li></ul><p class="line867"> <h2 id="Related">Related</h2> <span class="anchor" id="line-69"></span><ul><li>[:DebianEdu/Teams/SlSchools] <span class="anchor" id="line-70"></span></li></ul><p class="line867"> <h2 id="Notes">Notes</h2> <span class="anchor" id="line-71"></span><ul><li>Geosphere: The project didn't develop much further since 2004. It's under BSD license, by the way. Rendering surface textures seems out of question. <span class="anchor" id="line-72"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-73"></span><a href="/CategoryTeams">CategoryTeams</a> <span class="anchor" id="line-74"></span><span class="anchor" id="bottom"></span></div><div id="pagebottom"></div> </div> <div id="footer"> <p id="pageinfo" class="info" lang="en" dir="ltr">DebianEdu/Teams/Cartography (<a class="nbinfo" href="/DebianEdu/Teams/Cartography?action=info" rel="nofollow">last modified 2009-12-10 13:34:44</a>)</p> <ul id="credits"> <li>Debian <a href="https://www.debian.org/legal/privacy">privacy policy</a>, Wiki <a href="/Teams/DebianWiki">team</a>, <a href="https://bugs.debian.org/wiki.debian.org">bugs</a> and <a href="https://salsa.debian.org/debian/wiki.debian.org">config</a>.</li><li>Powered by <a href="https://moinmo.in/" title="This site uses the MoinMoin Wiki software.">MoinMoin</a> and <a href="https://moinmo.in/Python" title="MoinMoin is written in Python.">Python</a>, with hosting provided by <a href="https://www.man-da.de/">Metropolitan Area Network Darmstadt</a>.</li> </ul> </div> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10