|
◆ readosm_parse_f()
integer(kind=c_int) function readosm_parse_f |
( |
type(c_ptr), value |
osm_handle, |
|
|
type(c_ptr), value |
user_data, |
|
|
external integer(kind=c_int) function(type(c_ptr), value user_data, type(readosm_node) node), optional |
node_fnct, |
|
|
external integer(kind=c_int) function(type(c_ptr), value user_data, type(readosm_way) way), optional |
way_fnct, |
|
|
external integer(kind=c_int) function(type(c_ptr), value user_data, type(readosm_relation) relation), 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_handle | the handle previously returned by readosm_open() |
user_data | user_data pointer to some user-supplied data struct |
Definition at line 557 of file readosm.F90.
|