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

Last change on this file since 15536 was 9265, checked in by jonb, 12 years ago

osm2pgsql: Move type definitions to a more appropriate location

File size: 369 bytes
Line 
1/* Data types to hold OSM node, segment, way data */
2
3#ifndef OSMTYPES_H
4#define OSMTYPES_H
5
6enum OsmType { OSMTYPE_WAY, OSMTYPE_NODE, OSMTYPE_RELATION };
7
8struct osmNode {
9    double lon;
10    double lat;
11};
12
13struct member {
14    enum OsmType type;
15    int id;
16    char *role;
17};
18
19
20/* exit_nicely - called to cleanup after fatal error */
21void exit_nicely(void);
22
23#endif
Note: See TracBrowser for help on using the repository browser.