<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="metricconverter"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:60448033;
        mso-list-template-ids:67895327;
        mso-list-style-name:"1 \/ 1\.1 \/ 1\.1\.1";}
@list l0:level1
        {mso-level-tab-stop:18.0pt;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-text:"%1\.%2\.";
        mso-level-tab-stop:39.6pt;
        mso-level-number-position:left;
        margin-left:39.6pt;
        text-indent:-21.6pt;}
@list l0:level3
        {mso-level-text:"%1\.%2\.%3\.";
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        margin-left:61.2pt;
        text-indent:-25.2pt;}
@list l0:level4
        {mso-level-text:"%1\.%2\.%3\.%4\.";
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        margin-left:86.4pt;
        text-indent:-32.4pt;}
@list l0:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.";
        mso-level-tab-stop:126.0pt;
        mso-level-number-position:left;
        margin-left:111.6pt;
        text-indent:-39.6pt;}
@list l0:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.";
        mso-level-tab-stop:162.0pt;
        mso-level-number-position:left;
        margin-left:136.8pt;
        text-indent:-46.8pt;}
@list l0:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.";
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-54.0pt;}
@list l0:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.";
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        margin-left:187.2pt;
        text-indent:-61.2pt;}
@list l0:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\.";
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        margin-left:216.0pt;
        text-indent:-72.0pt;}
@list l1
        {mso-list-id:434981948;
        mso-list-template-ids:67895327;
        mso-list-style-name:"1 \/ 1\.1 \/ 1\.1\.1";}
@list l1:level1
        {mso-level-start-at:2;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level2
        {mso-level-text:"%1\.%2\.";
        mso-level-tab-stop:57.6pt;
        mso-level-number-position:left;
        margin-left:57.6pt;
        text-indent:-21.6pt;}
@list l1:level3
        {mso-level-text:"%1\.%2\.%3\.";
        mso-level-tab-stop:90.0pt;
        mso-level-number-position:left;
        margin-left:79.2pt;
        text-indent:-25.2pt;}
@list l1:level4
        {mso-level-text:"%1\.%2\.%3\.%4\.";
        mso-level-tab-stop:126.0pt;
        mso-level-number-position:left;
        margin-left:104.4pt;
        text-indent:-32.4pt;}
@list l1:level5
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.";
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        margin-left:129.6pt;
        text-indent:-39.6pt;}
@list l1:level6
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.";
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        margin-left:154.8pt;
        text-indent:-46.8pt;}
@list l1:level7
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.";
        mso-level-tab-stop:198.0pt;
        mso-level-number-position:left;
        margin-left:180.0pt;
        text-indent:-54.0pt;}
@list l1:level8
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.";
        mso-level-tab-stop:234.0pt;
        mso-level-number-position:left;
        margin-left:205.2pt;
        text-indent:-61.2pt;}
@list l1:level9
        {mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9\.";
        mso-level-tab-stop:270.0pt;
        mso-level-number-position:left;
        margin-left:234.0pt;
        text-indent:-72.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=FR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>Hello,<br>
<br>
I'm using linear referencing plugin developped by Martin Dobias<br>
I get an error when I try to calibrate a new route system:<br>
<br>
Traceback (most recent call last):<br>
File &quot;C:\Program Files\Quantum GIS
Mimas\python\plugins\linear_ref\dlgcalibrateroute.py&quot;, line <st1:metricconverter
ProductID="84, in" w:st="on">84, in</st1:metricconverter> onOK<br>
log = self.calibrateRoute(line_layer, line_name, points_layer, points_name,
points_measure, route_name)<br>
File &quot;C:\Program Files\Quantum GIS
Mimas\python\plugins\linear_ref\dlgcalibrateroute.py&quot;, line <st1:metricconverter
ProductID="221, in" w:st="on">221, in</st1:metricconverter> calibrateRoute<br>
calibration.calibration(roads, cal_points, progdlg, log)<br>
File &quot;C:\Program Files\Quantum GIS
Mimas\python\plugins\linear_ref\calibration.py&quot;, line <st1:metricconverter
ProductID="177, in" w:st="on">177, in</st1:metricconverter> calibration<br>
align_cal_points(cal_pts, roads, progdlg, log)<br>
File &quot;C:\Program Files\Quantum GIS
Mimas\python\plugins\linear_ref\calibration.py&quot;, line <st1:metricconverter
ProductID="217, in" w:st="on">217, in</st1:metricconverter> align_cal_points<br>
line_pnt, line_index = nearestPoint(Point(pnt.x, pnt.y), road.points)<br>
File &quot;C:\Program Files\Quantum GIS
Mimas\python\plugins\linear_ref\geom.py&quot;, line <st1:metricconverter
ProductID="164, in" w:st="on">164, in</st1:metricconverter> nearestPoint<br>
p1 = polyline[minI]<br>
TypeError: list indices must be integers<br>
<br>
Version de Python :<br>
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]<br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'>The error arrive at 9% process of step 4/5 &#8220;aligning
calibration point&#8221;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><br>
I would like to know if the error came from data or an other reason?<br>
I'm working with a large data set, and when I try the same action with a small
subset it works...<br>
<br>
Any help will be welcome<br>
<br>
Thanks</span></font><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-align:justify'><b><font size=1 face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;font-weight:bold'>Sylvain PIERRE</span></font></b><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify'><b><font size=1 face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;font-weight:bold'>CONSEIL GENERAL DU
BAS-RHIN<o:p></o:p></span></font></b></p>

<p class=MsoNormal style='text-align:justify'><font size=1 face=Verdana><span
style='font-size:8.0pt;font-family:Verdana'>Pôle Développement des Territoires<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-align:justify'><font size=1 face=Verdana><span
style='font-size:8.0pt;font-family:Verdana'>Direction de l'Espace Rural et de
l'Environnement<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-align:justify'><font size=1 face=Verdana><span
style='font-size:8.0pt;font-family:Verdana'>SERVICE DE L'ADMINISTRATION
GENERALE</span></font><o:p></o:p></p>

<p class=MsoNormal style='text-align:justify'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>Tél
: 03.88.76.68.88</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>