osgearth处理大tiff文件:利用VPB工具构建静态四叉树,使用osgearth加载成为地形层

1.使用VPB工具处理tif

osgdem -t image.tif --wkt-file wkt.prj -l 20 --PagedLOD -o tj_out.ive

2.osgearth加载earth文件


               
    
        tj_out.ive
        20
        20
                
                        PROJCS["Beijing_1954_3_degree_Gauss_Kruger_CM_111E",GEOGCS["GCS_Beijing 1954",DATUM["D_Beijing_1954",SPHEROID["Krasovsky_1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","2434"]]
                        592462.903
                        612708.420
                        3155407.106
                        3169627.225
                
		task

    

    

        

                
                        PROJCS["Beijing_1954_3_degree_Gauss_Kruger_CM_111E",GEOGCS["GCS_Beijing 1954",DATUM["D_Beijing_1954",SPHEROID["Krasovsky_1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","2434"]]
                        592462.903
                        612708.420
                        3155407.106
                        3169627.225
                
               

       
        
            
                POLYGON(( 597462 3158962 0, 606462 3158962 0, 606462 3162517 0, 597462 3162517 0)) 
            
        
        
		PROJCS["Beijing_1954_3_degree_Gauss_Kruger_CM_111E",GEOGCS["GCS_Beijing 1954",DATUM["D_Beijing_1954",SPHEROID["Krasovsky_1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","2434"]]
		
        
       

你可能感兴趣的:(Osgearth,c++,3d,图形渲染)