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

Last change on this file since 34318 was 21287, checked in by jonb, 9 years ago

coastcheck: Improve accuracy of processing, previously the data was rounded to +-2m by the float precision, using a double fixes this, at the expense of a little more memory.

File size: 357 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    double lon;
10    double 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.