[Liblas-devel] Vertical Coordinate Systems in LAS format

Mateusz Loskot mateusz at loskot.net
Tue Jan 12 05:10:55 EST 2010


Frank Warmerdam wrote:
> Guys,
> 
> Similar to Mateusz' suggestion I have implemented GetWKT() as:
> 
>     enum WKTModeFlag
>     {
>         eHorizontalOnly = 1,
>         eCompoundOK = 2
>     };
> 
>     /// Returns the OGC WKT describing Spatial Reference System.
>     /// If GDAL is linked, it uses GDAL's operations and methods to 
> determine
>     /// the WKT.  If GDAL is not linked, no WKT is returned.
>     /// \param mode_flag May be eHorizontalOnly indicating the WKT will not
>     /// include vertical coordinate system info (the default), or
>     /// eCompoundOK indicating the the returned WKT may be a compound
>     /// coordinate system if there is vertical coordinate system info
>     /// available.
>     std::string GetWKT( WKTModeFlag mode_flag = eHorizontalOnly ) const;

Frank,

It's exactly what I had in mind. I have never ever touched
VCS but sounds solid and scary :-) Thanks and kudos!

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the Liblas-devel mailing list