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

Last change on this file since 29902 was 21287, checked in by jonb, 10 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
RevLine 
[6729]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;
[21287]9    double lon;
10    double lat;
[6729]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.