source: subversion/applications/utils/export/osm2pgsql/osmtypes.h @ 3210

Last change on this file since 3210 was 2827, checked in by jonb, 13 years ago

osm2pgsql - make experimental version current, move previous implementation to legacy

File size: 375 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    double lon;
9    double lat;
10};
11
12struct osmSegment {
13    int from;
14    int to;
15};
16
17struct osmSegLL {
18    double lon0;
19    double lat0;
20    double lon1;
21    double lat1;
22};
23
24/* exit_nicely - called to cleanup after fatal error */
25void exit_nicely(void);
26
27#endif
Note: See TracBrowser for help on using the repository browser.