<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<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="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
p
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.e-mailsignaturechar
        {font-family:Calibri;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1661494964;
        mso-list-type:hybrid;
        mso-list-template-ids:-961251052 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1
        {mso-list-id:1870142632;
        mso-list-template-ids:1119359934;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Stanley,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I copied the entire C:\Python27\ folder
from my other PC, where I did not have liblas problems. Now everything seems to
work fine.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your help,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Andrej<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Stanley Wong
[mailto:s.wong@kucerainternational.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 20. september 2011 16:58<br>
<b><span style='font-weight:bold'>To:</span></b> Andrej Kobler<br>
<b><span style='font-weight:bold'>Cc:</span></b> liblas-devel@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Liblas-devel]
problem with reinstalling liblas in Python</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Andrej,<br>
<br>
>From what I gathered, osgeo4w-setup.exe installs its own python and liblas
module, and I do not know of a way to tell osgeo4w-setup which python to
install liblas.<br>
<br>
I had 4 copies of python in my computer (2 from ArcGIS installation and 2 for
my own use) before I installed osgeo4w.<br>
It would be much nicer if I can run my python scripts within the IDE (or in the
python versions I have been using), but I do not know how to do that. <br>
I am a beginner in liblas myself.<br>
Maybe someone in the forum can suggest a way to do that?<br>
<br>
There is a separate liblas installation download you can try:<br>
<a href="http://pypi.python.org/pypi/libLAS">http://pypi.python.org/pypi/libLAS</a><br>
It is on a previous version of liblas (1.6.0) but it looks for python versions
from the registry and prompts you which version you would like to install to.<br>
It had worked well for me on reading and writing LAS files until I needed to
add projection information to the LAS header.<br>
<br>
Stanley<o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'>
<hr size=2 width="100%" align=center id=zwchr>
</span></font></div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=3 color=black
face=Helvetica><span style='font-size:12.0pt;font-family:Helvetica;color:black;
font-weight:bold'>From: </span></font></b><font color=black face=Helvetica><span
style='font-family:Helvetica;color:black'>"Andrej Kobler"
<andrej.kobler@gozdis.si><br>
<b><span style='font-weight:bold'>To: </span></b>"Stanley Wong"
<s.wong@kucerainternational.com><br>
<b><span style='font-weight:bold'>Cc: </span></b>liblas-devel@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Sent: </span></b>Tuesday, September 20, 2011
10:32:26 AM<br>
<b><span style='font-weight:bold'>Subject: </span></b>RE: [Liblas-devel]
problem with reinstalling liblas in Python<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Stanley,</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>There is a python.exe in c:\OSGeo4W\bin\,
however it turns out that both C:\Program Files\pythonxy\ and in C:\Python27\
lack any files or folders named liblas. So it seems to me that after my second
python installation the OSGeo4W did not copy any liblas stuff into the python
folders. </span></font><font color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Would it help to delete the c:\OSGeo4W
folder and then run the osgeo4w-setup.exe again?</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Andrej</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;color:black;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;
color:black'> Stanley Wong [mailto:s.wong@kucerainternational.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 20. september 2011 14:49<br>
<b><span style='font-weight:bold'>To:</span></b> Andrej Kobler<br>
<b><span style='font-weight:bold'>Cc:</span></b> liblas-devel@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Liblas-devel]
problem with reinstalling liblas in Python</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'> <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'><br>
Andrej,<br>
<br>
Please check if you have a python.exe in c:\OSGeo4W\bin\<br>
If so, try this:<br>
1. Open OSGeo4W shell, then type in <br>
2. c:\OSGeo4W\bin\python.exe <your_script>.py<br>
<br>
<br>
Stanley</span></font><font color=black><span style='color:black'><o:p></o:p></span></font></p>
<div class=MsoNormal align=center style='text-align:center'><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'>
<hr size=2 width="100%" align=center id=zwchr>
</span></font></div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=3 color=black
face=Helvetica><span style='font-size:12.0pt;font-family:Helvetica;color:black;
font-weight:bold'>From: </span></font></b><font color=black face=Helvetica><span
style='font-family:Helvetica;color:black'>"Andrej Kobler"
<andrej.kobler@gozdis.si><br>
<b><span style='font-weight:bold'>To: </span></b>liblas-devel@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Sent: </span></b>Tuesday, September 20, 2011
5:27:01 AM<br>
<b><span style='font-weight:bold'>Subject: </span></b>[Liblas-devel] problem
with reinstalling liblas in Python</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Hi,</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>I have a problem with reinstalling liblas
in Python and any help would be much appreciated.</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Since I know next to nothing about
compilers, the recipe how to install liblas with Python (<a
href="http://liblas.org/osgeo4w.html" target="_blank"
title="blocked::http://liblas.org/osgeo4w.html">http://liblas.org/osgeo4w.html</a>)
was a life-saver for me. However I somehow succeeded in ruining my liblas installation
and I am unable to recreate it, even by following the exact same steps as the
first time. Short description of the situation:</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<ol style='margin-top:0cm' start=1 type=1>
<li class=MsoNormal style='color:black;mso-list:l0 level1 lfo3'><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial'>In
MS Windows XP I installed liblas on top of Pythonxy environment (<a
href="http://code.google.com/p/pythonxy/" target="_blank"
title="blocked::http://code.google.com/p/pythonxy/">http://code.google.com/p/pythonxy/</a>)
following the recipe. At this point liblas worked perfectly with Python.</span></font>
<o:p></o:p></li>
<li class=MsoNormal style='color:black;mso-list:l0 level1 lfo3'><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial'>Due
to some unrelated problems I had to remove Python (using Windows / Add and
remove programs). Unfortunately, after reinstalling Python and then
executing liblas command from OSGeo4W shell, Python could not find liblas,
reporting ImportError: No module named liblas. </span></font><o:p></o:p></li>
<li class=MsoNormal style='color:black;mso-list:l0 level1 lfo3'><font size=2
color=black face=Arial><span style='font-size:10.0pt;font-family:Arial'>I
got the same response from Python even after downloading and running the
OSGeo4W installer again. </span></font><o:p></o:p></li>
</ol>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Kind regards and big thanks for your
help,</span></font><font color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Andrej</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Courier New"><span
style='font-size:12.0pt;font-family:"Courier New";color:black'>------------------------------------------</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=2 color=black face="Courier New"><span
style='font-size:11.0pt;font-family:"Courier New";color:black'>Dr. Andrej
Kobler</span></font><font color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=2 color=black face="Courier New"><span
style='font-size:11.0pt;font-family:"Courier New";color:black'>Slovenian
Forestry Institute</span></font><font color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=2 color=black face="Courier New"><span
style='font-size:11.0pt;font-family:"Courier New";color:black'>Večna pot 2, SI
- 1000 Ljubljana, Slovenia</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=2 color=black face="Courier New"><span
style='font-size:11.0pt;font-family:"Courier New";color:black'>Phone +386 1
2007835</span></font><font color=black><span style='color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=black face=Helvetica><span
style='font-size:12.0pt;font-family:Helvetica;color:black'><br>
_______________________________________________<br>
Liblas-devel mailing list<br>
Liblas-devel@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/liblas-devel</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'> </span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>