source: subversion/applications/utils/coastcheck/osmtypes.h @ 16767

Last change on this file since 16767 was 6729, checked in by martinvoosterhout, 12 years ago

Initial commit of the coastline checker. It's been used for a while now
successfully.

File size: 355 bytes
Line 
1/* Data types to hold OSM node, segment, way data */
2
3#ifndef OSMTYPES_H
4#define OSMTYPES_H
5
6
7struct osmNode {
8    int id;
9    float lon;
10    float lat;
11};
12
13struct osmWay {
14    int id;
15    int nds[1];  /* In actual usage it contains all the nodes, 0 terminated */
16};
17/* exit_nicely - called to cleanup after fatal error */
18void exit_nicely(void);
19
20#endif
Note: See TracBrowser for help on using the repository browser.