基于qt4.8.6forVS2010的QGIS2.4.0的VS2010开发包03


基于qt4.8.6forVS2010的QGIS2.4.0的VS2010开发包,由于csdn有上传最大50M限制,有希望下载开发包的话需要多下载几次,然后在一起解压缩。
资源截图
代码片段和文件信息
#!/usr/bin/env python
#******************************************************************************
#  $Id: pct2rgb.py 27044 2014-03-16 23:41:27Z rouault $

#  Name:     pct2rgb
#  Project:  GDAL Python Interface
#  Purpose:  Utility to convert palletted images into RGB (or RGBA) images.
#  Author:   Frank Warmerdam warmerdam@pobox.com

#******************************************************************************
#  Copyright (c) 2001 Frank Warmerdam
#  Copyright (c) 2009-2010 Even Rouault 

#  Permission is hereby granted free of charge to any person obtaining a
#  copy of this software and associated documentation files (the “Software“)
#  to deal in the Software without restriction including without limitation
#  the rights to use copy modify merge publish distribute sublicense
#  and/or sell copies of the Software and to permit persons to whom the
#  Software is furnished to do so subject to the following conditions:

#  The above copyright notice and this permission notice shall be included
#  in all copies or substantial portions of the Software.

#  THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND EXPRESS
#  OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
#  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
#  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM DAMAGES OR OTHER
#  LIABILITY WHETHER IN AN ACTION OF CONTRACT TORT OR OTHERWISE ARISING
#  FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
#  DEALINGS IN THE SOFTWARE.
#******************************************************************************

try:
    from osgeo import gdal
except ImportError:
    import gdal

try:
    progress = gdal.TermProgress_nocb
except:
    progress = gdal.TermProgress

try:
    import numpy as Numeric
    Numeric.arrayrange = Numeric.arange
except ImportError:
    import Numeric


import sys
import os.path

def Usage():
    print(‘Usage: pct2rgb.py [-of format] [-b ] [-rgba] source_file dest_file‘)
    sys.exit(1)

# =============================================================================
#  Mainline
# =============================================================================

format = ‘GTiff‘
src_filename = None
dst_filename = None
out_bands = 3
band_number = 1

gdal.AllRegister()
argv = gdal.GeneralCmdLineProcessor( sys.argv )
if argv is None:
    sys.exit( 0 )

# Parse command line arguments.
i = 1
while i < len(argv):
    arg = argv[i]

    if arg == ‘-of‘:
        i = i + 1
        format = argv[i]

    elif arg == ‘-b‘:
        i = i + 1
        band_number = int(argv[i])

    elif arg == ‘-rgba‘:
        out_bands = 4

    elif src_filename is None:
        src_filename = argv[i]

    elif dst_filename is None:
        dst_filename = argv[i]

    else:
        Usage()

    i = i + 1

if dst_filename is None:
    Usage()

# ----------------------------------------------

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件  126205952  2010-04-02 21:49  binoraociei11.dll

     文件      33536  2011-05-07 16:50  binorbd.exe

     文件    3826688  2011-07-10 18:23  binosg80-osg.dll

     文件     771584  2011-07-10 18:34  binosg80-osgAnimation.dll

     文件    1389568  2011-07-10 18:28  binosg80-osgDB.dll

     文件     264704  2011-07-10 18:29  binosg80-osgFX.dll

     文件     374272  2011-07-10 18:30  binosg80-osgGA.dll

     文件     368128  2011-07-10 18:33  binosg80-osgManipulator.dll

     文件     432640  2011-07-10 18:31  binosg80-osgParticle.dll

     文件     384000  2011-07-10 18:34  binosg80-osgPresentation.dll

     文件     149504  2011-07-10 18:34  binosg80-osgQt.dll

     文件     734208  2011-07-10 18:30  binosg80-osgShadow.dll

     文件     871936  2011-07-10 18:31  binosg80-osgSim.dll

     文件     349184  2011-07-10 18:30  binosg80-osgTerrain.dll

     文件     544768  2011-07-10 18:29  binosg80-osgText.dll

     文件    2618368  2011-07-10 18:26  binosg80-osgUtil.dll

     文件     935424  2011-07-10 18:31  binosg80-osgViewer.dll

     文件     359936  2011-07-10 18:31  binosg80-osgVolume.dll

     文件     505856  2011-07-10 18:33  binosg80-osgWidget.dll

     文件      59392  2011-07-10 18:48  binosgarchive.exe

     文件     148992  2011-07-10 18:47  binosgconv.exe

     文件     122368  2011-07-10 19:24  binosgdb_earth.dll

     文件      90624  2011-07-10 19:28  binosgdb_osgearth_agglite.dll

     文件      99328  2011-07-10 19:23  binosgdb_osgearth_arcgis.dll

     文件      55808  2011-07-10 19:23  binosgdb_osgearth_arcgis_map_cache.dll

     文件      80896  2011-07-10 19:24  binosgdb_osgearth_debug.dll

     文件     555008  2011-07-10 19:25  binosgdb_osgearth_engine_osgterrain.dll

     文件     142336  2011-07-10 19:28  binosgdb_osgearth_feature_ogr.dll

     文件     117760  2011-07-10 19:29  binosgdb_osgearth_feature_wfs.dll

     文件     174592  2011-07-10 19:23  binosgdb_osgearth_gdal.dll

............此处省略400个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)