chart_rule_generator

Languages
Python 2.4+
Version
1.0.0

The chart_rule_generator creates PDFs containing a nautical mile scale and a lookup table (aligned with the scale) for the time taken to fly a given distance for a set of speeds.

The rule is designed for use on aviation charts and, suitably cropped and laminated, can be used to quickly measure distances and the time to cover said distance in flight; without having to resort to mental arithmetic or a whizz wheel.

By default the rule is for a 1:500,000 scale chart and goes from 0 to 50 nautical miles. The speeds on the look up table go from 60 to 120 kts in 10 kt increments.

Please note that while the PDF produced is as accurate as possible, there may be some scaling factor applied to the printed output by your printer driver, the printer itself or the choice of paper used for printing (currently the generator always produces A4 output). Make sure you compare the rule's scale with a known accurate scale before using it.


Dependencies

The chart_rule_generator requires:


Usage

The generator is driven by a configuration file. This file specifies the layout of the chart (e.g. number of nautical miles on rule, speeds on lookup) and how it looks (e.g. font used, font size, colours/shading on rule).

To generate a default configuration file, use the "--create" option ...

$ chart_rule_generator --create=myconfig.cfg

This file can then be passed in to the generator using the "--input" options to create a chart; in this case "mychart.pdf" ...

$ chart_rule_generator --input=myconfig.cfg --output=mychart.pdf

The "mychart.pdf" file can now be opened using your PDF reader of choice and printed out.

The configuration file contains comments on each entry and can easily be configured to suit your needs. Just remember to leave the "[chart]" section heading untouched, otherwise the generator will not be able to find your settings.


Known Issues

  • The generator is currently limited to producing charts on A4 (8.3" x 11.7") paper. If printing on to other paper sizes, be careful that the output isn't rescaled.
  • No support for double-sided charts. It is possible to produce double-sided charts; but this must be done via manual duplex printing or by sticking two equally sized charts back-to-back.


Installation

The chart_rule_generator uses the standard Python distribution utilities. So it should just be a case of uncompressing the archive and running:

./setup.py install

Obviously the user running this must have sufficient permissions to create a file in the install directory.


Examples

Default Chart Default Chart
Default chart: 50nm, 60-120kts More colourful chart: 30nm, 70-100kts
Default Chart
A 1:250,000 chart: 25nm, 110-160kts

Recent News

Project uploaded (2007-09-30 17:24:44 vrai)
The initial release of the chart_rule_generator is now available for download.

Project Files

Click on the file name to download the file. Some browsers may require you to right-click on the file and select "Save Link As".
Version File Description MD5
1.0.0 chart_rule_generator-1.0.0.tar.gz Initial release. f537f9451d386d6ddd3c5bb272f88384
1.0.0 chart_rule_generator-1.0.0.tar.bz2 Initial release. 1ab92a6952132ae3486cd8cea655f234

Navigation

Software Projects


Assorted Scripts - things that don't warrant a whole project but might be useful to someone.

Site hosted by Linode: using Apache, PHP, MySQL and Propel.

Site created using Eclipse PDT and OS X.

Site design and original content Copyright © Vrai Stacey. Unless otherwise stated, source code contained on this site is published under the GNU Public License (GPL).

Valid XHTML PHP Powered No Software Patents