Techniques for Automatic Creation of Terrain Databases for Training and Mission Preparation