资源简介
GDAL的ogr2ogr可执行程序的一个GUI版本,采用的是qt界面,包含源代码和可执行程序,大家可以下载学习一下

代码片段和文件信息
/*****************************************************************************
* ogr2gui is an application used to convert and manipulate geospatial
* data. It is based on the “OGR Simple Feature Library“ from the
* “Geospatial Data Abstraction Library“ .
*
* Copyright (c) 2009 Inventis
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation either version 3 of the License or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not see
*****************************************************************************/
/*!
* \file App.cpp
* \brief Qt Application
* \author Olivier Pilotte [ Inventis ] Mohamed Hedi Lassoued [ Inventis ]
* \version 0.6
* \date 27/10/09
*/
#include “../inc/App.h“
App::App( QWidget *widget ) : QMainWindow( widget )
{
InitData();
InitInterface();
TranslateInterface();
InitProjections();
UpdateParameters();
}
App::~App( void )
{
delete [] *formats;
delete [] *databases;
delete [] *projections;
}
void App::InitData( void )
{
ogr = new Ogr();
formats = new QString * [ formatsCount ];
for( int i = 0; i < formatsCount; i ++ )
{
formats[ i ] = new QString[ 2 ];
}
databases = new QString * [ databasesCount ];
for( int i = 0; i < databasesCount; i ++ )
{
databases[ i ] = new QString[ 2 ];
}
projections = new QString*[ projectionsCount ];
for( int i = 0; i < projectionsCount; i ++ )
{
projections[ i ] = new QString[ 2 ];
}
#include “../inc/Dta.h“
}
void App::InitProjections( void )
{
QString prj;
cmbTargetProj->addItem( tr( ““ ) );
for( int i = 1; i < projectionsCount; i ++ )
{
prj.clear();
prj = projections[ i ][ 0 ];
prj.append( tr( “ : “ ) );
prj.append( projections[ i ][ 1 ] );
cmbTargetProj->addItem( prj );
}
}
void App::InitInterface( void )
{
thePanel = new QWidget();
inf = new Inf( this );
InitMenu();
InitLayout();
InitSlots();
radSourceFile->setChecked( true );
radTargetFile->setChecked( true );
radTargetOverwrite->setChecked( true );
btnExecute->setEnabled( false );
this->setCentralWidget( thePanel );
this->show();
}
void App::InitMenu( void )
{
theMenu = new QMenuBar( this );
{
fileMenu = new QMenu( theMenu );
{
mnuQuit = new QAction( this );
fileMenu->addAction( mnuQuit );
}
helpMenu = new QMenu( theMenu );
{
mnuOgrHe
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2359296 2009-06-17 10:18 ogr2guiExe&&DLL\libmySQL.dll
文件 168182 2009-10-14 14:31 ogr2guiExe&&DLL\libpq.dll
文件 733 2009-11-01 01:31 ogr2guiExe&&DLL\ogr2gui-0.6\BUILDING
文件 603 2009-10-27 23:41 ogr2guiExe&&DLL\ogr2gui-0.6\config.h
文件 32473 2009-08-23 16:59 ogr2guiExe&&DLL\ogr2gui-0.6\COPYING
文件 1734 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\annotated.html
文件 2386 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\classes.html
文件 23137 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\class_app-members.html
文件 36152 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\class_app.html
文件 10040 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\class_inf-members.html
文件 16398 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\class_inf.html
文件 6608 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\class_ogr-members.html
文件 22645 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\class_ogr.html
文件 2862 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\config_8h_source.html
文件 6619 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\doxygen.css
文件 1281 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\doxygen.png
文件 3074 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\files.html
文件 4188 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\functions.html
文件 4105 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\functions_func.html
文件 1865 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\index.html
文件 13377 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\moc___app_8cpp_source.html
文件 8568 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\moc___inf_8cpp_source.html
文件 1844 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\tabs.css
文件 35 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\tab_b.gif
文件 706 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\tab_l.gif
文件 2585 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\tab_r.gif
文件 2376 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\_app_8cpp.html
文件 81572 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\_app_8cpp_source.html
文件 2384 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\_app_8h.html
文件 21117 2009-11-01 01:37 ogr2guiExe&&DLL\ogr2gui-0.6\doc\html\_app_8h_source.html
............此处省略34个文件信息
相关资源
- ArcGIS Engine最优路径分析
- arcgis engine实现叠加分析
- 3DWebGIS 3DWebGIS
- GIS项目开发文档(分析、设计、实现
- arcgis 10.1 中文环境安装包
- 地图符号化(ArcEngine)
- 地图浏览(ArcEngine)
- GIS 设计与实现 (打包版)
- vc利用MFC底层开发的二维GIS管理软件,
- Arcgis 扩展模块
- 印度泰米尔纳德邦Noyyal流域利用GIS和
- shp转cad小工具
- Logistic回归总结非常好的机器学习总结
- NetApp Data ONTAP:registered: GX产品简介
- 建立在Sun皓龙服务器上的为石GIS解决
- 基于四核和双核英特尔:registered: 至强
- 英特尔:registered: 酷睿:trade_mark:双核处
- 借助英特尔:registered: 主动管理技术缩
- LANDesk 管理解决方案和采用英特尔:r
- 英特尔:registered: 酷睿:trade_mark:2 双核
- 四核英特尔:registered: 至强:registered:
- 英特尔:registered: 酷睿:trade_mark:2 双核
- Unicenter 解决方案和采用英特尔:regis
- 英特尔:registered: 博锐:trade_mark: 技术关
- 面向采用英特尔:registered: 博锐:trade
- 英特尔:registered:至强:registered:处理器
- 基于英特尔:registered: 至强:registered:
- 凭借英特尔:registered: I/O加速技术加快
- 四核英特尔:registered: 至强:registered:
- 插件式GIS应用框架的设计与实现&mda
评论
共有 条评论