<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>Thanks for your response, Will.<br><br>My problem is that I am not getting any projection information back from the srs object.<br>I have 2 test files, one I created using las2las to define a UTM projection. The other test file came from a client.<br>For both files, srs methods wkt, get_wkt(), proj4, get_proj4() all returned empty string to me.<br>That caused me to think I am missing a module or a library.<br><br>Do you have any suggestions on what I might be missing here?<br><br>Thanks,<br><br>Stanley<br>
<br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"William Angley [USA]" <angley_william@bah.com><br><b>To: </b>"Stanley Wong" <s.wong@kucerainternational.com>, liblas-devel@lists.osgeo.org<br><b>Sent: </b>Thursday, August 18, 2011 5:52:16 PM<br><b>Subject: </b>RE: [Liblas-devel] how to link libgeotiff in python?<br><br>
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.go
        {mso-style-name:go;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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]-->
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Stanley,</span></a></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That line (somewhat confusingly) describes libraries you need to have linked into liblas at the C level, not at the Python level. At the Python level, it should
all automated away by the bindings.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Try continuing with the tutorial and let us know if you run into any problems.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-- Will</span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> liblas-devel-bounces@lists.osgeo.org [mailto:liblas-devel-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Stanley Wong<br>
<b>Sent:</b> Thursday, August 18, 2011 5:23 PM<br>
<b>To:</b> Liblas-devel@lists.osgeo.org<br>
<b>Subject:</b> [Liblas-devel] how to link libgeotiff in python?</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">Hi,<br>
<br>
I am trying to add in the projection information using Python.<br>
In the tutorial, it mentioned that to use srs.proj4, "<span class="go">[it] only works if you have libgeotiff and/or GDAL linked in".</span><br>
<span class="go">I have gdal python module, but I could not find an "libgeotiff" python module.</span><br>
<span class="go">So how do I do what the tutorial is suggesting?</span><br>
<br>
<span class="go">Thanks,</span><br>
<br>
<span class="go">Stanley</span></span></p>
</div>
</div>
</div><br></div></body></html>