FortranGIS  Version2.5
Public Attributes | List of all members
readosm_way Type Reference

Object describing a WAY structure. More...

Public Attributes

integer(kind=c_long_long) id
 WAY-ID (expected to be a unique value) More...
 
integer(kind=c_int) version
 object version More...
 
integer(kind=c_long_long) changeset
 ChangeSet ID. More...
 
type(c_ptr) user
 name of the User defining this WAY More...
 
integer(kind=c_int) uid
 corresponding numeric UserID More...
 
type(c_ptr) timestamp
 when this WAY was defined More...
 
integer(kind=c_int) node_ref_count
 number of referenced NODE-IDs (may be zero) More...
 
type(c_ptr) node_refs
 array of NODE-IDs (may be NULL) More...
 
integer(kind=c_int) tag_count
 number of associated TAGs (may be zero) More...
 
type(c_ptr) tags
 array of TAG objects (may be NULL) More...
 

Detailed Description

Object describing a WAY structure.

A derived type representing a WAY object, wrapping a complex XML fragment like the following:

 <way id="12345" version="1" changeset="54321" user="some-user" uid="66" timestamp="2005-02-28T17:45:15Z">
        <nd ref="12345" />
        <nd ref="12346" />
        <nd ref="12347" />
        <tag key="created_by" value="JOSM" />
        <tag key="tourism" value="camp_site" />
 </way>

Definition at line 140 of file readosm.F90.