readosm  1.0.0b
 All Data Structures Files Functions Variables Typedefs Macros Pages
Data Fields
readosm_node_struct Struct Reference

a struct representing a NODE object, and wrapping a complex XML fragment like the following: More...

#include <readosm.h>

Collaboration diagram for readosm_node_struct:
Collaboration graph
[legend]

Data Fields

const long long id
 NODE-ID (expected to be a unique value)
 
const double latitude
 geographic latitude
 
const double longitude
 geographic longitude
 
const int version
 object version
 
const long long changeset
 ChangeSet ID.
 
const char * user
 name of the User defining this NODE
 
const int uid
 corresponding numeric UserID
 
const char * timestamp
 when this NODE was defined
 
const int tag_count
 number of associated TAGs (may be zero)
 
const readosm_tagtags
 array of TAG objects (may be NULL)
 

Detailed Description

a struct representing a NODE object, and wrapping a complex XML fragment like the following:

<node id="12345" lat="6.66666" lon="7.77777" version="1" changeset="54321" user="some-user" uid="66" timestamp="2005-02-28T17:45:15Z">
        <tag key="created_by" value="JOSM" />
        <tag key="tourism" value="camp_site" />
</node>
Examples:
test_osm1.c, test_osm2.c, and test_osm3.c.

The documentation for this struct was generated from the following file: