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

Object describing a RELATION structure. More...

Public Attributes

integer(kind=c_long_long) id
 RELATION-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 RELATION More...
 
integer(kind=c_int) uid
 corresponding numeric UserID More...
 
type(c_ptr) timestamp
 when this RELATION was defined More...
 
integer(kind=c_int) member_count
 number of associated MEMBERs (may be zero) More...
 
type(c_ptr) members
 array of MEMBER objects (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 RELATION structure.

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

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

Definition at line 197 of file readosm.F90.