Skip to content

Instantly share code, notes, and snippets.

@chambbj
Created May 8, 2012 19:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chambbj/2638789 to your computer and use it in GitHub Desktop.
Save chambbj/2638789 to your computer and use it in GitHub Desktop.
libLAS SRS example
std::string proj_str ("+proj=utm +zone=19 +datum=WGS84");
liblas::SpatialReference srs;
srs.SetProj4(proj_str);
liblas::Header header;
header.SetSRS(srs);
liblas::Writer* writer = new liblas::Writer(ofs, header);
// do stuff...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment