FortranGIS  Version2.5
integer(kind=c_int) function readosm::readosm_parse_f ( type(c_ptr), value  osm_handle,
type(c_ptr), value  user_data,
optional  node_fnct,
optional  way_fnct,
optional  relation_fnct 
)

Parse the corresponding file calling the selected callbacks for every entity encountered.

This is the Fortran-friendly interface where callback functions are optional arguments (thus the keyword form is preferred if any of them is missing) and represent interfaced Fortran FUNCTIONS.

Returns
READOSM_OK will be returned on success, otherwise any appropriate error code on failure.
Parameters
osm_handlethe handle previously returned by readosm_open()
user_datauser_data pointer to some user-supplied data struct

callback function intended to consume WAY objects (may be NULL if processing WAYs is not an interesting option)

callback function intended to consume RELATION objects (may be NULL if processing RELATIONs is not an interesting option)

Definition at line 559 of file readosm.F90.