#include <PalmOS.h>
#include <PalmCompatibility.h>
#include "stringil.h"
#include "MapForm.h"
#include "georef.h"
#include "geo.h"
#include "file_io.h"
#include "getdir.h"
#include "imginfo.h"
#include "common.h"
Include dependency graph for georef.c:
Go to the source code of this file.
Functions | |
Boolean | georef_filename (const Char *filename, double *map_lat, double *map_lon, UInt32 *map_scale) |
Get the map parameters SCALE, LAT and LON from the filename. | |
Boolean | search_map (char *filename, UInt32 *card, double lon, double lat, UInt16 maxx, UInt16 maxy) |
Search for usable map. | |
Variables | |
PrefsType | gPrefs |
Preferences data structure. | |
Boolean | gVfsManagerFtr |
VFS Feature Set available. |
|
Get the map parameters SCALE, LAT and LON from the filename.
Definition at line 90 of file georef.c. Referenced by MapFormHandleEvent(), and search_map(). |
|
Search for usable map.
Definition at line 247 of file georef.c. References calcxy(), CreateDatabase(), CROSS_X, CROSS_Y, DestroyDatabase(), fclose(), FILEDIR, fopen(), georef_filename(), getdir(), getdir_vfs(), gPrefs, gVfsManagerFtr, h, imginfo(), PrefsType::mapprefs, memcpy(), MapPrefsType::scale, scratch, SORTPREFIX, StrCopy, and w. Referenced by MapFormHandleEvent(). |
|
Preferences data structure.
|
|
VFS Feature Set available.
|