This directory, com/c5corp/DEMconvert/filters, which is also the java package:

com.c5corp.DEMconvert.filters

should only contain classes that are children of:

com.c5corp.DEMconvert.c5demAbstractFilter.

The c5demAbstractFilter specifies the following abstract methods:

	// method for output of metadata
	public void writeHeader(Dem dem, PrintWriter out);

	// method for output of the formated data
	public void writeData(Dem dem, PrintWriter out);
	
	// method returns information regarding the purpose of the filter
	public abstract String getFilterInfo();	
	
By extending c5demAbstractFilter to create a concrete class providing the above methods,
and using the following package statement,

package com.c5corp.DEMconvert.filters;

you can create custom output filters that will automatically be loaded
by the C5 DEM tools interface.

The source for sample_filter.java is included as sample code. It is not necessary
for your filters to have a main method. sample_filter.java is designed to allow 
command line usage, which is not required of c5demAbstractFilter or its children.


c5demAbstractFilter has three other methods, all of which may be overridden if you choose:

1)

protected static PrintWriter openOutputFile(String out_filename);

It is intended for use with contemporary DEM type A record 1 one information, 
truncating everything after the first ',' (comma), replacing spaces with 
the '_' (underscore) character, and adding the .dat extension. Thus creating 
a filename from the information in the DEM representing the map name.

2)

public String getOutputPath();
This method returns a relative path describing where in the file system to write
the output. Override this to inform you filter where files should be written.

3)

public String toString(); 
Simply overrides toString() of Object...


NOTES for C5UTM DB 1.0:
add2c5utm.java will be added as a filter to the standard distribution. As of now, it is a 
command line tool for adding points to the older experimental C5UTM db. Needs to be massively
rewritten and turned into a filter.

The capabilites if the following will be built into Dem2c5tum.java.

The following will be part of the demtool 1.0.2 distribution, and are unaltered from demtool 1.0.1

com/c5corp/DEMconvert/filters/C5UTM10to30meter.java
com/c5corp/DEMconvert/filters/Corpscon10to30meter.java
com/c5corp/DEMconvert/filters/CorpsconBatch.java
com/c5corp/DEMconvert/filters/CorpsconBatchXY.java
com/c5corp/DEMconvert/filters/Dem2C5Utm.java
com/c5corp/DEMconvert/filters/SampleFilter.java

These were all renamed for 1.0.3

New to 1.0.3
com/c5corp/DEMconvert/filters/Dem2C51Kgrid.java
