KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros | Functions
download.cpp File Reference

Code for handling DOQ tiles. More...

#include <l/l_sys_def.h>
#include <l/l_sys_std.h>
#include <l/l_sys_lib.h>
#include <l/l_sys_mal.h>
#include <l/l_sys_time.h>
#include <l/l_sys_tsig.h>
#include <l/l_error.h>
#include <l/l_global.h>
#include <l/l_debug.h>
#include <l_cpp/l_util.h>
#include <l_cpp/l_stdio_wrap.h>
#include <topo/master.h>
#include <topo_cpp/LatLong-UTMconversion.h>
#include <topo_cpp/download.h>
#include <iostream>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <netdb.h>
#include <vector>
#include <string>
#include <sstream>

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 
 kjb::TopoFusion
 this namespace hold structures and code written by Scott Morris.
 

Macros

#define TRACE(x)   KJB(TEST_PSE(x))
 

Functions

int kjb::TopoFusion::download_tile (const tile_entry *entry, char *buffer, int bufsize)
 download a 200x200 terraserver tile using the internet. More...
 

Detailed Description

Code for handling DOQ tiles.

Author
Scott Morris
Alan Morris
Andrew Predoehl
Todo:
use of socket headers and functions violates libkjb design philosophy.

Originally from TopoFusion.

Functions and structures for downloading image and elevation data from terraserver or the jpl nasa server

Functions "signed" with AMP are mine (Andy), all other code is the Morrises' modulo some maintenance and adaptation that I've done. This code requires Unix utility host(1) to be in the path.

Macro Definition Documentation

#define TRACE (   x)    KJB(TEST_PSE(x))

TopoFusion macro for debug