geo_init.c File Reference

#include <grass/geo.h>
#include <grass/gis.h>

Include dependency graph for geo_init.c:

Go to the source code of this file.

Functions

int G_geo_init_table (void)
int G_geo_get_proj_index (char *str)

Variables

struct conv_fact UNITS [NUNITS]
const char DESC [NOPTIONS][63]
struct opt_req TABLE [NPROJES][NOPTIONS]


Function Documentation

int G_geo_get_proj_index ( char *  str  ) 

Definition at line 1461 of file geo_init.c.

References G_strcasecmp().

int G_geo_init_table ( void   ) 

Definition at line 137 of file geo_init.c.

References TABLE.


Variable Documentation

const char DESC[NOPTIONS][63]

Definition at line 86 of file geo_init.c.

struct opt_req TABLE[NPROJES][NOPTIONS]

Definition at line 135 of file geo_init.c.

Referenced by G_geo_init_table().

struct conv_fact UNITS[NUNITS]

Initial value:

 {
    
    
    {"meters", "meter", 1.0},
    {"feet", "foot", 0.3048},
    {"miles", "mile", 1609.344},
    {"inches", "inch", 2.540000e-02},
    {"centimeters", "centimeter", 0.01},
    {"nanometers", "nanometer", 1.000000e-09},
    {"microns", "micron", 1.000000e-06},
    {"angstroms", "angstrom", 1.000000e-10},
    {"decinanometers", "decinanometer", 1.000000e-10},
    {"yards", "yard", 0.9144},
    {"rods", "rod", 5.0292},
    {"lightyears", "lightyear", 9.460530e+15},
    {"USfeet", "USfoot", 0.30480060960121920243},
    {"USinches", "USinch", .02540005080010160020},
    {"USyards", "USyard", .91440182880365760731},
    {"USmiles", "USmile", 1609.34721869443738887477}


}

Definition at line 19 of file geo_init.c.


Generated on Sun Apr 6 17:32:19 2008 for GRASS by  doxygen 1.5.5