vkf_rocky_elevation Interface

interface


Called by

interface~~vkf_rocky_elevation~~CalledByGraph interface~vkf_rocky_elevation vkf_rocky_elevation proc~elevation TerrainBody%elevation proc~elevation->interface~vkf_rocky_elevation

public function vkf_rocky_elevation(uri, uri_len, profile, profile_len, lat, lon, ok) bind(C, name="vkf_rocky_elevation")

Arguments

Type IntentOptional Attributes Name
character(kind=c_char, len=1), intent(in), dimension(*) :: uri

the file, and the profile (as vkf_rocky_map_create)

integer(kind=c_int), value :: uri_len

the lengths of uri and profile

character(kind=c_char, len=1), intent(in), dimension(*) :: profile

the file, and the profile (as vkf_rocky_map_create)

integer(kind=c_int), value :: profile_len

the lengths of uri and profile

real(kind=c_double), value :: lat

latitude and longitude (degrees)

real(kind=c_double), value :: lon

latitude and longitude (degrees)

integer(kind=c_int), intent(out) :: ok

1 if there was data there

Return Value real(kind=c_double)

Description

The height (meters) of the elevation data in a file (GDAL) at a latitude and longitude on the body of a Rocky profile, sampled directly (no map or window needed; files are kept open for later samples).