Package uk.me.parabola.imgfmt.app

Application files

See:
          Description

Interface Summary
ImgFileReader For reading subfiles from the img.
ImgFileWriter I want to be able to experiment with different schemes to write out.
Writeable Interface that can be implemented by objects that write to an ImgFile.
 

Class Summary
Area A map area in map units.
BitReader  
BitWriter A class to write the bitstream.
BufferedImgFileReader Read from an img file via a buffer.
BufferedImgFileWriter A straight forward implementation that just keeps all the data in a buffer until the file needs to be written to disk.
CommonHeader The header that is common to all application files within the .img file.
Coord A point coordinate in unshifted map-units.
CoordNode A coordinate that is known to be a routing node.
Exit Represent a motorway exit
ImgFile Base class for all the img files.
ImgReader Base class for all the img sub file reading classes.
Label Labels are used for names of roads, points of interest etc.
Section Represents an item size the position where those items start and the total size of the section.
SectionWriter A section writer wraps a regular writer so that all the offsets are relative to the start of a section.
 

Package uk.me.parabola.imgfmt.app Description

Application files

This package and its subpackages contain the application files that appear in the IMG file-system.

The files that will be supported are

TRE
The tree view of the map that is needed to make sense of the rest of the file. A map is divided into a number of different levels of detail. At each level of detail it is divided into a number of areas (called sub-divisions here. In general there will be more sub-divisions at the better zoom levels. Each subdivision points to the ones in the zoom level below it.
RGN
This file contains the definitions of the points, lines and polygons. They have to be read in conjunction with the TRE section however, as they don't make sense by themselves.
LBL
This file contains all the text lables. Other files refer to the labels that are defined in this file.