KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
download.h
Go to the documentation of this file.
1 
7 /*
8  * $Id: download.h 17606 2014-09-26 01:09:51Z predoehl $
9  */
10 
11 #ifndef DOWNLOAD_H_TOPOFUSION_INCLUDED
12 #define DOWNLOAD_H_TOPOFUSION_INCLUDED
13 
14 namespace kjb
15 {
16 namespace TopoFusion
17 {
18 
20 struct tile_entry
21 {
22  int x;
23  int y;
24  char tileset;
25  char zone;
26 
28  tile_entry( int xx, int yy, char ts, char zz )
29  : x(xx),
30  y(yy),
31  tileset(ts),
32  zone(zz)
33  /* ,isLoading(ld), count(ct),next(nn) */
34  {}
35 
36 };
37 
53 int download_tile ( const tile_entry *entry, char *buffer, int bufsize );
54 
55 } // end namespace TopoFusion
56 }
57 
58 #endif /* DOWNLOAD_H_TOPOFUSION_INCLUDED */
char zone
UTM zone.
Definition: download.h:25
tile_entry(int xx, int yy, char ts, char zz)
ctor to fill in the fields
Definition: download.h:28
char tileset
also known as "type"
Definition: download.h:24
int y
northing
Definition: download.h:23
data structure for downloaded UTM tiles, like a pt
Definition: download.h:20
int x
easting
Definition: download.h:22
int download_tile(const tile_entry *entry, char *buffer, int bufsize)
download a 200x200 terraserver tile using the internet.
Definition: download.cpp:665