⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manual.html

📁 A car navigation system for Unix and PocketPC.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<li>Compile the map building tools:<pre>      cd roadmap-&lt;version&gt;/src      make build</pre></li><li>Compile roadmap for the GTK, GTK2 or the QTtoolkit:<pre>      make DESKTOP=GTK    -- if using the GTK 1.2 toolkit      make DESKTOP=GTK2   -- if using the GTK 2.0 toolkit      make DESKTOP=GPE    -- if using GPE with the GTK 2.0 toolkit      make DESKTOP=QT     -- if using the QT toolkit      make DESKTOP=QPE    -- if using the QT/QPE toolkit</pre><p>If you wantto build all three versions of RoadMap (GTK, GTK2 and QT), justtype:</p><pre>      make       -- This replaces steps 3 and 4.</pre><p><b>Notefor QT users</b>: the RoadMap QT module is built with QT3 by default, butrequires the QT2 compatibility headers.</p><p><b>Note for developpers</b>:using the option MODE=DEBUG causes RoadMap to be compiled in debugmode.</p></li><li>download some maps from the US Censusbureau:<p><a href="http://www.census.gov/geo/www/tiger/tiger2002/tgr2002.html">http://www.census.gov/geo/www/tiger/tiger2002/tgr2002.html</a></p><p>Thisdownload can be automated by using the shell scriptroadmap/src/rdmdownload:</p><pre>      rdmgenmaps &lt;tiger-path&gt; [&lt;state-symbol&gt; ..]</pre><p><b>CAUTION</b>:the command above downloads the tiger 2002 files. to download the tiger 2000files, use the <b>format</b>option:</p><pre>      rdmgenmaps &lt;tiger-path&gt; format=2000 [&lt;state-symbol&gt; ..]</pre></li><li>download the list of counties from the US Censusbureau:<p><a href="http://www.census.gov/geo/tigerline/app_a02.txt">http://www.census.gov/geo/tigerline/app_a02.txt</a></p><p>(Aversion of app_a02.txt is also provided in directory src.)</p></li><li>Build themaps:<pre>      rdmgenmaps &lt;tiger-path&gt; [maps=&lt;map-path&gt;]</pre><p>Thiscommand processes all the Census Bureau files found in <i>tiger-path</i> andcreates the map files for RoadMap in the <i>map-path</i> directory. There isone map file generated for eachcounty.</p><pre>      rdmgenmaps &lt;tiger-path&gt; [maps=&lt;map-path&gt;] &lt;county&gt; ..</pre><p>Thisother command processes only the listed counties. The county shall beidentified by its FIPS (e.g. 06075 for San francisco,CA).</p><p><b>CAUTION</b>: the description above assumes the tiger 2002format. use the option <b>format=2000</b> to convert tiger 2000 files. Forexample:</p><pre>      rdmgenmaps &lt;tiger-path&gt; format=2000 [maps=&lt;map-path&gt;]</pre><p>Therdmgemaps tool is a shell script that extract the TIGER files from thedownloaded ZIP files, invokes the buildmap tool and then cleans up the TIGERfiles. Last, rdmgemaps invokes the buildus tool to generate the US states&amp; counties catalog. The main purpose of rdmgemaps is really to keep theTIGER files in compressed form, considering their huge size..</p><p>The<b>buildmap</b> tool takes a county &quot;FIPS&quot; and a TIGER file as inputand produces one RoadMap .rdm map file. The tool uses the popt library forparsing the command line arguments: the option --help gives more informationabout the available options.</p><p>Here is anexample:</p><pre>      buildmap 01001 /tmp/TGR01001.RT1</pre><p>The<b>buildus</b> tool creates a catalog of maps that is used by RoadMap tocombine all states &amp; counties into a giant US map. It looksfor:</p><ol style="list-style-type: lower-alpha"><li>the file AllSt.txt and</li><li>the various existing RoadmMap maps.</li></ol><p>This is not a problem if the catalog references a map file that doesnot exists: this way it is possible to store locally only a small portion ofthe US maps. This is useful when using a PDA with limited storage space (likethe iPAQ).</p><p>The buildus tool also uses popt for parsing the command linearguments: the option --help gives more information about the availableoptions.</p></li><li>run make to installroadmap:<pre>      cd gtk        -- or gtk2 or qt, depending on your preferences.      make install      cd ..</pre><p>This last step installs the RoadMap executables. Theseexecutables and the maps should have been generated at their proper locationin steps 3 to 8. The install is not required for running RoadMap: the programsand build tools) can run from the local directory as well.</p></li></ol><h2><a id="id.s3.6" name="id.s3.6">3.6 </a>A NOTE ABOUT THE ROADMAPICONS<a href="#id.toc"><img src="apt_toc.gif" border="0" width="30" height="11" alt="Contents"></a></h2><p>The RoadMap toolbar uses road signs as icons. These icons come with theapplication (in directory src/icons). The icon source set is made of a mix ofPNG and XPM files. The final icon files must all be PNG.</p><p>A make scriptbuilds all the necessary files using the ImageMagick package. The icon filesare built (or installed) when building (or installing) RoadMap.</p><p>The PNGicon files must be installed in one of the following directories (the orderbelow reflects the search order):</p><pre>      ~/pixmaps      /usr/local/share/pixmaps      /usr/share/pixmaps</pre><h1><a id="id.s4" name="id.s4">4 </a>ROADMAPAPPLICATIONS<a href="#id.toc"><img src="apt_toc.gif" border="0" width="30" height="11" alt="Contents"></a></h1><p>RoadMap includes the following applications:</p><dl compact><dt><b>roadmap</b></dt><dd>This is the main application. It displays the map and can keep track ofthe current GPS position. Depending on which toolkit you use, this will beroadmap/src/gtk/gtkroadmap, roadmap/gtk2/gtkroadmap orroadmap/src/qt/qtroadmap (zroadmap on the Zaurus).</dd><dt><b>roadgps</b></dt><dd>A very handy GPS console, inspired by the Garmin satellite status page,with a NMEA log capability. Thanks to gpsd, roadgps and roadmap can be activeat the same time. Depending on which toolkit you use, this will be namedroadmap/src/gtk/gtkroadgps, roadmap/gtk2/gtkroadgps orroadmap/src/qt/qtroadgps (zroadgps on the Zaurus).</dd><dt><b>buildmap</b></dt><dd>A program that takes the US Census Bureau files as input and produces themap files used by roadmap. This application is to be run once on a desktop orbeefed-up laptop to prepare the map files and is not needed when usingroadmap.</dd><dt><b>buildus</b></dt><dd>A program that takes a set of roadmap map files and produce a directoryfile that helps roadmap choose the map(s) to display according to the locationor city. This application is to be run once on a desktop or laptop and is notneeded when using roadmap.</dd><dt><b>dumpmap</b></dt><dd>Display the data tables from a map file. This application is used fordebug purposes only and is not needed when using roadmap.</dd><dt><b>rdmgenmaps</b></dt><dd>A script to simplify the generation of the maps.</dd></dl><h1><a id="id.s5" name="id.s5">5 </a>USINGROADMAP<a href="#id.toc"><img src="apt_toc.gif" border="0" width="30" height="11" alt="Contents"></a></h1><h2><a id="id.s5.1" name="id.s5.1">5.1 </a>COMMAND LINE<a id="options" name="options">OPTIONS</a><a href="#id.toc"><img src="apt_toc.gif" border="0" width="30" height="11" alt="Contents"></a></h2><p>The options marked as &quot;sticky&quot; remain in effect the next timeRoadMap is run. The use of the option actually changes the specified RoadMappreferences item.</p><p>The RoadMap application accepts the following commandline options:</p><dl compact><dt><b>--location=<i>LONGITUDE,LATITUDE</i></b></dt><dd>Set the location point (see menu entry View/Show Location..). This optionis sticky (preference item Locations.Location=<i>LONGITUDE,LATITUDE</i>).</dd><dt><b>--metric</b></dt><dd>Use the metric system for all units. This option is sticky (preferenceitem General.Unit = &quot;metric&quot;).</dd><dt><b>--imperial</b></dt><dd>Use the imperial system for all units. This option is sticky (preferenceitem General.Unit = &quot;imperial&quot;).</dd><dt><b>--no-area</b></dt><dd>Do not show the polygons (parks, hospitals, malls, airports, etc..).</dd><dt><b>-geometry=<i>WIDTHxHEIGHT</i></b></dt><dd>See option --geometry=<i>WIDTHxHEIGHT</i>.</dd><dt><b>--geometry=<i>WIDTHxHEIGHT</i></b></dt><dd>Sets the geometry for the RoadMap main window.</dd><dt><b>--geometry:<i>WINDOW</i>=<i>WIDTHxHEIGHT</i></b></dt><dd>Set the geometry of a specific RoadMap window, according to its title.--geometry:Main=<i>WIDTHxHEIGHT</i> is equivalent to--geometry=<i>WIDTHxHEIGHT</i>. If the window's title includes any space,dashes can be used in place of the spaces (the goal here is to be shellfriendly). This option is sticky (preference item Geometry.<i>WINDOW</i> =<i>WIDTHxHEIGHT</i>).</dd><dt><b>--no-toolbar</b></dt><dd>Do not show the toolbar. This option is sticky (preference itemGeneral.Toolbar = &quot;no&quot;).</dd><dt><b>--no-icon</b></dt><dd>Do not show any icon, i.e. keep as much space as possible for the map.This option is sticky (preference item General.Icons = &quot;no&quot;).</dd><dt><b>--square</b></dt><dd>Show squares boundaries as grey boxes. This option is for debug purposeonly.</dd><dt><b>--gps=<i>URL</i></b></dt><dd>Use a specific GPS source. This option is not sticky: it overrides thepreferences setting this time, but the preferences setting is not modified.The main use of this option is to rerun GPS logs created using roadgps.</dd><dt><b>--debug</b></dt><dd>Print all informational and debug traces.</dd><dt><b>--verbose</b></dt><dd>Print all informational traces.</dd><dt><b>--help</b></dt><dd>Show a description of all command line options.</dd></dl><h2><a id="id.s5.2" name="id.s5.2">5.2 </a>GETTINGHELP<a href="#id.toc"><img src="apt_toc.gif" border="0" width="30" height="11" alt="Contents"></a></h2><p>The main RoadMap window includes a &quot;Help&quot; menu. This help can beused to display various topics from this document. The help text is actuallyan HTML version of this file, shown using a web brower. The default browser is&quot;dillo&quot;, but this default can be changed in the user's preferences(see section PREFERENCE ITEMS).</p><h2><a id="id.s5.3" name="id.s5.3">5.3</a>THE ROADMAPDISPLAY<a href="#id.toc"><img src="apt_toc.gif" border="0" width="30" height="11" alt="Contents"></a></h2><p>The main RoadMap window shows the menu, the toolbar and the map's canvas.The toolbar is optional: all the commands are also available from the menu baror from the keyboard or iPAQ buttons.</p><p>When RoadMap starts, the map viewreflects the previous session's mode If no session data is found, RoadMaptracks the current GPS position. It is possible to select another mode: showthe current destination point (see the section &quot;Managing Trips&quot;below), show a specific location, track the GPS position with the north shownup, track the GPS position with the direction of movement shown up.</p><p>WhenRoadMap is in GPS tracking mode, the map view will reflect the movement of thecar so that the GPS sprite will remains at the predefined position (usuallythe center, but it is possible to move the position of the GPS sprite usingthe arrow keys). The map can be held to its current position: the hold command&quot;freezes&quot; the map view to its current location, but updates willcontinue, so that, for example, one should see the GPS sprite move away fromthe map's center. The hold mode make it easy to select streets and read streetnames while on the road. To come back to the original map view, this view mustbe reselected (for example by using the menu command Find / GPS position orthe &quot;G&quot; toolbar button).</p><p>Clicking on the map screen displaysthe name of the closest street (with the selected street block's range ofaddress), road or freeway (if any). This display is shown for a limited amountof time (see preference &quot;Highlight.Duration&quot;).</p><p>RoadMapindicates the current street a few seconds after the GPS position reached thestreet. This display is also shown for a limited time. There are severalcriteria used by RoadMap to &quot;lock&quot; on a street: the distance to thestreet (the closest the better, not more than the value set withAccuracy.Street), the direction of the street compare to the direction of thevehicule or if the street is connected to the current &quot;locked&quot;street. RoadMap uses fuzzy logic to combine these criteria into one singlevalue. None of the fuzzyfied values for the distance and direction may bebelow the value set by Accuracy.Confidence, or else the street is notselected. The final fuzzy value must also be above the same limit. RoadMapthen selects the street with the highest fuzzy value.</p><p>RoadMap can alsodisplay 3 messages at the following corners of the map: bottom left, bottomright and top right (the top left corner is already used to show theorientation of the map). These messages can be defined by the user usingRoadMap's specific format strings (see section &quot;Configuring the RoadMaptext and voice messages&quot;).</p><h2><a id="id.s5.4" name="id.s5.4">5.4</a><a id="voice" name="voice">VOICE</a>INTERFACE<a href="#id.toc"><img src="apt_toc.gif" border="0" width="30" height="11" alt="Contents"></a></h2><p>If the flite program has been installed, or if RoadMap was configured foran available speech application, RoadMap will complement the screeninformation with an audio one: Roadmap will &quot;tell&quot; the name of thestreet on the audio output device. As a general rule, RoadMap tries not torepeat the same message again, as frequent audio messages tend to border onthe irritating side. Thus if the same street is selected more than once, thescreen information will be displayed each time, but the voice messge will beprovided only once. As voice messages tend to take a significant time to beproduced, RoadMap memorizes the latest message requested while the currentmessage was produced and will 'air&quot; it after the current message has beencompleted. Only one message is stored that way, the last requested one: anymessage generated in between is ignored.</p><p>It is possible to mute theRoadMap's voice, using the File / Mute Voice item from the menu bar. The voice

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -