[Liblas-devel] how to link libgeotiff in python?

Stanley Wong s.wong at kucerainternational.com
Fri Aug 19 09:44:52 EDT 2011


Thanks for your response, Will. 

My problem is that I am not getting any projection information back from the srs object. 
I have 2 test files, one I created using las2las to define a UTM projection. The other test file came from a client. 
For both files, srs methods wkt, get_wkt(), proj4, get_proj4() all returned empty string to me. 
That caused me to think I am missing a module or a library. 

Do you have any suggestions on what I might be missing here? 

Thanks, 

Stanley 

----- Original Message -----

From: "William Angley [USA]" <angley_william at bah.com> 
To: "Stanley Wong" <s.wong at kucerainternational.com>, liblas-devel at lists.osgeo.org 
Sent: Thursday, August 18, 2011 5:52:16 PM 
Subject: RE: [Liblas-devel] how to link libgeotiff in python? 



Hi Stanley, 

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. 

Try continuing with the tutorial and let us know if you run into any problems. 


-- Will 



From: liblas-devel-bounces at lists.osgeo.org [mailto:liblas-devel-bounces at lists.osgeo.org] On Behalf Of Stanley Wong 
Sent: Thursday, August 18, 2011 5:23 PM 
To: Liblas-devel at lists.osgeo.org 
Subject: [Liblas-devel] how to link libgeotiff in python? 


Hi, 

I am trying to add in the projection information using Python. 
In the tutorial, it mentioned that to use srs.proj4, " [it] only works if you have libgeotiff and/or GDAL linked in". 
I have gdal python module, but I could not find an "libgeotiff" python module. 
So how do I do what the tutorial is suggesting? 

Thanks, 

Stanley 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/liblas-devel/attachments/20110819/cd8f4611/attachment.html


More information about the Liblas-devel mailing list