vtdata library
Public Member Functions | Public Attributes | List of all members
Gazetteer Class Reference

Public Member Functions

bool ReadPlaces (const char *fname)
 
bool ReadZips (const char *fname)
 
bool FindPlace (const vtString &state, const vtString &place, DPoint2 &geo)
 
bool FindZip (int zip, DPoint2 &geo)
 

Public Attributes

std::vector< Place > m_places
 
std::vector< Zip > m_zips
 

Detailed Description

Reads the U.S. Census Gazetteer data files, and allows querying the data.