[Liblas-devel] Georeferencing LAS files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Liblas-devel] Georeferencing LAS files

Carlos Piury
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!

 


_______________________________________________
Liblas-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/liblas-devel
Loading...