4 function formatOSMType($sType, $bIncludeExternal = true)
 
   6     if ($sType == 'N') return 'node';
 
   7     if ($sType == 'W') return 'way';
 
   8     if ($sType == 'R') return 'relation';
 
  10     if (!$bIncludeExternal) return '';
 
  12     if ($sType == 'T') return 'way';
 
  13     if ($sType == 'I') return 'way';