[Liblas-devel] Georeferencing LAS files

Carlos Piury dgpiury at gmail.com
Wed Jan 28 02:46:24 PST 2015


Hi, I am trying to add simple georeferecing information to my LAS files
with:

   liblas::SpatialReference srs;
   srs.SetFromUserInput("EPSG:4326");

   header.SetSRS(srs);

But when I try to read it with lasinfo I get None:

  Spatial Reference:           None


If I print out the proj4 string it works well:

code:         std::cout << srs.GetProj4() << endl;
output:       +proj=longlat +datum=WGS84 +no_defs

However if I can read other las files not writed by me using lasinfo so I
think that the problem is in the code...


Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/liblas-devel/attachments/20150128/0f08ebc1/attachment.html>


More information about the Liblas-devel mailing list