|
navit 0.5.3-trunk
|
#include <string.h>#include <glib.h>#include <ctype.h>#include "coord.h"#include "debug.h"#include "projection.h"Data Structures | |
| struct | projection_name |
Functions | |
| static int | utmref_letter (char l) |
| enum projection | projection_from_name (const char *name, struct coord *utm_offset) |
| char * | projection_to_name (enum projection proj) |
Variables | |
| struct projection_name | projection_names [] |
| enum projection projection_from_name | ( | const char * | name, |
| struct coord * | utm_offset | ||
| ) |
Look up a projection by name.
| name | name of projection to look up (values from projection_names, and UTM projections) @utm_offset Only for UTM projections: Used to return the offset for the UTM projection |
References dbg, lvl_debug, lvl_error, name, projection_names, projection_none, projection_utm, utmref_letter(), coord::x, and coord::y.
Referenced by coord_parse(), and map_new_shapefile().
| char * projection_to_name | ( | enum projection | proj | ) |
References projection_name::name, and projection_names.
Referenced by bookmarks_store_bookmarks_to_file(), coord_print(), and write_former_destinations().
|
static |
Referenced by projection_from_name().
| struct projection_name projection_names[] |
Referenced by projection_from_name(), and projection_to_name().