We can publish Qgis edited and configured map results directly as standard OGC map services. No need to convert to GeoServer project release. This avoids the reconfiguration of the style and the re-organization of the data. And with Qgis's extended development, you can flexibly customize the applications you want.Post-release map service with Qgis loadingPost-publish map service with openlayers loadingTip:
QGIS (http://qgis.org) is a desktop GIS software that integrates many open source spatial data processing libraries, supporting Python scripting. Qgis is developed based on QT and sip, supports windows\linux\macos and other operating systems, can access the spatial data of Mysql/postgre and other databases, and can connect to OpenStreetMap pull data for local analysis and mapping.Compared with professional
QGIS Introductory presentation of "Vector traffic route map with QGIS" Preparation of script programming Knowledge Python Tutorial QGIS Apiqgis Plugin LibraryThere are 4 ways to run Qgis scripts for desktop applications:
QGIS automatically run Python scripts at star
Look at the Internet. Qgis C + + Two development environment most of them still stay in the QGIS2.9 version and QT4, it should be three years ago, and most of the use of relwithdebinfo. mode, the personal feeling that pattern is the Qgis development community to learn Qgis code for people to provide a compromise mode, not real application development, and when de
Parsing Library
Simple example
Python-related
PyQt
Python version that can be understood as QT, used to make a GUI
Related Information summary
QScintilla2
This does not seem important, it is an editor, Scintilla editor under QT version. Anyway windows under compile Qgis useless to
Sip
SIP is a tool that automatically generates Python e
Qgis is an open source desktop GIS tool written with QT framework. It is a good tool for learning GIS and QT. This article describes how to compile the source code of qgis In ubuntu.
Reference link:
Http://gvision.info/using-qtcreator-with-qgis/
Http://hub.qgis.org/projects/quantum-gis/repository/revisions/master/entry/INSTALL
Environment: Ubuntu 11.10
1. Depen
Qgis can generally be developed in two languages, such as C + + and Python, while Python is portable, easy to learn, widely used, and highly developed in comparison to C + + development. Using Python development will greatly improve development efficiency, reduce development costs, reduce development difficulty, and seamlessly migrate across platforms (Linux,windows). But Qgis's Python development environment is very complex to configure, which can wa
Environment Introduction
QGis 2.7+ Current 2.8
Win7
Download code from GitHub
Code Warehouse
Official Installation Documentation
Windows platform installation Look at section 1, 2, mainly look at 4.1 ok
General overview of the compilation process
Qgis uses the cross-platform engineering generation tool CMake to manage all pro
advance to establish a Qgis folder , the relevant files are placed inside6. Path name need not have Chinese or space7, CMake Cmakeinstallprefix best not set the path in the C drive, install may require administrator privileges; txt2tags_executable setting is txt2tags.py not exe8, in the final compilation, run Qgis may have DLL can not find the problem, everything search can use the official installation ve
Qgis Application
Sf2gis@163.com
September 20, 2016 created
1 Database operations (QGIS 2.16)
Qgis database, the use of Dbmanager unified management, can be data import, export database, data manipulation (add to check, preview and other operations). 1.1 Creating a database connection: Qgisbrowser Select postgis-to create a database connection.
1.2 Import da
Environment configuration: vs2008 + qt4.7.3 + qgis1.7.0 Linked LibraryCreate a QT project create a QT application project in Vs, and then configure the C ++ Preprocessor command. The general settings of the Lib file in the directory and connector are as follows: 1. pre-processor definition (three definitions are added): 2. add include directory settings (add the include path of compiled qgis and include path of osge4w) 3. lib file directory settings (
Compile the compiled Qgis library, mask get delete the path in the environment variable, test the Qgis.exe program functionIf prompted as above:Cause: The qgis.db file was not found and cannot be copied to the. Qgis2 folder in the system's default c:/users/administrator/.qgis2//gdal_pam;Resolution: Locate the Resource folder in the source code and copy it to the Qgis.exe sibling directory.This problem will cause a series of functions related to the Sq
Development environment: WIN10 + VS2010 + Qt 4.8.6 + QGis 2.14.4In fact, the function of this article is similar to a simplified version of "Add text data Layer" in Qgis, this article does not involve the use of dialog box, do not create features by interacting with the user, but directly through the code to add point features, play a role.(a) First, the whole process is probably combed down:1, first create
Copy the code into the Src/providers/harmony
and add these two files to the CMakeLists.txt
To copy the UI files to Src/ui
CMakeLists.txt
########################################################
# Files
#设置源文件列表
SET(HARMONY_SRCS
harmonyprovider.cpp
harmonydataitems.cpp
harmonyconnection.cpp
)
#头文件
SET(HARMONY_MOC_HDRS
Environment Configuration Eclipse+pydev+python27 + pyqt4.8.6 + qgis2.6
Eclipse installation. Slightly
Pydev installation. Slightly
PYTHON27 installation. Slightly.
pyqt4.8.6 + qgis2.6 installation. I am using the OSGEO4W installation package, osgeo4w itself with qgis2.6 development components and pyqt4.8.6 development components, PYTHON27 will also be brought, python27 the best installation of their own. Note that after installing with OSGEO4W, do not install PYQT in a separate,
Precautions:
Qg
First, preparation work 1, install the plug-inTo facilitate drawing, we have installed OPENLAYERS,QUICKOSM two plugins.How to install plug-ins, degrees Niang have the answer. Part of the tick is the installed plug-in:Openlayers provides some open map data, and with this data, we don't have to start all over again, like Bing's satellite map, we can accurately plot the desired line, point, and multilateral type from satellite maps.
Bing Satellite map
OpenStreetMap
2. C
After adding a layer in qgis, you can scroll and zoom with the mouse. If you want to add an icon to the toolbar to achieve the same effect,
(1) Add the following variables to qmainwindow:
Qtoolbar * mpmaptoolbar; //
Add action in the QT designer:
(2) then add the following in the initialization function:
// Add the button mpmaptoolbar = addtoolbar (TR ("Tools") on the toolbar; mpmaptoolbar-> addseparator (); mpmaptoolbar-> addaction (UI. mpaction
Document directory
Step 1: Modify the qgis2.h file and add the following header files
Step 2: Modify the qgis2.cpp file to modify the addlayer function. The modified code is as follows:
Step 3: Modify the main function to support Chinese
Document directory
Step 1: add the relevant header file in the qgis2.h file. The three main headers are as follows: qgslabel. H, qgslabelattribute. h qgsfield. h.
Step 2: In the qgis2.cpp file, add the code to the addlayer () function. The main
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.