Extracting info from spatial files