<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19328">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>i wrote a runner plugin to be able to import 
MapInfo Tab files.</FONT></DIV>
<DIV><FONT size=2 face=Arial>After finished i was wandering why some tab files 
are imported, others not.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The problem was simple:</FONT></DIV>
<DIV><FONT size=2 face=Arial>like other plugins i set:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2>
<P>QStringList TabImportPlugin::fileExtensions() </FONT><FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>const<BR></FONT></FONT><FONT 
size=2>{<BR></FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>    return</FONT></FONT><FONT size=2> QStringList() 
<< </FONT><FONT color=#a31515 size=2><FONT color=#a31515 
size=2>"tab"</FONT></FONT><FONT size=2>;<BR>}</P></FONT></DIV>
<DIV><FONT size=2 face=Arial>But if file extension is upper case (test.TAB), it 
failes to load</FONT></DIV>
<DIV><FONT size=2 face=Arial>in:</FONT></DIV>
<DIV><FONT size=2>
<P>MarbleRunnerManager::parseFile(...)<BR>{<BR>    </FONT><FONT 
size=2>QString </FONT><FONT color=#0000ff size=2><FONT color=#0000ff 
size=2>const</FONT></FONT><FONT size=2> suffix = 
fileInfo.suffix();<BR>}</FONT></P>
<P><FONT size=2>So i made a smal modifikation to:<BR>QString <FONT color=#0000ff 
size=2><FONT color=#0000ff size=2>const</FONT></FONT><FONT size=2> suffix = 
fileInfo.suffix().toLower();    </FONT><FONT color=#008000 
size=2><FONT color=#008000 size=2>//respect upper case 
extension</FONT></FONT></FONT></P>
<P><FONT size=2><FONT face=Arial>But if file Mabe some one like to add this 
to master repositiory.</FONT></FONT></P>
<P><FONT size=2><FONT face=Arial>Other question:<BR>In ElevationProfile plugin i 
am not clear about what are the values: m_gain and m_loss are exactly 
for?<BR>What are they describing?</FONT></FONT></P>
<P><FONT size=2 face=Arial>Last question:<BR>The hillshading tiles are set as 
texture in openstreetmap.dgml .<BR>We are creating special shading tiles during 
runtime, is it possible to<BR>add such texture layer during runtime?</FONT></P>
<P><FONT size=2 face=Arial>br, konrad</FONT></P></DIV></BODY></HTML>