Professional Documents
Culture Documents
Quantum GIS .
,
. Quantum GIS GNU General Public License
. Quantum GIS
http://www.qgis.org .
,
.
.
, . , , ,
. .
PDF
http://qgis.osgeo.org/documentation/manuals.html
. QGIC
.
http://www.qgis.org/wiki/
.
PDF
http://qgis.osgeo.org/documentation/manuals.html
. QGIC
.
http://www.qgis.org/wiki/ .
Tara Athan
Radim Blazek
Godofredo Contreras
Otto Dassau
Martin Dobias
Peter Ersts
Anne Ghisla
Stephan Holl
N. Horning
Magnus Homann
Werner Macho
K. Koy
Carson J.Q.Farmer
Lars Luthman
Tyler Mitchell
Claudia A. Engel
Brendan Morely
David Willis
Jrgen E. Fischer
Marco Hugentobler
Gavin Macaulay
Gary E. Sherman
Tim Sutton
.
.
ii
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.3 or any later version published by the Free Software
Foundation; with no Invariant Sections, no Front-Cover Texts and no
Back-Cover Texts. A copy of the license is included in section B1)
entitled "GNUFreeDocumentationLicense".
iii
1
3
1. GIS 17
1.1. ? 18
1.1.1. 19
1.1.2. 19
2. 21
2.1. 21
2.2. 22
2.3. 24
3. 27
3.1. QGIS 27
3.1.1. 28
3.2. QGIS 31
3.2.1. 32
3.2.2. 42
3.2.3. 42
3.2.4. 45
3.2.5. 46
3.2.6. 47
3.2.7. 48
3.2.8. 48
3.3. 49
3.3.1. 50
3.3.2. 50
3.4. 52
3.4.1. , , 52
3.4.2. 54
3.5. 54
3.6. 56
3.7. GUI Option 57
3.8. (Annotation tools) 63
3.8.1. 64
3.9. (Spatial Bookmarks) 65
3.9.1. 65
3.9.2. 66
3.9.3. 66
3.9.4. 66
3.10. GPS 67
3.10.1. 68
3.10.2. GPS 68
3.10.3. GPS 69
3.10.4. GPS 69
4. 71
4.1. ESRI Shapefiles 72
4.1.1. Shapefile 73
4.1.2. 76
4.1.3. MapInfo 76
4.1.4. ArcInfo Binary Coverage 76
4.2. PostGIS Layers 77
4.2.1. 77
4.2.2. PostGIS 79
4.2.3. PostgreSQL 80
4.2.4. PostgreSQL 81
4.2.5. 83
4.2.6. 180 85
4.3. SpatiaLite Layers 86
4.4. 87
4.4.1. 88
4.4.2. 91
4.4.3. Style Manager 97
4.4.4. 97
vi
vii
viii
10.2. 227
10.3. QGIS 228
10.3.1. - 230
10.3.2. - 231
10.4. 232
10.4.1. - 232
10.4.2. - 235
10.4.3. -, 237
10.4.4. - 239
10.5. 241
10.6. 241
10.7. 242
10.8. 243
10.9. , , 244
10.10. 245
10.11. 246
11. QGIS (QGIS Plugins) 249
11.1. 249
11.1.1. QGIS 250
11.1.2. QGIS 251
11.1.3. QGIS Python Plugin Installer 252
11.2. (Data Provider) 257
12. QGIS 259
12.1. 261
12.2. 262
12.2.1. 262
12.2.2. 263
12.2.3. 264
12.3. 265
12.4. Dxf2Shp 267
12.5. eVis 269
12.5.1. 269
12.5.2. 276
12.5.3. 276
12.6. fTools 285
ix
12.16. 348
12.17. 350
12.18. SQL Anywhere 352
13. 355
13.1. 355
13.2. IRC 357
13.3. Bug Tracker 358
13.4. Blog 359
13.5. Wiki 359
: 361
A GNU General Public License 363
A.1 Quantum GIS Qt exception for GPL 371
B GNU Free Documentation License 373
Literature and Web References 387
xi
.
,
.
.
.
, .
,
.
, ,
,
. ,
.
. ,
.
.
GIS
,
. EU,
, , GIS
, GIS
. GIS
.
GIS
(OSGeo) . (OSGeo, Open Source
GeoSpatial Foundation) , GIS
. OSGeo
, . OSGeo
http://www.osgeo.org
, OSI
. Quantum GIS(QGIS) OSGeo
.
GIS OSGeo (OSGeo
Korean Chapter, www.osgeo.kr) 2008 .
OSGeo GIS
, Quantum
GIS(QGIS) .
.
QGIS
. QGIS
. QGIS
.
,
OSGeo
2 QGIS 1.7.0
GIS(Geographical Information System)
! Quantum GIS(QGIS) (GIS :
Geographic Information System). 2002 5
, 6 SourceForge .
( ) GIS ,
. QGIS Unix , Windows, OS X .
QGIS Qt (http://qt.nokia.com) C++ .
QGIS ,
GUI .
QGIS , GIS
. QGIS GIS (data viewer)
. ,
GIS . QGIS
,
. QGIS GNU General
Public License(GPL) . QGIS
,
. , GIS
QGIS Tip 1
http://download.osgeo.org/qgis/doc/manual/, QGIS
http://www.qgis.org/en/documentation .
.
QGIS , Appendix A2)
.
QGIS GIS
. 6
.
QGIS
/ / .
.
PostGIS SpatialLite , ESRI shape
, MapInfo, SDTS, GML , OGR
GeoTiff, ERDAS Img., ArcInfo Ascii Grid, JPEG, PNG ,
GDAL(Geospatial Data Abstraction Library)
SpatiaLite (4.3 )
GRASS GRASS .
9
OGC- Web Map Service (WMS) Web Feature Service
(WFS) . OGC- Web Map
Service (WMS) Web Feature Service (WFS) 6
.
OpenStreetMap (12.14 ).
4 QGIS 1.7.0
QGIS , GUI
. GUI
.
(on the fly projection)
(map composer)
(overview panel)
(spatial bookmarks)
/(identify/select features)
//(edit/view/search attributes)
(feature labeling)
/ (change vector and raster symbology)
(add a graticule layer)
fTools
, , (decorate
your map with a north arrow scale bar and copyright label)
(save and restore projects)
, , ,
QGIS , , ,
. GRASS
. QGIS
.
OGR GRASS
shapefile GRASS
Georeferencer[]
GPX / GPS .
GPS GPX GPS (Linux usb
. GPS ) /
OpenstreetMap
SPIT shapefile PostGIS
5
PostGIS
(4.5.6 ) Table Manager
PostgreSQL/PostGIS , fTools
Python OGR
. QGIS , , ,
. GRASS
, 400 GRASS
.(9 )
QGIS
. QGIS
. C++
Python .
(Core Plugins)
1. (x,y
)
2. ( )
3. (, , )
4. ( )
5. (
) (
6 QGIS 1.7.0
)
6. DXF2Shp (DXF Shape )
7. GPS (GPS )
8. GRASS (GRASS GIS )
9. GDAL (GDAL QGIS )
10. Georeferencer[] GDAL (GDAL
)
11. (
(interpolation))
12. PostGIS QGIS
QGIS python
7
. PyQGIS
, Python .(11
)
1.7.0
.
, QGIS 1.0.x QGIS 1.6.0
.
.
277 ,
.
(Symbology labels and diagrams)
.
.
(symbology-ng).
(Font marker) X,Y .
:
/
:
svg .
()
:
//
8 QGIS 1.7.0
:
GDAL DEM GUI
$x, $y, $perimeter
(voronoi)
.
.
.
0
(CRS)
( )
AND OR
Providers and Data Handling
SQLAnywhere
(Table join)
NULL
value NULL (combo boxes).
value id
: expr_
,
NULL
( /, )
undo/redo
/
OGR . (: DGN/DXF).
API
QgsFeatureAttribute .
QgsVectorLayer::featureAdded
C++
. .
fTools . ,
, .
QgsGeometry.validateGeometry .
QGIS
10 QGIS 1.7.0
properties WMS
(wms_metadata.xml )
GetPrint-Request WMS
quickprint - easyprint
OGR - save as
Printing
Undo/Redo
11
. .
GUI
GUI GUI
. ,
GUI
.
Layer
Setting
Save as Default
:
:
Digitizing
Layer Properties
General
: Render
: Postgis
:
EPSG ID
Hue 60
: Outline style
Solid Line |
:
13
:
: Transparency 10%
020mm
, ,
.
: http://qgis.org
:
Ctrl+B Ctrl B
.
: lakes.shp
: NewLayer
: classFactory
: myhost.de
: --help
.
PROJCS["NAD_1927_Albers",
GEOGCS["GCS_North_American_1927",
GUI : {
QGIS}
Quit QGIS .
14 QGIS 1.7.0
File
.
,
.
,
.
.
15
1. GIS
(GIS)([3]3)) , ,
. (Geospatial data)
.
.
Spatial data , (geographic data), GIS
, , , ,
.
.
.
. ( )
,
.
,
.
.
1.
2.
3.
4.
3) Tyler Mitchell(http://www.oreillynet.com/pub/wlg/7053)
Creative Commons License . Tyler Web Mapping
Illustrated(OReilly, 2005) .
387
17
1.1 ?
5.
6.
,
. ,
.
1.1. ?
.
.
.
. (GPS : Global positioning system)
, 20
.
,
.
, .
GIS CAD
.
PC
, , ,
.
. .
?
.
.
18 QGIS 1.7.0
1.1.1.
1.1.1.
(raster)
.
. (DEM: digital elevation
model) .
, .
(cell) (pixel)
. .
, (: 30m x 30m).
(: //
)
. (band)
. ,
,
.
.
, .
.
1.1.2.
.
,
. ,
. x, y
.
x , y
.
1. GIS 19
1.1 ?
,
.
. (map projection) ,
.
3 . ,
.
1.
(x,y)
.
2.
(x1 y1, x2 y2, x3 y4, ... xn yn)
, (x1 y1) (x2 y2)
. (line segment)
. ,
. ,
(line string) .
3.
2 ,
. , ,
.
.
20 QGIS 1.7.0
2.
QGIS , QGIS
.
2.1.
QGIS . MS Windows Mac OSX
. GNU/Linux
. QGIS
.
http://download.qgis.org
QGIS ,
QGIS
.
http://www.qgis.org/en/documentation/manuals.html
QGIS QGIS .
QGIS -configpath , (
/.qgis )
. QGIS
21
2.2.
2.2.
QGIS
.
Windows QGIS
. [ ]
[GIS Database] .
.
.
GIS
QGIS
http://download.qgis.org
QGIS
http://download.osgeo.org/qgis/data
Alaska
. GRASS
. Alaska Alaska Albers Equal Area
, (ft) . EPSG 2964
.
22 QGIS 1.7.0
2. 23
2.3.
2.3.
QGIS QGIS
.
QGIS
QGIS_sample_data/raster/landcover.img ,
QGIS _sample_data/gml/lakes.gml .
QGIS
Linux: QGIS
QGIS .
Windows: QGIS
QGIS .
Mac OSX: QGIS
.
1.
Open[]
.
3.
Filetype "Erdas Imagine Images(*.img, *.IMG)"
.
4.
24 QGIS 1.7.0
2.1. QGIS
5. Add Vector Layer[ ] Source Type[ ]
File[] Browse[]
.
6. qgis_sample/gml/
lakes.gml ,
Open[] . [Add Vector]
OK .
lakes
Properties[ ]
10.
Display Labels
2. 25
2.3.
26 QGIS 1.7.0
3.
2 QGIS
.
.
3.1. QGIS
2.3 QGIS .
QGIS ,
.
Linux: QGIS ,
qgis QGIS
QGIS .
QGIS .
Windows:
, QGIS QGIS
.
Mac OSX:
QGIS . , QGIS
/path-toinstallation-executable/Contents/MacOS/Qgis
.
File
27
3.1. QGIS
QGIS
Quit[] . Ctrl+B
3.1.1.
QGIS
. , 'qgis --help'
. QGIS
.
qgis --help
Quantum GIS - 1.7.0-Wroclaw Wroclaw (exported)
Quantum GIS (QGIS) is a viewer for spatial data
sets, including raster and vector data.
Usage: qgis [options] [FILES]
Options:
[--snapshot filename] emit snapshot of loaded
datasets to given file
[--width width] width of snapshot to emit
[--height height] height of snapshot to emit
[--lang language] use language for interface text
[--project projectfile] load the given QGIS
project
[--extent xmin,ymin,xmax,ymax] set initial map
extent
[--nologo] hide splash screen
[--noplugins] dont restore plugins on startup
[--optionspath path] use the given QSettings path
[--configpath path] use the given path for all
user configuration
28 QGIS 1.7.0
3.1.1.
QGIS
. qgis_sample_data
. ,
QGIS . qgis ./raster/landcover.img
./gml/lakes.gml
--snapshot
QGIS PNG
. ,
.
800x600 PNG .
--width --height
. --snapshot
.
--lang
3.1. QGIS
.
http://www.qgis.org/wiki/GUI_Translation_Progress
--project
QGIS QGIS .
--project QGIS , QGIS
.
--extent
QGIS
. --extent xmin, ymin, xmax, ymax
.
--nologo
QGIS QGIS .
noplugins
QGIS
QGIS .
QGIS Plugin Manager[ ]
.
--optionspath
QGIS ,
.
3.7 .
,
.
--configpath
30 QGIS 1.7.0
--optionspath , QGIS
(./qgis) QSettings
.
QGIS .
3.2. QGIS
QGIS QGIS
. ( 1 6 QGIS
.
.)
3. 31
3.2. QGIS
.
QGIS GUI 6 .
1.
4.
2.
3.
5.
6.
QGIS 6
.
.
3.2.1.
QGIS
. .
, 4)
. ,
,
.
. 3.2.2.
.
New Project[ ]
Ctrl+N
3.5
File[]
Open Project[ ]
Ctrl+O
3.5
File[]
File[]
4) .
[Settings] [Configure Shortcuts]
.
32 QGIS 1.7.0
3.2.1.
3.5
[ ]
Save Project[ ]
Save Project As
[ ]
Ctrl+S
Ctrl+
Shift+S
Save as Image
File[]
3.5
File[]
3.6
[ ]
New Print Composer
[ ]
Ctrl+P
Composer Manager
[ ]
Print Composers
3.5
File[]
10
File[]
10
[ ]
Exit[]
10
Ctrl+Q
Ctrl+F
4.5.4
Edit[]
Undo[ ]
Redo[ ]
Cut Features
[ ]
Copy Features[ ]
Paste Features
[ ]
Ctrl+
Shift+Z
4.5.4
Advanced
Digitizing
Advanced
Digitizing
Ctrl+X
4.5.3
Digitizing
Ctrl+C
4.5.3
Digitizing
Ctrl+V
4.5.3
Digitizing
3. 33
3.2. QGIS
Move Features
[ ]
Delete Selected
[ ]
Simplify Feature
[ ]
4.5.3
Digitizing
4.5.3
Digitizing
4.5.4
Add Ring[ ]
4.5.4
Add Part[ ]
4.5.4
Delete Ring[ ]
4.5.4
Delete Part
[ ]
Reshape Features
[ ]
Split Features
[ ]
Merge selected Features
[ ]
4.5.4
4.5.4
4.5.4
4.5.4
Merge attributes of
selected Features
4.5.4
[ ]
Node Tool[ ]
Rotate Point Symbols
[ ]
34 QGIS 1.7.0
4.5.3
4.5.4
Advanced
Digitizing
Advanced
Digitizing
Advanced
Digitizing
Advanced
Digitizing
Advanced
Digitizing
Advanced
Digitizing
Advanced
Digitizing
Advanced
Digitizing
Advanced
Digitizing
Digitizing
Advanced
Digitizing
3.2.1.
Toggle Editing[ ] ,
(, , ) Edit[] (Feature
Capture) .
Capture Point[ ]
4.5.3
Digitizing
Capture Line[ ]
4.5.3
Digitizing
Capture Polygon[ ]
4.5.3
Digitizing
View[]
Map
Pan Map[ ]
Zoom In[]
Ctrl++
Zoom Out[]
Ctrl+-
Select[]
Navigation
Map
Navigation
Identify Features
3.4.2
Ctrl+
Zoom Full[ ]
3.4
Ctrl+
Navigation
Map
Navigation
[ ]
[ ]
Attributes
Map
Shift+F
Zoom To Layer
Zoom To Selection
Attributes
Attributes
Shift+I
[ ]
Measure[]
Navigation
Map
Ctrl+J
Map
Navigation
3. 35
3.2. QGIS
Map
Zoom Last[ ]
Navigation
Map
Zoom Next[ ]
Navigation
Map Tips[ ]
New Bookmark[ ]
Show Bookmarks
[ ]
Ctrl+B
Ctrl+
Shift+B
Refresh[ ]
3.9
Attributes
Map
Navigation
6.2.6
[ ]
Live GPS Tracking
3.10
[ GPS ]
Toolbars[]
Attributes
Ctrl+R
Panels[]
3.9
Tile Scale
GPS
Information
Ctrl+F
Layer[]
New[ ]
36 QGIS 1.7.0
4.5.5
Ctrl+
Shift+V
Manage
Layers
Manage
Layers
3.2.1.
Ctrl+
Shift+R
Ctrl+
Shift+S
Ctrl+
Shift+L
Ctrl+
Shift+W
4.2
4.3
6.2
Manage
Layers
Manage
Layers
Manage
Layers
Manage
Layers
Manage
Layers
Manage
Layers
Manage
Layers
Map
Navigation
Attributes
Digitizing
Digitizing
Save As
[ ]
3. 37
3.2. QGIS
Ctrl+D
Ctrl+
[ ]
Shift+C
4.5.6
Ctrl+
Manage
Shift+O
Layers
Setting[]
38 QGIS 1.7.0
Ctrl+
Manage
Shift+U
Layers
Ctrl+
Manage
Shift+H
Layers
3.2.1.
Ctrl+
Project Properties
Shift+P
[ ]
Custom CRS
3.5
8.4
[ ]
Style Manager[ ]
Configure Shortcuts
[ ]
3.7
Options[]
Snapping Options
[ ]
Plugin[]
Manage Plugins
11.1
[ ]
Plugin
Python Console
[Python ]
Vector[]
Analysis Tools
[ ]
Research Tools
[ ]
Geoprocessing Calculator
[ ]
3. 39
3.2. QGIS
Geometry Tools
[ ]
Data Management Tools
[ ]
Database[]
Spit
Raster[]
Raster Calculator
5.4
F1
5.4
Help[]
Help Contents
[QGIS ]
Whats this
Shift+F1
API Documentation
[API ]
QGIS Homepage
[QGIS ]
Check QGIS Version
[QGIS ]
About[QGIS ]
40 QGIS 1.7.0
Ctrl+N
Help
3.2.1.
QGIS Sponsors
[QGIS ]
KDE
. GNOME
Settings[] ,
.
Project Properties
[ ]
Edit
Options[]
Configure Shortcuts
[ ]
Style Manager
Custom CRS
[ CRS]
Toolbars[]
Edit
Edit
[ ]
Panels[]
File menu
Edit
View
View
View
View
3. 41
3.2. QGIS
View
3.2.2.
,
. .
.
.
.
QGIS Tip 3
, Setting[]
Toolbars[]
.
3.2.3.
.
.
(Z-ordering) .
.
.
42 QGIS 1.7.0
3.2.3.
Add Group[]
, Enter .
.
,
.
,
.
.
.
GRASS Toggle Editing[ ]
. GRASS
9.7 .
Zoom to layer extent[ ]
3. 43
3.2. QGIS
Properties[]
Rename[ ]
Add Group[ ]
Expand all[ ]
Collapse all[ ]
Zoom to layer extent[ ]
Show in overview[ ]
Remove[]
Properties[]
Rename[ ]
44 QGIS 1.7.0
3.2.4.
Add Group[ ]
Expand all[ ]
Collapse all[ ]
Zoom to group[ ]
Remove[]
Add Group[ ]
Expand all[ ]
Collapse all[ ]
Ctrl
.
.
Ctrl
Ctrl+D
.
.
3.2.4.
QGIS
3. 45
3.2. QGIS
. .
(
.) , ,
.
.
.
.
QGIS Tip 4
. , (
) , ( )
.
.
Setting[]
Option[]
Map tools[] .
QGIS Tip 5
.
,
, .
.
.
3.2.5.
.
View[]
Panels[]
.
.
. ,
46 QGIS 1.7.0
3.2.6.
.
,
Show in overview [
] . Overview
.
,
3.2.6.
(: ) .
, (, , )
.
.
, .
QGIS Tip 6
QGIS (degree). ,
. Settings[]
Project Properties[ ]
General[] (meter) ,
CRS status[ ]
(Coordinate Reference System)
. , (:
+units=m) .
3. 47
3.2. QGIS
.
.
.(3.3 )
.
EPSG .
.
3.2.7.
QGIS .
3.2.1 .
Settings[]
Configure Shortcuts[ ]
Set default[ ]
Change[] ,
Set none[ ]
XML . QGIS
.
3.2.8.
,
.
, .
48 QGIS 1.7.0
3.2.8.
3.2.
(KDE)
3.3.
QGIS
.
.
//
GIS
3. 49
3.3.
on/off
QGIS
.
3.3.1.
,
.
Properties[] . General[]
Use
scale
dependent
rendering[ ] .
, /
, QGIS .
3.3.2.
.
a)
/
Render
[] .
Render[]
QGIS 3.3
. ,
.
50 QGIS 1.7.0
3.3.2.
Render[]
,
.
b)
.
,
.
,
.
Option[]
Settings[]
Rendering[] .
By
. QGIS
.
Option[]
Settings[]
Rendering[]
.
. 0 (0 ).
3. 51
3.4.
, . 500
.
d)
. Settings[]
Option[] Rendering[]
.
Make lines appear less jagged at the expense of some drawing
performance [ ( .)]
Fix problems with incorrectly filled polygons [
]
3.4.
(: UTM) . ,
() , /
.
(8 ).
.
.
3.4.1. , ,
QGIS ,
Settings[]
3.4.1. , ,
. rubberband
(meter, feet), (, , gon) .
.
.
.
.
.
(4.5.1 ).
,
.
.
(a)
(c)
(b)
3.3.
3. 53
3.5.
.
.
,
.
3.4.2.
QGIS
.
.
3.5.
QGIS . QGIS
.
,
(3.7 ). QGIS
File[]
File[]
File[]
Save Project[ ]
QGIS
Open Project[ ]
54 QGIS 1.7.0
File[]
New Project[ ] .
,
.
.
XML .
QGIS .
QGIS .
QGIS .
Settings[]
Option[]
General[] .
Project Properties[ ]
Project Properties[ ]
,
.
General[] , , ,
3. 55
3.6.
, , (/)
. ( )
.
CRS[]
. /
.
Identifiable layers[ ]
, .
Add WKT geometry
to feature info response [ WKT ]
WMS .
3.6.
QGIS .
3.5 .
.
Save as Image[ ]
(PNG, JPG ), , .
,
(world file, PNGW JPGW) .
New Print Composer[ ]
(10 ).
56 QGIS 1.7.0
QGIS
. Setting
Option[]
.
.
General[]
3. 57
required) [ (QGIS )]
Open attribute table in a dock window [
(QGIS )]
Add PostGIS layers with double click and select in extended
mode [ PostGIS
]
Add new layers to selected group [
]
( (),
, )
NULL
C++
Rendering[]
58 QGIS 1.7.0
Settings[]
Project Properties[ ]
General[] .
Map tools[ ]
(identify tool)
. Current layer[ ] Top
down[] Top down, stop at first[,
] ,
(3.5
) .
Open feature form, if a single feature is identified[
]
(%)
.
.
.
.
Keep base unit[ ]
Define preferred measurement units (meters or feet) [
] (meter, feet]
Define preferred angle units (Degrees, Radians or Gon) [
] (Degree, Radian, Gon)]
(Zoom[], Zoom and recenter[
], Zoom to cursor[ ],
None[])
.
Overlay[]
3. 59
.
(to vertex[ ], to
segment[ ], to vertex and segment[
])
.
.
Show markers only for selected features[
.]
(Cross[()], Semi transparent circle
[ ], none[]) .
Reuse last entered attribute values[ ]
Suppress attributes pop-up windows after each create feature
[
.]
CRS[]
.
.
.
Enable on the fly reprojection by default [
(f)]
.
Prompt for coordinate Reference System(CRS)[
(c)]
60 QGIS 1.7.0
Proxy .
Socks5Proxy
Generic
: CONNECT . TCP
. .
HttpCachingProxy
: HTTP . HTTP
FtpCachingProxy
: FTP . FTP
.( )
WMS . .
http://geopole.org/wms/search?search=%1&type=rss
3. 61
Remove[]
http://doc.trolltech.com/4.5/qnetworkproxy.html#Pro
xyType-enum QT-library-documentation
.
62 QGIS 1.7.0
QGIS Tip 7
.
.
.
QGIS .
:
$HOME/.config/QuantumGIS/qgis.conf
:
$HOME/Library/Preferences/org.qgis.qgis.plist
:
\\HKEY\CURRENT_USER\Software\QuantumGIS\qgis
3. 63
3.5.
3.8.1.
.
qt ( 3.6
). qt
. QGIS
http://blog.qgis.org/node/143 .
: ( , , )
Ctrl+T .
64 QGIS 1.7.0
3.6. qt
3.9.1.
:
1. .
2.
View[]
New Bookmark[ ]
Ctrl+B .
3. ( 255) .
3. 65
4.
OK
Cancel
.
.
3.9.2.
View[]
Show Bookmark[ ] .
Geospatial Bookmarks[ ] ,
(Zoom to) .
.
3.9.3.
Geospatial Bookmarks[ ]
Zoom To[] .
.
3.9.4.
Geospatial Bookmarks[ ]
,
.
OK
66 QGIS 1.7.0
Delete[]
3.10. GPS
GPS View[]
Live GPS Tracking[ GPS ] .
GPS .
GPS 4 .( 3.7
3.8 )
(a)
GPS .
.
(b)
GPS
(c)
GPS . .
(d)
GPS ( 3.8. )
GPS
( Disconnect[ ] ) GPS
.
GNU/ , GPS
. GPS gpsd
.
[]: GPS
.
3. 67
3.10. GPS
(a)
(b) GPS
(c) GPS
3.7. GPS
3.10.1.
GPS 3.7(a)
.
3.10.2. GPS
GPS ( 3.7(b))
68 QGIS 1.7.0
3.10.4. GPS
3.10.3. GPS
3.7(c)
.
ID.
3.10.4. GPS
GPS
Autodetect []
Position Coordinates[
] , Add feature[ ]
.
3. 69
3.10. GPS
3.8. GPS
70 QGIS 1.7.0
4.
QGIS ESRI Shape , Mapinfo MIF TAB
OGR 5) .
OGR [5]6) 60
.
http://www.gdal.org/ogr/ogr_formats.html
.
: QGIS
. ,
, , OS GDAL/OGR
. QGIS
.
*.* .
GRASS 9 .
.(ESRI shape files, PostGIS layers, SpatialLite layers) QGIS
. QGIS ,
(identify), (select), (labeling) (attribute)
.
GRASS PostgreSQL QGIS
5) GRASS PostgreSQL QGIS
.
6) 387
71
.
QGIS Shapefile
. , ESRI
72 QGIS 1.7.0
4.1.1. Shapefile
, .prj, QGIS
, .qpj
. QGIS .qpj .prj
.qpj .
4.1.1. Shapefile
Shapefile
QGIS
Ctrl+ Shift+V .
. ( 4.1 ).
File[] Browse[]
. ( 4.2
) Shape File
.
4.1.
4. 73
4.2. OGC
OGR
. Shapefile
. Open[]
QGIS . 4.3 alaska.shp
.
QGIS Tip 8
.
.
/
.
.
74 QGIS 1.7.0
Properties[]
4.1.1. Shapefile
Layer Properties[] .
4.4.1
.
QGIS Tip 9 OS X
OS X
File[]
Open Project[ ]
. OS X /
. /Volumes
.
4. 75
4.1.2.
Shapefile ,
. .
QGIS .qix .
.
Shapefile
Layer Properties[] ( Shapefile
Properties[] )
General[]
4.1.3. MapInfo
MapInfo
Ctrl+Shift+V .
[OGR]MapInfo (*.mif*.tab*.MIF*.TAB|
.TAB .tab .
76 QGIS 1.7.0
Ctrl+Shift+V
Directory
4.2.1.
PostGIS
PostgreSQL
Ctrl+Shift+D
Add PostGIS
Database
New
4.1 .
.
4. 77
Save Username [ ]
Save Password [ ]
Only look in the geometry_columns table [geometry_columns
]
Only look in the public schema ['public'
]
Also list tables with no geometry [geometry
]
Use estimated table metadata [
]
Test Connect
.
4.1. PostGIS
Name
Service
Host
Port
Database
SSL
Mode
.
.
/
.( ) pg_service.conf
.
. Ping
.
PostgreSQL .
5432.
Database
SSL .
.
-disable : SSL
-allow : Non-SSL , SSL
-require : SSL
78 QGIS 1.7.0
4.2.2. PostGIS
PostGIS
SSL .
User
name
Password
QGIS Tip 10
QGIS .
: .QGIS
:
QGIS
.
4.2.2. PostGIS
PostgreSQL
. PostgreSQL
Data .
4.2.4 .
PostGIS .
Add PostGIS Table(s)
Connect .
Also list tables with no geometry [geometry
] .
Search
Options
4. 79
.
.
Shift
.
PostgreSQL Query Bulider
4.6 .
Add .
QGIS Tip 11 PostGIS
PostGIS geometry_columns table .
1.6.0 QGIS geometry_columns table
. .
.
PostgreSQL .
4.2.3. PostgreSQL
QGIS PostgreSQL
. QGIS
,
. QGIS PostgreSQL ,
QGIS , QGIS
PostgreSQL
.
QGIS
PostgreSQL .
.
QGIS int4( 4byte)
. ctid .
, oid .
80 QGIS 1.7.0
4.2.4. PostgreSQL
.(PostgreSQL
)
PostgreSQL ,
. QGIS
. SQL
. QGIS SQL
. SQL
.
, QGIS
.
.(int4 ,
)
4.2.4. PostgreSQL
Shp2pgsql
PostgreSQL .
PostGIS PostGIS shapefiles
shp2pgsql . ,
gis_data PostgreSQL lakes.shp
shapefile , :
shp2pgsql
-s
2964
lakes.shp
lakes_new
psql
gis_data
QGIS Tip 12
PostGIS
4. 81
gis_data lakes_new
. 2964 (SRID)
. 8
.
SPIT Plugin
SPIT plugin
. Plugin SPIT
.
Shapefile
SPIT
PostGIS Connect .
.
Add
.
OK
. shapefile
/
.
QGIS Tip 13
PostSQL SHAPEFILES
Shapefile PostgreSQL
.
.( )
shapefile .
82 QGIS 1.7.0
4.2.5.
ogr2ogr
alaska.shp
shapefile
PostGIS
export PG_USE_COPY=YES
ogr2ogr shp2pgsl
. SQL
CREATE INDEX . ( 4.2.5
)
4.2.5.
PostgreSQL
4. 83
.
postgreSQL
. PostGIS
GiST( ) .
GiST27) .
CREATE INDEX [indexname] ON [tablename]
USING
GIST
(
[geometryfield]
GIST_GEOMETRY_OPS );
. , VACUUM ANALYZE .
PostGIS [8]8) .
GiST .
gsherman@madison:~/current$ psql gis_data
Welcome to psql 8.3.0, the PostgreSQL interactive
terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute
query
\q to quit
gis_data=#
alaska_lakes
gis_data-#
CREATE
INDEX
USING
sidx_alaska_lakes
GIST
ON
(the_geom
GIST_GEOMETRY_OPS);
7) GiST http://postgis.refractions.net PostGIS
.
8) 387
84 QGIS 1.7.0
4.2.6. 180
CREATE INDEX
gis_data=# VACUUM ANALYZE alaska_lakes;
VACUUM
gis_data=# \q
gsherman@madison:~/current$
4.2.6. 180
GIS () 180
. QGIS ,
. 4.4 (Chatham )
.
4.4. 180
PostGIS ST_Shift_Longitude9)
.
/ , 0
360 .
4. 85
,
, ( 4.5)
.
86 QGIS 1.7.0
QGIS SpatiaLite
,
.
, New SpatiaLite
, .sqlite
.
SpatiaLite ,
.
Save as[ ] , , sqlite
CRS[] , OGR
SPATIALITR=YES . SpatiaLite
OGR .
http://www.gdal.org/ogr/drv_sqlite.html
.
SpatiaLite
SpatiaLite , 4.5.5 .
QGIS Tip 14 SpatiaLite
SpatiaLite 'QGIS Contributed Repository
Python Plugin . ,
Python Plugin QGIS SQL (QGIS ,
ViewSpatial Tables, QGIS Queries) ,
SQL Query Builder .
4.4.
Layer Properties[] , ,
PostgreSQL/PostgGIS
General[]
4. 87
4.4.
Query Builder SQL
. Layer Properties[]
Properties[] .
4.4.1.
QGIS 1.4.0
. QGIS 1.7.0
.
4.4.4 .
: ( ),
( ), ( ).
.
,
. .
.
.
Font marker:
Simple marker:
SVG marker: SVG
88 QGIS 1.7.0
4.4.1.
4.6.
Line decoration: , :
Marker line:
Simple line: ( ,
)
Centroid fill:
SVG fill: SVG
Simple fill: ( ,
, )
Outline: Line decoration : , :
4. 89
4.4.
. .
3 .
Gradient
Random:
ColorBrewer:
Add
.(4.4.3
)
Syles
.
. ( )
. QGIS
.
Renderers
Renderer .
Renderer 4 .(single symbol, categorized (
unique ), graduated and rule-based)
Renderer Renderer ,
Renderer .
90 QGIS 1.7.0
4.4.2.
4.4.2.
Style[] 4 Renderer
Change
Color .
Style[]
. ( Save as style
4. 91
4.4.
Advanced
).
Symbol levels
(
).
( Save as style ), .
Categorized Renderer
Categorized Renderer
,
. Style[] .
(Column listbox )
(Symbol dialog )
(Color Ramp listbox )
Advanced
.
.
4.8 QGIS
category
rendering .
New color ramp
. ramp (Gradient, Random,
ColorBrewer) .
.
4.9 .
92 QGIS 1.7.0
4.4.2.
(a) Sing symbol point properties (b) Sing symbol line properties
Graduated Renderer
. Categorized Renderer
.
the categorized , Style[]
.
(Column list box )
(Symbol Properties button )
(Color Ramp list )
4. 93
4.4.
.
94 QGIS 1.7.0
4.4.2.
4.10 QGIS
.
Rule-based rendering
Rule-based rendering
Rule-based
. SQL .
Query Builder .
,
.
4.11 QGIS
Rule-based rendering .
4.9.
4. 95
4.4.
Point displacement
QGIS
.
.
.
Symbol Properties
.
.
Properties[]
.
,
, .
.
Symbol Layer Type .
(Point, Line, Polygon).
SimpleMarker: , , , , Offset
X,Y
SvgMarker: , , Offset X,Y, SVG Image
LineDecoration:
MarkerLine: Marker, Marker , Marker , Line offset
SimpleLine: , , , Offset, Join style and
Cap style
96 QGIS 1.7.0
4.4.4.
SimpleFill: , , , ,
Style Manager .
4.4.4.
: QGIS 1.7
,
.(4.4.1 )
Layer Properties
Style[] Old symbology .
, Setting[]
Option
Rendering
Use
new
generation
4. 97
4.4.
4.10.
Continuous color
Unique value
, Layer Properties
.
(Style Options)
.
(mapfeature) .
renderer
98 QGIS 1.7.0
4.4.4.
.
.
.
*.jpeg, *.xpm, *.png
.
Fill color
,
(*.qml).
,
Load Style...
Save Style...
.
Save As Default
. ,
Restore Default Style
.
Vector transparency( )
QGIS .
Style[] Transparency 10%
.( 4.11 )
.
4. 99
4.4.
Display labels [ ]
.
7.
NAMES |
.
8. . QGIS NAMES
.
Multiline labels? [
9.
?] . QGIS label field
, .
\n( .
/ n ).
. (
)
10. Apply .
label . ?
marker symbol .
Font[] Font[] Color[]
.
.
:
4. 101
4.4.
4.12.
1.
Font[]
2. Placement[]
.
Right[]
3.
4. Apply
, label marker
. Position
.
X, Y offset() . X
. Data defined
label .
Labels[] .
4. 103
4.4.
(a)
(b)
(c)
4.13.
4.4.6.
4.4.6.
Labeling[] ,
.
4.4.5 QGIS labeling
, (on-the-fly)
.
1. QGIS , ,
.
4. 105
4.4.
2. QGIS
Labeling[] .
(a)
(b)
(c)
4.15.
, .
label placement, text style, labeling priority, scale-based
visibility . ( 4.16).
4.4.6.
Label this layer [ ]
, .
label placement, orientation, distance to feature, text
style, labeling priority, scale-based visibility . (
4.17).
Label this layer [ ]
, .
label placement, distance and text style, labeling
priority, scale-based visibility . ( 4.18).
Engine settings
label placement . Chain, Popmusic Tabu,
4. 107
4.4.
4.4.6.
.
: left, center, right
: bottom, base, half, top
Colors can be specified in svg notation, : #ff0000
for bold, underlined, strikeout and italic: 0 = false 1 = true
. : base right or bottom
left
4.19.
Attribute[] /
4. 109
4.4.
Toggle Editing[ ]
New Column[ ]
Delete Column[ ]
, widgets
. widgets
.
Line Edit: (
)
Classification: Style[] unique value
(Classification)
.
Range: . edit
widget spin box .
Unique values:
.
Autocompletion line edit
combo box .
File name: dialog .
Value map: . (Value)
attribute combo box .
CSV
.
Enumeration: Columns Type
combo box . POSTGRES
.
Immutable: The immutable attribute column .
.
Hidden: attribute column .
.
Checkbox: () .
attribute column
.
Text edit:
.
Calendar: widget . Column
type .
4. 111
4.4.
4.20.
. Display name
spatial index (PostGIS OGR
) projection
. Qt Creater IED http://qt.nokia.com/products/developer-tool
Edit User Interface
. Query Builder
Subset .
attribute table Advanced Search
.
Extents extent Layer Spatial
Reference System CRS .
.
Layer Properties
.
.
Action %
4. 113
4.4.
. %%
identify results
. ( Using Actions ). Double quote mark ,
command
. Double quote .
name substrings name (: col1
and col10) name [ ] .
(: [%col10])
%col10 name %col1 name
. QGIS
.
[[%col10]] .
Identify Result (Derived)
Identify Result
Attribute Table .
2 .
konqueror
http://www.google.com/search?q=%nam
konqueror http://www.google.com/search?q=%%
Konqueror URL
.
. Action
.
.
/opt/kde3/bin/konqueror
114 QGIS 1.7.0
http://www.google.com/search?q=%nam actions
konqueror .
%%
. Action %%
.
Identify Features[ ]
).
Action
. Action action
. Action . %%
Action
.
bash echo command(
)
. , Taxon_name,
lat long .
(localities) record
export . (QGIS ).
Action .
bash -c "echo \"%taxon_name %lat %long\" >>
/tmp/species_localities.txt"
4. 115
4.4.
Action
output .
Acacia mearnsii -34.0800000000 150.0800000000
Acacia mearnsii -34.9000000000 150.1200000000
Acacia mearnsii -35.2200000000 149.9300000000
Acacia mearnsii -32.2700000000 150.4100000000
.
URL
.
URL . QGIS
URL
http://google.com/search?q+qgis .
.
1.
2. Legend
Properties
Layer Properties .
3. Action[]
4. Google Search Action .
5. Action
. Firefox .
.
6. URL
. .
http://google.com/search?q=
7. Action Text .
firefox http://google.com/search?q=
8. lakes
Insert Field[ ]
.
9.
NAMES |
Insert Field[ ] .
4.21.
4. 117
4.4.
Action
Firefox
URL
http://www.google.com/search?q=Tustumena .
Action .
Action +
Insert Field[ ] .
Identify Result
.
Action .
viewer Action .
Action .
4.22.
.( 4.23).
,
.
labeling .
climate vector
Barchart . 2
4. 119
4.4.
4.23.
QGIS . (2.2 )
1.
QGIS Alaska.shp
climate.shp .
2. climate Layer Properties
.
3. Diagram[] Pie chart[ ]
.
4. 3 T_F_JAN, T_F_JUL
T_F_MEAN . T_F_JAN
+ . T_F_JUL T_F_MEAN
.
5. Linear
T_F_JUL .
scaling
OK
4.24.
4. 121
4.5.
4.5.
QGIS OGR, PostGIS
.
: GRASS .
9.7 .
QGIS Tip 15
QGIS 1.7.0
tracking .
.
4.5.1.
.
.
.
.
1. Setting[]
(
Edit
Option[]
QGIS
Option[] ) Digitizing[] ,
122 QGIS 1.7.0
4.5.1.
.
.
.
/ .
( ) feet .
1:10,000 300ft
.
2.
Setting[] (
File[] )
)
.
.
.
.
4.25.
4. 123
4.5.
QGIS .
,
. QGIS
.
.
Setting[]
Option[]
Digitizing[]
4.5.2. /
, /
. .
Pan[]
Zoom-in /
Zoom-out
.
/
, . /
, .
. Setting[]
Option[] Map tools[] .
4.5.3.
, ,
, .
. PgUp PgDn / .
Setting[] (
File[] )
Snapping option[]
.
Enable topological editing [
]
Avoid
Int [ ] .
Avoid Int [
].
.
4.5.3.
QGIS .
.
4. 125
4.5.
, (
), .
PostgreSQL/PostGIS
.
4.5.4 ,
.
View[]
Toolbars[] /
. .
4.2.
Toggle Editing[ ]
.
.
Toggle Editing[ ] .
,
.
QGIS Tip 16
Save Edits[ ] .
.
4.5.3.
Capture points[ ]
Capture line[ ]
Capture polygon[ ]
QGIS .
.
.
.
4.26.
.
.
4.26 rivers
.
Setting[]
Option[]
Digitizing[]
4. 127
4.5.
.
Reuse last entered attribute values[ ]
Suppress attributes pop-up windows after each created feature[
.]
Move Feature[ ]
.
QGIS Tip 17
shapefile .
Enter Attribute Value[ ]
.
Attribute Table[ ] .
Shape-file PostgreSQL/PostGIS
.
, .
,
. QGIS ,
.
.
Setting[]
Option[]
Digitizing[]
Search Radius[ ] 10
.
.
4.5.3.
QGIS Tip 18
QGIS , ,
3 .
Setting[]
Option[] Digitizing[]
Node Tool[ ]
.
.
.
.
.
: ,
.
.
.
Ctrl
Ctrl
Shift
. (,
,
.)
:
.
,
.
: Delete
4. 129
4.5.
Delete Selected[ ]
: .
, .
.
undo .
.
, .
, ,
Toggle Editing[ ]
, QGIS
, , .
. CSV , OGC
WKT(Well-Known Text) .
QGIS 1.7.x QGIS
. ?
/
. ? 5,000
,
.
, / .
.
1. ()
2. () .
3. .
4. .
4.5.3.
Select[ ]
5.
.
6.
Copy Feature[ ] .
7. .
8.
Paste Feature[ ] .
9. .
?(
) QGIS
.
. (
)
.
QGIS Tip 19
.
.
.
Select[ ]
.
.
Delete Selected[ ]
Cut Feature[ ]
.
.
Paste Feature[ ]
. , undo . ,
4. 131
4.5.
, .
.
QGIS Tip 20
ESRI shape file , QGIS GDAL 1.3.2
.
OS X QGIS GDAL 1.3.2
.
QGIS
. , .
Save Edits[ ]
, .
Toggle Editing[ ]
( QGIS )
. (
) QGIS
. .
QGIS Tip 21
. QGIS
, .
4.5.4.
Undo[]
Redo[]
.
, /
.( 4.27 )
4.5.4.
.
/ .
/
.
Undo[] ,
. (:
) ,
.
. .
4. 133
4.5.
4.3.
OK
. ( MultiPolygon[
]) .
Add Ring[ ]
. ,
.
,
.
Add Part[ ] (
)
. ,
.
Delete Ring[ ]
. .
4.5.4.
.
.
.
Delete Part[ ]
.
, . ,
.
, , , .
.
Reshape Feature[ ]
.
.
.
, .
.
.
.
.
. .
. .
,
.
: reshape .
4. 135
4.5.
,
.
Split Features[ ]
.
.
Merge selected Features[ ]
.
Rotate Point Symbols[ ]
.
Layer Properties Style[]
,
.
.
, .
( 4.28 ).
.
:
Ctrl 15 .
4.28.
Shape
New[]
Layer[]
4.29
(, , ) .
QGIS 2.5D (measure feature)
. shapefile .
4. 137
4.5.
OGR PostgreSQL
.
shapefile ,
, Add[ ]
. . id
.
Type
Real[] | ,
Type
Integer[] | ,
Type
String[]| .
OK
shapefile . .shp .
, 4.5.3
.
SpatiaLite
Layer[]
New[]
spatialite . 4.30
New Spatialite Layer[ Spatialite ] .
Spatialite spatialite
.
.
.
Create an
autoincrementing primary key [ ]
. spatialite
,
Add to attribute list[ ] .
4.5.6.
4.29. shapefile
OK .
, 4.5.3
.
Spatialite
OK Apply .
4.5.6.
.
4. 139
4.5.
4.30. SpatiaLite
,
. , , .
,
.
Layer[]
4.5.6.
.
. ( 4.31
)
.
.
.
.
.
Ctrl ,
Shift
4.31.
.
.
4. 141
4.5.
.
, .
.
.( ,
)
Look for[ ] . (
) Search[] .
.
. 4.6 .
Show selected only [
] .
Search selected only [ ]
.
Case sensitive [ ]
.
.
Unselected all[ ]
Ctrl+U
Ctrl+T
Invert selection[ ]
Ctrl+S
Ctrl+J
4.5.6.
OGR : Ctrl+W
Delete Column[ ]
PostGIS :
Ctrl+L
Ctrl+I
OGR
.
Save selection as[ ]
, (3.2.3 ) .
OGR .
QGIS Tip 22
PostGIS
. QGIS
. GDAL/OGR 1.6.0
.
QGIS .
OGR , , PostgresSQL
.
,
.
4. 143
4.6.
.
4.4.7 .
4.6.
Advanced search...[] Query Builder[
] , SQL
, shapefile
. , population towns
, SQL population
> 100000 10
. 4.32 PostgresSQL PostGIS
.
SQL .
Fields[]
. SQL
.
, , SQL where
.
Values[] .
, , All[]
.
Sample , .
SQL where
.
Operators[]
. SQL where
. (=, >, ),
(LIKE), (AND, OR, ) .
144 QGIS 1.7.0
Test
, .
Clear
SQL .
Save
Load SQL .
QGIS Tip 23
, SQL
.
Layer Properties[ ]
OK
QGIS 4.6
. 4.6
.
Select by Query[ ]
.
.
,
Open Attribute Table[ ]
.
Advanced search...[] .
4.6
.
4. 145
4.6.
4.32.
OGR
, .
Save selection as[ ]
, (3.2.3 )
. OGR .
4.7.
(
) .
146 QGIS 1.7.0
.
PostGIS GDAL 1.6.0 OGR
.
( 4.33
) .
,
, ,
4.33.
.
, (, ,
), , .
10 3 6
, 3 .
Fields[]
4. 147
4.7.
.
.
, .
Values[] .
All[]
. .
.
Operators[] .
.
(+,-,*, ), (sin, cos, tan, ), (,
) , (||)
.
!
. QGIS
_example_dataset railroads
.
Toggle editing[ ]
3.
] .
4. length ,
real, 10 3 .
5. length $length
OK
,
148 QGIS 1.7.0
4. 149
4.7.
4.4.
NULL
Null
sqrt(a)
sin(a)
a
cos(a)
a
tan(a)
a
asin(a)
a
acos(a)
a
atan(a)
a
to int(a)
a
to real(a)
a
to string(a)
a
lower(a)
a
upper(a)
a
length(a)
a
atan2(y,x)
y/x (arctan)
replace(a, replacethis,
a replacethis withthat
withthat)
a from len
substr(a,from,len)
( 1)
a || b
a b
$rownum
$area
$perimeter
$length
$id
feature id
$x
x
$y
y
a ^ b
a b
a * b
a b
a / b
a b
a + b
a b
a b
a b
+ a
a
- a
a
String
5.
. QGIS GDAL , Arc/Info Binary
Grid, Arc/Info ASCII Grid, GeoTIFF, Erdas Imagine
.
, GDAL 100
http://www.gdal.org/foramts_list.html .
: QGIS
. , ,
OS GDAL
. QGIS ,
. *.*
.
GRASS 9
.
5.1. ?
GIS ,
.
(QGIS
).
.
151
5.2. QGIS
,
.
X/Y . QGIS
.
QGIS ( GeoTiff) ,
world .
5.2. QGIS
Add Raster Layer[ ]
Layer[]
.
Open a GDAL Supported Raster Data Sources
[GDAL ]
Ctrl
Shift
.
,
.
Zoom to layer extent[ ]
Properties[]
Rename[ ]
Add Group[ ]
Expand all[ ]
Collapse all[ ]
5.3.
,
Properties[] .
5. 153
5.3.
.
. ( )
.
color map[ ]
color map |
Colormap[] .
5.3.3 .
3
3
. RGB
.
QGIS Tip 24
5.1.
NODATA .
Custom transpareny option[ ]
5. 155
5.3.
.
.
landcover.tif 20%
. .
1. landcover .
2. ,
Properties[]
Properties[] .
3. Transparency[] .
Add value manually[ ]
4.
.
5. ( 0 ) 20%
.
6. Apply[] .
4, 5
. ,
Export to file[ ]
Import to file[ ]
.(5.3.1 )
3 .
Discrete[]
156 QGIS 1.7.0
Linear[]
Exact[]
Add Entry[]
.
Delete Entry[]
.
Sort[]
.
. Select color ,
.
identify feature tool[ ]
.
( ).
Generate New Colormap[ ]
.
Number of classes[ ] 15
Classify[] .
Classification mode[ ]
Equal Interval[] |
5. 157
5.3.
, .
scale-dependent visibility[ ]
.
(CRS) PROJ.4 .
Specify[] .
.
,
.
,
. Histogram[]
Refresh[] . 5.3.7
.
.
Histogram[]
.
.
5.4.
QGIS Tip 25
pseudocolor[]
Apply . ,
QGIS ..
.
GDAL .
Raster bands[ ]
. raster calculater
expression[ ] .
.
Result layer[ ]
5. 159
5.4.
.
, X, Y ,
.
, nearest neighbor[ ]
.
Operation section[]
.
. ( +,-,* ), (sin, cos, tan,
)
.
!
Add result to project [ ]
.
5.5.
, QGIS 1.7 GDALTools
.
12.7 .
5.2.
5. 161
6. OGC
QGIS WMS WFS . WMS
WFS WFS-T .
6.1. OGC
Open Geospatial Consortium (OGC) 300
, ,
. OGC , GIS
.
,
GIS
(Specification) .
http://www.opengeospatial.org
.
OGC .
WMS - Web Map Service
WFS - Web Feature Service
WCS - Web Coverage Service
CAT - Web Catalog Service
SFS - Simple Features for SQL
GML - Geography Markup Language
163
6.2. WMS
OGC
. QGIS SFS, WFS, WMS 3
. SFS PostgreSQL/PostGIS (4.2
) WFS, WMS .
6.2. WMS
6.2.1. WMS
QGIS WMS 1.1 1.1.1, 1.3 WMS
. DEMIS JPL OnEarth
.
WMS (QGIS ) , ,
, WMS
. WMS
. QGIS JPEG PNG .
WMS
6.2.2. WMS
6.2.2. WMS
WMS ,
.
.
Add Layer(s) from a Server[ ]
, .
Add default servers[ ]
Layer[] WMS
. 6.1
WMS .
WMS
,
Settings[]
Option[] Network
,
Use proxy for web access [Web ]
.
Proxy type[ ]
. WMFS
QGIS .
6. OGC 165
6.2. WMS
6.1. WMS
Name
. Server Connections
WMS
URL
.
URL.
Ping
User
name
Password
.
WMS .
.
WMS .
Ignore
.
Ignore GetMap URI reported in capabilities
GetMap
URI
]
GetCapabilities GetMap URI
Ignore
URL .
Ignore GetFeatureInfo URI
GetFeatur
capabilities
eInfo URI
GetFeatureInfo URI ]
GetCapabilities
reported
[GetCapabilities
in
QGIS Tip 26
WMS URLs
.
.
(Options)
Options[] WMS /
.
.
WMS
.
Change...
WMS .
QGIS Tip 27
WMS JPEG PNG .
WMS
JPEG . JPEG PNG
6. OGC 167
6.2. WMS
5 .
PNG ..
6.1. WMS
(Layer Order)
Layer Order[ ] WMS
.
.
.
. ,
WMS QGIS .
QGIS Tip 28 WMS
WMS Layers
Layer Order[ ] .
(Transparency)
QGIS
.
QGIS Tip 29
WMS
WMS .
PNG GIF JPEG .
. 8.3
8.2 . WMS
8.2 WMS
WMS
.
QGIS Tip 30 WMS
, WMS
. WMS
.
(8.2 ) . WMS
WMS WMS
.
6. OGC 169
6.2. WMS
6.2.4. (Server-Search)
QGIS WMS .
Add Layer(s) from a Server[ ]
Search[] . ( 6.2 )
6.2. WMS
Search[]
. Layer[] .
QGIS
WMS .
Connect[] .
. http://geopole.org
API.
. WMS
.
.
6.2.6. Tilesets
http://labs.metacarta.com/wms-c/Basic.py
WMS-C (Cached WMS) , Tilesets[]
. , ,
.
View[]
,
.
6. OGC 171
6.2. WMS
6.2.7.
WMS , WMS
Identify Features[ ]
.
WMS .
, WMS
.
WMS ,
Properties[]
.
(Metadata Tab)
Metadata[] WMS
6.3.1. WFS
Layer Properties
Selected[]
.
Visible[] - Visible
.
Can Identify[ ]
.
[Identify]
Can be Transparent[ ]
,
QGIS .
Can Zoom In[ ]
,
QGIS WMS
, .
Cascade Count[ ] - WMS
WMS
.
Fixed Width[ ], Fixed Height[ ] -
. QGIS
.
WGS 84 Bounding Box[WGS 84 ] - WGS 84
Available in CRS[ ]
.
Available in style[ ]
WMS
WMS
6. OGC 173
. .
WMS
.
WMS .
WMS
WMS .
WMS . WMS
6.2.2 .
QGIS Tip 31 OGC
(basic authentication) WMS
, InteProxy
.
http://inteproxy.wald.intevation.org
InteProxy .
QGIS Tip 32 QGIS WMS MAPSERVER
1.7.0 QGIS WMS 1.3.0 (Map Server)
. 7 .
6.3.1. WFS
WFS
Plugin[]
Manage Plugins[ ]
plugin[WFS ]
OK
WFS
WMS
. . WFS
WMS
.
.
WFS
DM Solutions WFS
.
URL .
http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap
1. WFS ,
Plugin[]
Manage Plugins[ ]
.
2.
.
3. New[ ] .
4. Name[] DM Solutions
.
5. [URL]
http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap
.
6.
OK
6. OGC 175
7. Server Connections[]
DM Solutions |
.
8. Connect[] .
9. .
10. Parks .
6.3. WFS
11.
OK
12. .
, WFS
.
Only request features overlapping the current view extent[
] QGIS
WFS .
, ,
6.3.1. WFS
WFS ,
BBOX WFS
. WFS
.
QGIS
. ,
.
MapServer WFS
.
.
.
WFS WFS 1.0.0 .
WFS
,
. 13 .
QGIS Tip 33
WFS
WFS (Google)
. WFS URL
.
6. OGC 177
7. QGIS Server
QGIS Server WMS 1.3 ,
. QGIS
Server C++ FastCGI/CGI(Common Gateway Interface)
, (: Apache, Lighttpd) .
EU , Sany, Uster
.
QGIS GIS QGIS
. C++
Qt . WMS
QGIS SLD/SE
.
QGIS Publish to Webp[ ]
. QGIS
QGIS . QGIS
SLD .
QGIS
, GIS .
,
. SLD
, ,
.
QGIS .
URL .
179
http://karlinapp.ethz.ch/qgis_wms/
http://www.qgis.org/wiki/QGIS_mapserver_tutorial
http://linfiniti.com/2010/08/qgis-mapserver-a-wms
-server-for-the-masses/
QGIS
/usr/lib/cgibin/qgis_mapserv.fcgi qgis_mapserv.fcgi ,
WMS .
6.2.2
WMS
http://localhost/cgi-bin/qgis_mapserv.fcgi WMS
.
Project Properties[ ]
).
alaska_airports.qgs .
/usr/lib/cgi-bin/project
alaska_airports.qgs qgis_mapserv.fcgi .
.
WMS , 6.2.2
WMS URL http://loacalhost/cgi-bin/project/qgis_mapserv.fcgi
WMS . ( 7.3 ).
8.
QGIS ,
(Coordinate Reference System = ) .
(OTF: On The Fly) . QGIS
.
8.1.
QGIS 2700 .
QGIS SQLite
. .
,
. .
8.4 .
QGIS EPSG(European Petroleum Group)
IGNF(Institut Geographique National of France)
, GDAL
. EPSG QGIS
.
(OTF) ,
, ,
185
8.2.
. PostGIS
ID . OGR , QGIS
. Shape
, WKT(Well Known Text)
. Shape
.prj. , shape
alaska.shp alaska.prj
.
,
Setting[] (KDE,
Edit[] (Gnome,
OSX)
8.2.
QGIS (global
default projection) . EPSG:4326
WGS84(proj=longlat
+ellps=WGS84
+datum=WGS84
+no_defs) QGIS .
, QGIS
.
Edit[]
Options[]
Options[] (KDE,)
CRS[]
. 8.1 .
Prompt for CRS [ ]
Project wide default CRS will be used [
]
186 QGIS 1.7.0
, 4.6 .
8.1. QGIS
QGIS Tip 34
(3.2.3 )
.
Set Layer CRS[ CRS ]
.
General[] Select[CRS ]
.
8. 187
8.3. (OTF)
8.3. (OTF)
OGIS
. , .
,
Project Properties[ ]
] .
.
1.
Project Properties[ ]
2.
CRS status[ ]
3. Option[] CRS[]
Enable
projection [ ]
.
CRS status[ ]
,
.
Project Properties[ ]
CRS[]
8.2 5 .
8.2. Projection
1.
.
2. - , ,
QGIS .
.
.
3. Proj4text - Proj4
8. 189
8.4.
.
.
4. Search[] - EPSG ,
.
Find[] .
]
.
5. Recently used coordinate references systems[ ]
GIS ,
.
.
QGIS Tip 35
Project Properties
Edit[] (Gnome,
OSX)
(KDE,
CRS status[ ]
CRS[] .
8.4.
QGIS ,
.
Custom CRS[ ] .
QGIS .
,
.
8.3. Custom
QGIS Proj.4
. ,
Cartographic Projection Procedures for the
UNIX Environment - A User 's Manual (Gerald I. Evenden, US
Geological
Survey
Open-File
Report
90-284,
1990
http://download.osgeo.org/proj/OF90-284.pdf )
8. 191
8.4.
. proj.4
. proj.4
, QGIS .
Custom Coordinate Reference System Definition[ ]
.
1.
2. PROJ.4
New
Save[]
.
+proj=
. test[] Calculate[]
. Parameters[]
, WGS84 North East
. Calculate[]
.
9. GRASS GIS
GRASS GRASS GIS
. GRASS ,
, , ,
300 GRASS 2/3GRASS
. GRASS
. 9.1 GRASS
.
Open mapset[MAPSET ]
New mapset[ MAPSET]
Close mapset[MAPSET ]
Add GRASS vector layer[GRASS ]
Add GRASS raster layer[GRASS ]
Create new GRASS vector[ GRASS ]
Edit GRASS vector layer[GRASS ]
Open GRASS tools[GRASS ]
Display current GRASS region[ GRASS ]
Edit current GRASS region[ GRASS ]
193
9.1. GRASS
9.1. GRASS
GRASS , GRASS / QGIS
GRASS
Plugins[]
Manage Plugins[] ,
GRASS
, OK .
GRASS LOCATION(9.2 )
. GRASS LOCATION
(9.3.1 )
(9.4 ) GRASS (9.9 )
.
9.2. GRASS
GRASS
. QGIS
(2.2 ) .
GRASS LOCATION
.
1.
Grassdata
http://download.osgeo.org/qgis/data/ QGIS
qgis_sample_data. zip
.
2. QGIS .
3. GRASS Plugins[]
Manage Plugins[]
GRASS
GRASS . GRASS
.
4. GRASS
Open mapset[MAPSET ]
.
5. Gisdbase grassdata
.
6. LOCATION alaska MAPSET demo
.
7. OK . GRASS
.
8.
, gtopo30 [OK] .
.
9.
, alaska OK .
gtopo30 .
4.4 ,
.
10. rivers airports
.
GRASS
. GRASS LOCATION
.
http://grass.osgeo.org/download/data.php
GRASS LOCATION .
QGIS Tip 36
GRASS
QGIS
, GRASS .
(9.1)
12) 387
13) . r. external v. external
GRASS
GDAL/OGR .
GRASS
MAPSET
4. GRASS (GISDBASE) grassdata
LOCATION
. Next .
5. LOCATION(9.3.2 )
MAPSET LOCATION
.
Create new location [ ]
( 9.2 ).
6. LOCATION . alaska
Next .
7.
Projection[]
.
9. GRASS GIS 197
)
9. Find[] Albers Equal Area ()
.
10.
Next .
11. , , ,
LOCATION .
Set Current QGIS Extent[ QGIS ]
alaska.shp GRASS
.
12. Next .
13. LOCATION MAPSET .
. demo
.14)
14.
Finish
.
15. LOCATION alaska demo PERMANENT
MAPSET . MAPSET
demo.
LOCATION
14) LOCATION , GRASS
PERMANENT MAPSET (Neteler &
Mitasova 2008).
9.3.2. MAPSET
. alaska LOCATION
(9.4 ). QGIS alaska
(2.2) GRASS LOCATION alaska
9.5 .
9.3.2. MAPSET
GRASS MAPSET
. MAPSET
, MAPSET
. MAPSET WIND
. WIND MAPSET
.(Neteler & Mitasova 2008
[4]15), 9.8 ).
1. QGIS GRASS .
2. GRASS
MAPSET .
3. GRASS (GISDBASE) grassdata
alaska LOCATION . MAPSET
test .
4. Next .
5. LOCATION
MAPSET , LOCATION
. [ Select location] ( 9.2
) Next .
6. MAPSET test .
MAPSET
.
7. Next ,
Finish
Open mapset[MAPSET ]
MAPSET .
3. GRASS grassdata, LOCATION
alaska, MAPSET demo OK
.
4.
. GRASS (9.9 ) .
5. landcover.img Module Tree[ ]
r.in.gdal . GRASS GDAL
GRASS LOCATION .
r. in. gdal .
6. QGIS alaska raster
landcover. img .
7. landcover_grass Run[]
. Output[] GRASS r. in.
gdal -o input=/path/to/landcover. img output=landcover_grass
.
8. Succesfully finished[ ]
View output[ ] . landcover_grass
GRASS QGIS .
9. GML
lakes.gml
9.5. GRASS
finished
GRASS QGIS .
9.5. GRASS
GRASS
. GRASS .
,
.
, .
.
( ) .
.
,
'' . GRASS
,
. .16)
GRASS ''
. , , ,
. ,
.
. , ,
.
'' GRASS ''
16)
GRASS .
.
.
, .
, GRASS
.
GRASS GRASS LOCATION DBase SQLITE3
, PostgreSQL, MySQL, Oracle
.
'(Category)'
. ''(Key, ID)
,
.
9.6. GRASS
GRASS GRASS
Create new GRASS vector[ GRASS ]
. 9.7
, , .
GRASS (, ,
) . GRASS
. GRASS
. Shapefiles Simple Feature
(4.5.5 ) ,
.
QGIS Tip 38 GRASS
,
. ( 9.7 ).
9.7. GRASS
9.7. GRASS
GRASS
. , GRASS ,
. 9.4
GRASS .
.
QGIS Tip 39
GRASS
GRASS () , No category[
] .
Next not used[ ]
(label) .
.
9.3. GRASS
( )
( label )
(vertex)
(
)
, ,
, , (
)
( :
.)
(
)
9.4. GRASS
9.7. GRASS
Category[]
.
Mode[]:
. ,
Category[]: (id) .
.
Field(layer)[]: GRASS
.
1.
Setting[] (snapping)
.
.
(dangles) .
10 .
Symbology[] , (: / )
9.9.1. GRASS
Table[] ''
.
GRASS
. (9.6 )
9.5. GRASS
QGIS Tip 40
QGIS GRASS
'()'
.
.
9.8. GRASS
GRASS (
) .
.
9. GRASS GIS 207
9.8. GRASS
9.6. GRASS
9.7. GRASS
, GRASS
GRASS
$LOCATION/$MAPSET/WIND , , ,
, ,
.
Display current GRASS region[ GRASS ]
QGIS GRASS
.
Edit current GRASS region[ GRASS ]
QGIS GRASS
.
OK . QGIS
.
QGIS
OK .
GRASS g. region
.
9.9 GRASS
.
9.9. GRASS
Open GRASS tools[GRASS ]
GRASS
LOCATION MAPSET .
GRASS (
MAPSET ) LOCATION
MAPSET . GRASS
, LOCATION
MAPSET .
GRASS GRASS
GRASS (330 )
. ,
9.8. GRASS
200 GRASS
.
9.9.1. GRASS
QGIS GRASS
GRASS :
http://grass.osgeo.org/wiki/GRASS-QGIS_relevant_m
odule_list
9.9.2. GRASS
GRASS GRASS
GRASS (330 )
. ,
200 GRASS
.
.
QGIS 1.7.0
GRASS
GRASS
(http://grass.osgeo.org/wiki/GRASS-QGIS_relevant_mo
dule_list) .
GRASS
. 9.9.5 .
9.
GRASS
Option[] ,
Output[] ,
Manual[]
210 QGIS 1.7.0
9.9.2. GRASS
GRASS
Option[] QGIS
.
.
, GRASS
.
QGIS 1.7.0
Option[]
(a)
(b)
9.8. GRASS
9.9. GRASS
Output[] .
Run
Output[] ,
. ,
.
.
.
,
. .
g. manual
.
QGIS Tip 42
,
' (View Output)'
9.9.3. GRASS
(a)
(b)
(c)
9.9. GRASS
9.9.3. GRASS
GRASS
.
9.9. GRASS
(DEM)
. 9.4 Alaska LOCATION
.
Alaska .
demo gtopo30 .
.
Raster[]
Surface Management
[ ]
Generate vector contour lines[
] .
r. contour 9.9.2
. Name of input raster map
gtopo 30
100
. (
100 .)
Name for output vector map
ctour_100 .
Run[] .
.
View Output[] Close[] .
9.9.3. GRASS
(a) r. contour
(b) r. contour
9.9. GRASS
QGIS Tip 43
, . r. contour
. v. generalize
Chaikens ( Hermite splines) .
,
.
GRASS Vector[]
Develop map[
]
Generalization[ ]
v. generalize .
Name for input vector map
ctour_100
.
Chaikens .
Name for output vector
map
ctour_100_smooth Run[]
.
.
View Output[]
Close[] .
.
.
9.9.3. GRASS
r. contour
.
,
( ) .
Hillshade 3D
3
.
. 3
hillshading . hillshade
,
.
. () .
9.9. GRASS
gtopo30 . GRASS
Raster[] Shape analysis[
] Terrain analysis[ ] .
r.shade.relief .
azimuth angle
Shaded
relief
name
gtopo30_shade
Run[] .
, hillshade .
.
Hill shading gtopo30
hillshade gtopo30 , gtopo30
Properties[] Transparency[]
25% .
hillshade
gtopo30 . gtopo30_shade
hillshading .
GRASS
QGIS GRASS
, GRASS . ,
,
. GRASS (
) GRASS
,
.
r. shaded. relief
.
9.9.3. GRASS
Enter
r.shaded.relief
map=gtopo30
shade=gtopo30_shade2 azimuth=315 zmult=3
Browse[]
9.9. GRASS
gtopo30_shade2 QGIS
. gtopo30_shade2
.
,
gtopo30_shade2 gtopo30 ,
gtopo30 .
3D
.
.
, GRASS shapefiles
trees shapefile . (9.4 )
: GRASS
trees (centroids)
.
Vector[]
Develop map[ ]
Manage fetures[ ] v. centroids
.
output vector map forest_areas
.
forest_areas , ,
. Properties[]
Symbology
Unique value |
Legend
Type
. Classification field
VEGDESC . (4. 4. 1 )
, GRASS Vector[]
Vector
9.9.3. GRASS
9.9. GRASS
9.9.5. GRASS
Browser[]
LOCATION .
.
MAPSET .
MAPSET
.
9.9.5. GRASS
GRASS GRASS
. XML
. v. buffer (v. buffer. qgm)
XML .
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM
"http://mrcc.com/qgisgrassmodule.dtd">
<qgisgrassmodule label="Vector buffer" module="v.buffer">
<option key="input" typeoption="type"
layeroption="layer"/>
<option key="buffer"/>
<option key="output"/>
</qgisgrassmodule>
9.9. GRASS
, XML
.
QGIS
.
http://wiki.qgis.org/qgiswiki/Adding_New_Tools_to
_the_GRASS_Toolbox
10.
.
QGIS , , , , , ,
.
, , ,
.
, , , PDF, SVG17)
.
. 10.1 .
10.1.
SVG
QGIS
225
10.1.
,
.
.
10.1.
QGIS
,
. ,
File[]
10.2.
10.1.
, QGIS
, , , , , ,
. 10.1
Snap to grid [ ]
. 3 .
General[] , , (dpi)
,
.
Snap to grid [ ]
0 .
Print as raster [
10. 227
10.3. QGIS
] ,
.
Item[] .
Select/Move item[ /]
(, , ) Item[]
,
.
Command history[ ]
.
.
,
, , .
, .
, Delete Backspace
.
10.3. QGIS
QGIS .
Item[] 3
:
Rectangle[] | ,
.
228 QGIS 1.7.0
Cache[] |
.
, /.
Render[] |
.
.
.
Select/Move item[ /]
,
.
Item[] , .
.
.
Item[]
[ ]
.
: QGIS 1.7.0 (new
labeling plugin) ,
.
.
10. 229
10.3. QGIS
10.3.1. -
(a)
(b)
10.2.
Map[]
( 10.2a ):
Preview[]
-Rectangle[], Cache[], Render[]-
.
Update preview[ ] .
Map[]
. 0 |
. )
0 .
Lock layers for map items
[ ]
Draw map canvas items [
] .
10.3.1.
, , , , QGIS
Update preview[ ] .
( 10.2b ):
Mapextent X
.
QGIS , , ,
,
Item[] Update preview[ ]
( 10.2a )
10.3.2. -
(10.3).
Show grid[ ?]
.
. X Y , XY,
.
Draw annotation[ ]
.
. , ,
10. 231
10.4.
. , ,
.
(
10.3b):
,
Position[ ]
.
Show frame[ ]
.
10.4.
QGIS ,
, , , ,
.
10.4.1. -
Add label[ ] ,
.
.
10.4.1.
(b)
(a)
10.3. -
( 10.4a ):
. ,
, mm
.
10. 233
10.4.
( 10.4b ):
,
Position[ ]
.
Show frame[ ]
.
(a)
(b)
10.4.
10.4.2.
10.4.2. -
Add image[ ]
.
.
( 10.5a):
Search directories[ ] SVG
.
Preview[]
.
Options[] ,
, .
SVG .
Sync from map [
] , QGIS
( ) .
( 10.5b)
,
.
Position[ ]
10. 235
10.4.
(b)
(a)
10.5.
10.4.3.
10.4.3. - ,
(a)
(b)
(c)
10.6. ,
10. 237
10.4.
.
.
/ .
( 10.6a)
. ,
,
. , ,
.
( 10.6b)
.
, ,
. QGIS
Update .
Up
Down
( 10.6c)
10.4.4.
Position[ ]
,
.
Show frame[ ]
.
10.4.4. -
.
.
/ .
( 10.7a):
,
.
.
.
, // ,
.
, , ,
. ,
.
10. 239
10.4.
(b)
(a)
10.7.
.( 10.7b)
.
Position[ ]
.
Show frame[ ]
.
10.5.
4 .
Zoom in[]
Zoom out[]
Zoom to full extend[]
Refresh the view[ ] ,
..
10.6.
. .
Revert last changes[ ]
Restore last changes[ ]
Command history[ ]
. ( 10.8 ).
10. 241
10.5
10.8.
10.7.
(a)
(b)
10.9.:
(, , )
.
Shape , ,
. , , ,
.
Arrow
. , ,
, , , SVG
. SVG
SVG .
10.8.
(a)
(b)
10.10.:
10. 243
10.8.
( 10.10a ):
,
.
.
.
.
( 10.10b ):
,
. Position[ ]
Set items position[ ] ,
Show frame[ ]
.
10.9. , ,
.
244 QGIS 1.7.0
. ( 10.1 ).
Align selected items[ ]
( 10.1 ).
. .
10.10.
10.11
.
,
() :
Print[]
.
Export as Image[ ]
PNG,
canvas PDF .
Export as SVG[SVG ]
10. 245
10.10.
10.11.
Save as template[ ]
*.qpt ,
Load from template[ ]
10.11. , , ,
File[]
Composer Manager[ ]
Composer Manager[ ]
10.12.
10. 247
11.1.
Python Plugin Manager
. Python
Plugin Installer , .
Plugin
Manager .
249
11.1.
11.1.1. QGIS
QGIS Plugins[]
Manage Plugins[] .
OK .
, QGIS
11.1.2. QGIS
.
QGIS Tip 45
QGIS , .
, ( 3.7 )
.
false .
Delimited text plugin
Linux $HOME /.config/QuantumGIS/qgis.conf
, Add Delimited Text Layer = false
. [Plugins]
. QGIS Plugin Manager
1
.
11.1.2. QGIS
QGIS Python .
QGIS QGIS
.
Fetch Python Plugins[Python ]
11.1.
Repositories[]
Plugin
Python
Plugins[]
Plugins[]
Manage Plugins[]
11.2. Python
Plugin Manager[ ]
Plugin
.
(new) - .
(installed) -
.
Downgrade Plugin[ ]
11.1.
.
(upgradeable) -
.
Upgrade Plugin[ ] ,
Upgrade all[ ] .
(invalid) -
.
.
(Plugins tab)
Install Plugin[ ]
.
. OS .
Linux unix :
. /share/qgis/python/plugins
/home/$USERNAME/.qgis/python/plugins
Mac OS X :
./Contents/MacOS/share/qgis/python/plugins
/Users/$USERNAME/.qgis/python/plugins
Windows :
C:\Program Files\QGIS\python\plugins
C:\DocumentsandSettings\$USERNAME\.qgis\python\plu
gins
.
.
Python (missing) .
.
OS
.
Linux
.
Windows .
Options[]
Gnome,
OSX
Windows
KDE,
Edit[]
Settings[]
Options[] Proxy
.
Uninstall Plugin[ ]
.
,
Uninstall Plugin[ ]
Quntum GIS .
.
(Repositories tab)
11.1.
Edit[]
.
(Option tab)
Options[] Plugin Installer[ ]
.
Check for updates on startup [
] QGIS
.
Repositories[] .
1 1
.
.
Plugin Installer[ ]
.
(plugin installer) 80
,
. QGIS
a looking for new plugins ...
, .
.
Python Plugin Installer
.
:
(experimental)
(experimental)
QGIS Tip 47
. '' ' '
. QGIS
12. QGIS
12.1. 26 QGIS
X, Y
12.3
12.1
12.2.1
4.4.12
()
DXF2Shape
eVis
fTools
GPS
GRASS
DXF SHP
4.4.2
12.4
12.5
, , geoprocessing,
GPS
GRASS
12.6
12.9
9
:
GDAL
12.7
Georeferencer
[]
GDAL
MapServer
GDAL
QGIS
MapServer
12.8
12.10
12.11
259
OpenStreetM
ap
Spatial
OpenStreetMap
GeoRasters
GeoRaster
Python plugin
, , DEM
SPIT
SQL
anywhere
WFS
Shapefile
Postgres/PostGIS
SQL anywhere
12.2.2
12.12
12.14
12.13
11.1.3
12.15
12. 16
4.2.4
12.18
12.2.3
12.17
QGIS WFS
6.3
12.1.
(CRS: Coordinate Reference Systems)
.
12.1.
1. QGIS Setting[] (KDE, )
File[] (Gnome,
OSX)
Project Properties[ ]
CRS[]
.
CRS status[ ] .
2.
(11.1.1
Panels[]
View[]
Coordinate Capture [ ]
. 12.1
.
12.2.
4.
CRS status[ ]
.
5. Start capture[ ] .
.
6.
Mouse tracking[]
.
7. .
12.2.
,
.
.
12.2.1.
.
1. .
2. Plugins[]
Copyright Label[ ]
Decorations[]
Copyright Label[ ] .
3. .
HTML .
4. Placement[] Bottom Right[] |
.
12.2.2.
5.
6. OK .
()
.
12.2.2.
. .
QGIS
. QGIS
.
.
12.3.
12.2.
12.2.3.
.
. QGIS
.
. ,
.
:
1. Plugins[]
Decorations[]
Scale Bar[]
Scale Bar[] .
4. Color of bar[ ]
.
5. Size of bar[ ] 30 degrees
6.
.
Enable scale bar [ ]
.
Automatically snap to round number on resize[
7.
]
.
8. OK .
QGIS Tip 48
.qgs , ,
,
.
12.4.
12.3.
Delimited Text Plugin[ ]
QGIS .
,
.
1. ( ) .
.
2. X Y .
.
3. x y .
.
elevp.csv .
12.3.
QGIS (2.2 ) .
X; Y; ELEV
-300120; 7;689;960; 13
-654360; 7;562;040; 52
1640; 7512840; 3
[. . . ]
.
1. ; .
.
2. . X, Y ELEV .
3. (") .
4. x X .
5. y Y .
11.1
.
12. 5 .
Browse[]
(:
qgis_sample_data/CSV/elevp.csv) .
, ( (;))
.
. \t(
+ t) .
, X Y
, WKT .
12. 5 (: elevp)
266 QGIS 1.7.0
OK .
QGIS .
12.5.
12.4. Dxf2Shp
dxf2shape DXF Shapefile
.
.
DXF : DXF .
SHP : Shapefile .
: Shapefile .
, , .
: ,
12.4. Dxf2Shp
12.6. Dxf2Shape
1. QGIS , Dxf2Shape
(11. 1. 1 ), QGIS
Dxf2Shape Converter . Dxf2Shape
12.6 .
2. DXF , , .
Export text labels [
3.
] .
4. OK .
12.5. eVis
eVis (AMNH)
(CBC)20) .
.
(, X,Y )
QGIS
. eVis QGIS
,
(11.1 ). eVis
,
. ,
,
.
12.5.1.
QGIS
.
, QGIS
. ,
,
.
QGIS .
20) Horning, N., K. Koy, P. Ersts. 2009. eVis (v1. 1. 0) Users
Guide. American Museum of Natural History, Center for Biodiversity and
Conservation .
http://biodiversityinformatics.amnh.org/ GNU FDL
.
12.5. eVis
12.7. eVis
Event Browser[eVis ]
Plugins[]
eVis
12.5.1.
Display
.
.
(A):
(B): .
,
.
(C): .
(D): .
(E):
.
,
.
.
(F): ,
.
(G):
.
(A):
URL
.
Path is relative[]
.
.
12.5.1 .
12. QGIS 271
12.5. eVis
12.8. eVis
Compass Bearing[ ](B):
.
,
Display
Compass Bearing[ ] .
Compass Offset[ ](C):
.
Mannual[]
, ,
From Attribute[] .
+, .
12.5.1.
12.9. eVis
(A): eVis
.
12.5. eVis
.
,
.
(B):
.
(C): .
, URL
. 12. 2 .
, eVis
. Event Browser[
] [ ]
.
URL .
, URL . :
URL .
.
12.2. , URL
X
C:\Workshop\eVis_Data\g
780,596
1,784,017
roundphotos\DSC_0168.JP
275
780,596
1,784,017
G
/groundphotos/DSC_0169.
80
12.5.1.
JPG
http://biodiversityinfo
780,819
1,784,015
rmatics.amnh.org/evis_t
10
est_data/DSC_0170.JPG
pdf:http://www.testsite
780,596
1,784,017
.com/attachments.php?at
76
tachment_id-12
,
.
.
( eVis
) ,
,
.
.
, [ ]
.
, eVis
.
Compass Bearing[] ,
. ,
.
.
12.5. eVis
12.5.2.
, QGIS
, .
, ,
.
QGIS
.
Event ID[eVis ]
Plugins[]
eVis
Event ID Too[eVis ]
. "i"
.
, QGIS
. , Generic
Event Browser[ ]
.
, / .
12.5.1 .
12.5.3.
ODDBC .
eVis Microsoft Access, PostgreSQL, MySQL, SQLite 4
. ODBC(: Excel
12.5.3.
) . ODBC
, ODBC
.
eVis Connection[eVis ]
Plugins[]
eVis
Database Connection[eVis ]
Database Connection[ ] .
Predefined Queries[ ] ,
. Output Console[ ]
.
Database Connection[ ] .
Database Type[ ]
.
, .
. MSAccess
.
localhost .
. ODBC
, .
Connect[] .
.
12.5. eVis
.
:
:
: MYSQL PostgreSQL
:
:
:
:
:
: " "
: " "
SQL : "SQL "
:
OK: " "
SQL
SQL ODBC
. eVis ,
QGIS .
SQL Query[SQL] , SQL
. SQL
http://www.w3schools.com/sql/ . ,
Excel , select * from
[sheet1$] . "sheet1" .
12.5.3.
Run Query[ ] .
, " "
.
.
12.10. eVis
Name of New Layer[
]
.
SQL : SQL
SQL :
12. QGIS 279
12.5. eVis
:
:
OK: " "
X Coordinate
Y Coordinate
12.5.3.
"shapefile " .
.
Open File[ ]
. SQL
.
Open File[ ]
XML
,
.
, SQL
.
.
SQL Query[SQL] Run Query[ ]
.
.
.
Open Query File[ ]: " "
XML
.
Predefined Queries[ ]: XML
.
Query description[ ]: .
.
Console Window[ ]: .
12. QGIS 281
12.5. eVis
12.12. eVis
: .
OK: " " .
QGIS Tip 49
Microsoft Excel ,
0
. 'backspace'
. Excel ( QGIS
.) Edit[]-Delete[]
.
.
12.5.3.
eVis XML
query
shortdescription
description
databasetype
databaseport
databaseName
.
eVis
.
.
.
.
.
databaseusernam
e
databasepassword
sqlstatement
SQL .
autoconnect
( "true"
"false").
XML .:
<?xml version="1. 0"?>
<doc>
<query>
12. QGIS 283
12.5. eVis
12.6. fTools
fTools
12. QGIS 285
12.6. fTools
, GIS
. fTools
. QGIS
fTools ,
, (11.1 )
. fTools , QGIS Vector[]
fTools Information
12.4. fTools
fTools
Distance
Matrix
Sum Line
Length
Points in
Polygon
List Unique
values
a)
, b) , c)
. K
.
.
Basic Statistics (, , N,
, CV) .
Nearest
Neighbor
Analysis
Mean
ID
Coodinates
Line
Intersection
.
shapefile
.
, > 0
.
12.6. fTools
12.5. fTools
fTools
Random
Selection
n n%
.
Random
Selection
within subsets
ID
.
Random
Points
(pseudo-random points) .
Regular Points
shapefile .
Vector Grid
Select by
location
Polygon from
layer extent
fTools Geoprocessing
Convex Hulls
Buffers
Intersects
Union
Symmetrical
Differnce
ID
()
.
.
.
.
.
Clip
Difference
Dissolve
.
.
.
12.6. fTools
12.7. fTools
fTools
Check
Geometry
, ,
.
Export/Add
geometry
columns
(, ) .
Poligon
centroid
Delaunay
triangulatio
ne
() .
Voronoi
Polygon
voronoi
Simplify
geometry
Douglas - Peucker
Multipart to
single parts
(multipart)
(singlepart)
Singleparts
to multipart
Polygon to
lines
Line to
polygon
Extract
nodes
ID
(multipart)
.
,
(singlepart)
.
,
singlepart .
.
12.6. fTools
12.8. fTools
fTools
Export to
projection
shapefile .
Define
projection
shapefiles
Join
attributes by
location
shapefile .
Split vector
layer
Merge
shapefiles
(, , )
shape
shapefile
shapefile .
12.7.2. GDAL
12.7. GDAL
12.7.1. GDALTools ?
GDAL (Geospatial
Data Abstraction Library), http://gdal.osgeo.org
GUI . GDAL
, , (warp), .
DEM () ,
vrt (XML )
. GDAL
.
12.7.2. GDAL
GDAL ,
.
. GDAL
, .
12.9. GDAL
Build
virtual
raster
gdal VRT (
) .
()
Contour
(DEM)
12.7. GDAL
Rasterize
(
)
Polygonize
(
)
.
(, ) .
OGR . ,
(fly reporjection)
.
. .
,
ESRI shapefile .
Merge
.
.
.
.
gdal_sieve. py (
Seive
)
.
,
.
Proximity
(
)
gdal_proximity. py
.
.
Near Black
( ) (
) .
,
.
12.7.2. GDAL
gdalwarp ,
Warp
.
,
GCP .
Grid
()
Translate
()
Informatio
n
Assign
Projection
OGR
() .
,
.
gdal_translate
.
, ,
.
gdalinfo GDAL
.
---- . ( wrap
)
Build
Overview
gdaladdo downsampling
()
Clipper
---
RGB to
PCT
RGB
PCT
. ( Merge
12.7. GDAL
Floyd-Steinberg dithering( ) .
PCT to
RGB
PCT
RGB
(pseudocolor band)
RGB .
Tile Index
,
,
shapefile .
DEM
(DEM) .
terrain
GDAL
models
, , , ,
DEM ,
12.7.3.
12.13. GDALTools
12.7.3.
GDAL .
SRTM .
GDALwarp
.
Albers (QGIS )
WGS84 (4326 EPSG) .
12.7. GDAL
12.14.
12.15.
12.7.3.
12.16.
12.17. GCAL
12.8. Georeference[]
12.8. Georeference[]
world
. ,
GeoTiff world
.
.
12.16.
GDAL
GCP
GCP
GCP
QGIS
QGIS
QGIS
Georeferencer[] . 12.18
georeferencer[] .
, SDGS topo
. GRASS spearfish60 LOCATION
.
.
http://grass.osgeo.org/sampledata/spearfish_topo
sheet.tar.gz
12.8. Georeference[]
12.18. georeferencer[]
(Ground Control Points: GCPs)
1. (georeferencing),
.
, .
2.
Add Point[ ]
( 12.19 ).
.
A. X Y
.
B.
QGIS ,
.
C. GCP
.
3. GCP . 4 ,
. GCP
, //
.
12.19.
([
].points) .
.
mapX, mapY, pixelX, pixelY .
GCP Points[GCP ]
oad
] . GCP
. GCP
.
GCP ,
.
12.8. Georeference[]
12.20. georeferencer[ ]
.
.
.
Linear Algorithm[ ] world
, .
,
.
Helmert transformation[ , ]
(scale) .
Polynominal algorithm[ ] 1-3
,
. polynomial 2
(
) . 1 (affine)
, .
Thin plate spline(TPS)[ ]
.
.
Projective transformation[ ]
.
.
(Nearest neighbor) , ,
.
5
.
1. (Nearest neighbour)
2. (Linear)
3. (Cubic)
4. (Cubic Spline)
5. Lanczos
.
Create world file [ ] linear
transformation[ ] .
. world , Output[
] .
Output Raster[
12. QGIS 305
12.8. Georeference[]
] .
([ ] _modified) .
(8
).
PDF PDF .
,
, GCP RMS .
Settings[]
Raster Properties[ ]
.
Georeferencer[]
GCP ID .
(map unit)
.
PDF ,
PDF .
] .
GCPs
Start georeferencing[ ] ,
12.9. GPS
12.9.1. GPS ?
GPS ( ) GPS
. GPS ,
.
GPS , , ()
. ( ),
(,
) . ,
GPS . QGIS GPS
(linestring)
.
12.9.2. GPS
GPS . QGIS
GPX (GPS eXchange format, GPS )
, ,
.
12.9. GPS
GPX
Plugins[]
Manage Plugins[]
.
GPS
Tools[GPS ] .
GPS . GPX
QGIS
.
/qgis_sample_data/gps /national_monuments.gpx.
2.2 .
1.
.
2. Browse[] qgis_sample_data/gps/
GPX national_monuments.gpx
Open[] .
12.21. GPS
GPX
.
OK
. national_monuments.gpx
.
12.9.5. GPS
12.9.3. GPSBabel
QGIS GPX , GPS
GPX
.
GPS
http://www.gpsbabel.org GPSBabel
. GPS
GPS . QGIS GPSBabel
GPSBabel
. , GPX
. GPSBabel 1.2.3 QGIS ,
.
12.9.4. GPS
GPX GPS , GPS
Import other file[ ]
. ,
, GPX ,
. GPS
,
.
12.9.5. GPS
QGIS GPSBabel GPS
. GPS
Download from GPS[GPS ]
( 12.22 ). GPS ,
12.9. GPS
( USB), , GPX
, .
12.22.
GPS GPS ,
GPSBabel GPS . GPS
(12.9.7
).
, GPS
. USB GPS
USB .
OK
/dev/ttyS0 /dev/ttyS1
COM1 COM2 .
12.9.6. GPS
GPS Upload to GPS[GPS ]
12.9.6. GPS
QGIS GPS
. (GPX
), GPS , ( USB)
.
. QGIS
.
GPS
.
12.9.7. GPS
GPS .
QGIS
Upload to GPS[GPS ]
.
Edit devices[ ] GPS
New device[ ] , /
Update device[]
.
.
. GPX
. GPSBabel , GPX
. QGIS %type, %in, and %out
.
%type "-w",
12.10.
"-r",
"-t"
GPSBabel
. %in , %out
GPX
. gpsbabel
%type -i garmin -o gpx %in %out (
GPS device: Garmin serial |
), /dev/ttyS0 output.gpx
, QGIS gpsbabel -w -i
garmin -o gpx /dev/ttyS0 output. gpx
.
GPS
. %in
%out .
GPSBabel
http://www.gpsbabel.org .
12.10.
(interpolation) TIN
IDW .
,
( 12.23 ).
.
: QGIS
.
. :
Type
: (attribute column) .
Use Z-Coordinate [ z ] Z
.
: . Triangulated Irregular Network
(TIN)[
(TIN)]
... |
Inverse
Distance
12.23.
1. QGIS . (:
elevp.csv).
2. (11.1.1 )
QGIS
Interpolation[]
. 12.23 .
3. ( : elevp ... | ) (: ELEV)
.
4. (Triangulated Irregular Network (TIN)[
12.10.
OK
. ,
.
6. (: elevation_tin)
" " .
Style[]
12.11.1. .
12.11. MapServer
QGIS ,
MapServer
.
12.11.1.
MapServer Export[MapServer ]
, QGIS
. .
MapServer ,
MapServer ,
QGIS .
MapServer
. QGIS
(2.2 ) .
1.
landcover. tif .
2.
File[]
Save Project[ ]
mapserverproject.qgs
.
12.11. MapServer
12.25. QGIS
12.11.2.
QGIS MapServer
msexport, QGIS QGIS
. QGIS
, MapServer
(11.1.1 ).
.
.
12.11.2. .
12.26. MapServer
QGIS
QGIS (.qgs) .
.
. mapserver
.
. ()
. ()
12.11. MapServer
MapServer
MapServer
MapServer
MapServer .
QGIS . ,
,
. QGIS
, .
mapserverproject.qgs ( 12.26 )
.
1.
MapServer Export
MapServer ( 12.26 ).
2. (: qgisproject.map).
3.
QGIS
mapserverproject.qgs) .
4. (: MyMap) .
(:
5. (: 600, 400)
.
6. (m)
318 QGIS 1.7.0
12.11.3. .
.
7. "PNG" .
8.
OK
qgisproject.map .
.
, MapServer WMS
.
12.11.3.
.
shp2img .
shp2img MapServer FWTools .
.
shp2img -m qgisproject.map -o mapserver_test.png .
QGIS
PNG . , PNG
. 12.27 ,
.
WMS ,
. ,
, .
Christopher Schmidt 5 , QGIS
.
QGIS( 0. 8) ,
.21)
12. QGIS 319
12.12.
12.12.
,
.
, PostGIS
.
,
, .
Offline Editing[ ] , spatialite
( PostGIS WFS-T)
,
, . ,
.
21) http://openlayers.org/presentations/mappingyourdata/
12.13.1.
PostGIS WFS-T
.
.
' '
. spatialite .
.
, ''
.
12.13. GeoRaster
(Spatial Extension) Oracle
SDO_GEORASTER
12.13. GeoRaster
. QGIS
GDAL ,
.
. GeoRaster
.
$
gdal_translate
geor:scott/tiger@orcl
-of
georaster
input_file.tif
GDAL_IMPORT RASTER
.
12.13.1.
GeoRaster
(11. 1. 1 ). QGIS GeoRaster
, Oracle
.
Oracle GeoRaster Plugin[Oracle GeoRaster ] "
( 12.29 ).
: .
:
.
:
.
:
12.13.2. GeoRaster
12.29.
OK , "
GeoRaster" ( 12.30 ) .
Connect[]
Edit[]
, Delete[]
.
12.13.2. GeoRaster
GeoRaster
., GDAL
.
12. QGIS 323
12.13. GeoRaster
Select
.
GeoRaster .
, GeoRaster ,
.
,
Select
/ . GeoRaster
. ,
ID .
GeoRaster
,
.
12.30. GeoRaster
324 QGIS 1.7.0
12.13.3. GeoRaster
Selection[]
geor:scott/tiger@orcl,gdal_import,raster,geoid=
Where .
http://www.gdal.org/frmt_georaster. html
.
12.13.3. GeoRaster
, ID
GeoRaster , , QGIS .
" Spatial GeoRaster " .
,
,
.
: GeoRaster ,
. QGIS PL/SQL
gdaladdo .
gdaladdo :
gdaladdo
georaster:scott/tiger@orcl,georaster\_table,georaster,geo
rid=6 -r
nearest 2 4 6 8 16 32
PL/SQL
$ sqlplus scott/tiger
SQL> DECLARE
gr sdo_georaster;
BEGIN
12.14. OpenStreetMap
SELECT image INTO gr FROM cities WHERE id = 1 FOR
UPDATE;
sdo_geor. generatePyramid(gr, rLevel=5,
resampling=NN);
UPDATE cities SET image = gr WHERE id = 1;
COMMIT;
END;
/
12.14. OpenStreetMap
OpenStreetMap .
. OSM GPS ,
.
QGIS , OSM
.
OSM
. , , , ,
OpenStreetMap
. OSM , OSM
. OSM
.
OSM . OSM
.
OpenStreetMap
http://www.openstreetmap.org .
OpenStreetMap
OpenStreetMap
. OpenStreetMap GPS , ,
.
, ,
.
. OSM
, Creative Commons Attribution ShareAlike 2. 0
.
OpenStreetMap .
( 12.31 )
Edit[]
, .
GPS ,
.
12.31. OpenStreetMap
OSM API
12. QGIS 327
12.14. OpenStreetMap
. (Node), (Way),
(Relation) .
/ .
(Point of Interest[ ]) .
,
.
.
:
. ,
.
(' ', ', '
', ' ' )
. OSM
, (key) (value) . OSM
XML . XML OSM
.
QGIS - OSM
OSM QGIS
. , OSM
, , . QGIS
, , . ,
.
. , (way)
.
(way)
. , .
328 QGIS 1.7.0
(way)
.
OpenStreetMap (relation)
.
.
. , ,
.
OSM QGIS
. QGIS
, .
OSM QGIS , (
) ,
.
QGIS OSM
. OSM .
QGIS ,
OSM OSM .
QGIS OSM ()
.
, OSM
.
ID .
.
OSM OSM
. , OSM
. OSM , , ,
, .
: OSM QGIS
QuantumGIS .
12.14. OpenStreetMap
12.14.1.
OpenStreetMap QGIS . Python
11.1.1 ,
OpenStreetMap Plugin .
12.14.2.
OSM QGIS
, 12.32
.
12.32. OSM
OSM
OSM OSM .
. OSM
330 QGIS 1.7.0
12.14.2.
.
.
. OSM
.
OSM /
/
. , ,
.
OSM / . OSM
.
Load OSM from file [ OSM ]:
OpenStreetMap
XML .
Show/Hide OSM Feature [OSM
/]
OSM . OSM
OSM .
Download OSM data [ OSM ] OpenStreetMap
.
Upload OSM [ OSM ] ( )
.
Import data from a layer [ ]
.
OSM
.
Save OSM to file [OSM ] OSM
XML .
12.14. OpenStreetMap
,
(, ) .
12.14.3. OSM
OSM OSM
. OSM shapefile
OpenStreetMap .
.
Load OSM from file
. , QGIS
OpenStreetMap
.
View[]
Toolbars[]
OpenStreetMap
12.33. OSM
.
.
OpenStreetMap file to load ( OSM ):
OSM .
Add columns for tags ( ): OSM
332 QGIS 1.7.0
12.14.4. OSM
QGIS . OSM
( ) .
QGIS ( ) .
QGIS
OSM
.
Replace current data ( ):
.
. OSM
.
Use custom renderer ( ):
. OSM
.
OSM ,
, Small scale . Medium scale
Large scale
. QGIS 1.7.0
.
OK
. OSM
,
. ,
.
12.14.4. OSM
OSM , OSM
Identify Features[ ]
12.14. OpenStreetMap
. , OSM
. ,
.
Properties[] .
Relation[]
.
.
.
.
.
. .
.
.
.
12.14.5. OSM
OSM OSM
.
. OSM .
, .
.
/ ,
OpenStreetMap .
OSM /
12.14.5. OSM
. OSM
. .
12.34. OSM
Value
.
OSM
Create point[ ] .
12.14. OpenStreetMap
, .
,
/ . ,
.
.
.
12.35. OSM
(snapping) .
Ctrl
.
Create line[ ]
.
.
.
.
: 2 .
.
(
) (snapping) .
Ctrl .
12.14.5. OSM
Create polygon[ ]
.
.
.
.
. .
. (
) (snapping)
. Ctrl
.
Move feature[ ] .
( .)
.
.
.
.
.
.
,
.
. (snapping)
.
(/ )
.
/
.
12.14. OpenStreetMap
/ snapping
. , OSM /
3 .
. Ctrl
.
, .
OSM
. / , /
. , /
. / ,
/ ()
.
.
2 . ,
.
,
.
, .
12.14.6.
OSM OSM
. ,
( ), ,
.
. QGIS OSM .
338 QGIS 1.7.0
12.14.6.
, , , .
,
. OSM
Relation[]
.
.
. Relation Tag[ ]
. Relation Members[ ]
.
.
:
1. OSM
Move feature[ ]
2. OSM
Relation[]
Add relation
. ,
,
. ,
.
.
.
,
Generate tags
.
. .
,
12.14. OpenStreetMap
Identify Features[ ]
.
, OK .
.
(
).
OSM
.
. , ,
. OK
.
12.14.7. OSM
OSM OpenStreetMap
Download OSM data . QGIS
OSM .
Settings[]
Toolbars[]
OpenStreetMap
.
.
(Extent):
. OpenStreetMap
.
.
help
12.14.7. OSM
12.36. OSM
(Download to):
.
Browse[] .
(Open data automatically after
download): QGIS
. ,
Load OSM from file .
12.14. OpenStreetMap
. OSM
,
. QGIS 1.7.0
Download
.
,
.
.
.
12.14.8. OSM
OSM . ,
OSM , OSM
. OSM
OSM .
Toolbars[]
View[]
OpenStreetMap
. Upload .
. .
.
.
12.14.9. OSM
12.37. OSM
12.14.9. OSM
XML
12. QGIS 343
12.14. OpenStreetMap
Save OSM to file . QGIS
OSM .
Toolbars[]
View[]
OpenStreetMap
. .
12.38. OSM
OK
. OSM
XML . OSM
0. 6. OSM (<node>, <way>,
<relation>) (changesets) uids
. . OSM
XML 0.6 DTD .
OSM .
.
. /
.
12.14.10. OSM
OSM OSM
. OSM
.
.
:
12.39. OSM
. OSM
.
.
OK OSM .
.
12.15.
, , (ruggedness)
(DEM)
. ,
( 12.
12.15.
12.40. OSM
41 ). .
(Analysis): , , ruggedness,
(Input layer):
.
(Output layer):
.
(Output format):
( GeoTiff ).
(Slope): ((degrees) ). 1
(Aspect): ( 0
, )
(Ruggedness):
(Total curvature) : ,
12.41.
1. QGIS DEM .
2. (11.1.1
),
QGIS
. 12. 41
.
3. (: Slope[] ) .
4. .
5.
OK
12.16.
12.16.
Road Graph[ ]
,
C++ .
,
(
)
QGIS
.
. ,
, .
.
.
.
- ;
- .
,
.
,
.
.
348 QGIS 1.7.0
QGIS
. Plugins[]
Road Graph[]
OK
12.42.
12.17.
12.17.
Spatial Query[ ] ,
( )
. GEOS
.
Crosses
Intersects ()
12.43.
Is disjoint
Touches
Within
'Touches Crosses'
,
. .
QGIS regions. shp airports. shp
.
(11.1.1 )
QGIS
Spatial Query[ ]
. 12.44
.
regions. shp, airports. shp
.
'Contains[]' Apply .
( ) ID
. .
Create layer with list of items[ ]
ID
.
'And use the result to[ ]'
Remove from current selection[ ]
Zoom to item [ ]
Log messages
[ ] .
. SQL Anywhere
.
Add SQL Anywhere layer[SQL Anywhere ] PostGIS
SpatiaLite .
12.44.
13.
13.1.
QGIS ,
.
QGIS ..
, QGIS
.
qgis-user
QGIS ,
QGIS . URL QGIS
.
http://lists.osgeo.org/mailman/listinfo/qgis-user
fossgis-talk-liste
FOSSGIS e.V.
fossgis-talk-liste .
QGIS GIS .
URL fossgis-talk-liste
.
https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste
qgis-developer
, qgis-developer
. URL .
355
13.1.
http://lists.osgeo.org/mailman/listinfo/qgis-developer
qgis-commit
QGIS ,
.
, .
http://lists.osgeo.org/mailman/listinfo/qgis-commit
qgis-trac
.
, ,
. URL .
http://lists.osgeo.org/mailman/listinfo/qgis-trac
qgis-community-team
, , ,
, , , ,
.
. URL
:
http://lists.osgeo.org/mailman/listinfo/qgis-community-team
qgis-release-team
, OS
. URL
:
http://lists.osgeo.org/mailman/listinfo/qgis-release-team
qgis-tr
.
GUI(Graphical User Interface) ,
. URL
:
http://lists.osgeo.org/mailman/listinfo/qgis-tr
qgis-edu
QGIS . QGIS
, . URL
:
http://lists.osgeo.org/mailman/listinfo/qgis-edu
qgis-psc
Quantum GIS ,
. URL
:
http://lists.osgeo.org/mailman/listinfo/qgis-psc
.
.
qgis-commit qgis-trac ,
.
13.2. IRC
IRC . irc.freenote.net #qgis
.
.
. QGIS .
http://qgis.org/en/commercial-support.html
.
13. 357
IRC !
, .
http://logs.qgis.org IRC-logs
.
http://hub.qgis.org/projects/quantum-gis/issues
QGIS .
,
.
, ( ,)
.
, ,
.
. , enhance .
,
.
http://hub.qgis.org/projects/quantum-gis/issues
trac . Patch
. QGIS
.
. .
13.4. Blog
QGIS
http://www.qgis.org/planet
. QGIS
.
13.5. Wiki
http://www.qgis.org/wiki WIKI
. QGIS, ,
,
. .
.
13. 359
:
2010
EPSG
GIS .
2012 1 3 GDAL 1.9
GIS EPSG
. GIS
EPSG
.
QGIS EPSG
QGIS
. QGIS 1.7.3 GDAL 1.8 .
:
.
, , ,
.
QGIS GDAL
http://www.osgeo.kr/44 data.zip
,
.
MS-Windows : QGIS (, C:\Program Files\Quantum
GIS Wroclaw\ ) share\gdal\ data.zip
.
Mac OSX :
/Library/Frameworks/GDAL.framework/Versions/Current/Resources/gda
l/ data.zip .
QGIS QGIS EPSG
. Linux
,
.
OSGeo
.
363
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know
their rights.
We protect your rights with two steps: (1) copyright the software,
and (2) offer you this license which gives you legal permission to
copy, distribute and/or modify the software.
Also, for each authors protection and ours, we want to make
certain that everyone understands that there is no warranty for this
free software. If the software is modified by someone else and passed
on, we want its recipients to know that what they have is not the
original, so that any problems introduced by others will not reflect on
the original authors reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyones free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow. TERMS AND CONDITIONS FOR COPYING,
DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which
contains a notice placed by the copyright holder saying it may be
distributed under the terms of this General Public License. The
"Program", below, refers to any such program or work, and a "work
based on the Program" means either the Program or any derivative
work under copyright law: that is to say, a work containing the
364 QGIS 1.7.0
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a notice
that there is no warranty (or else, saying that you provide a warranty)
and that users may redistribute the program under these conditions,
and telling the user how to view a copy of this License. (Exception:
if the Program itself is interactive but does not normally print such
an announcement, your work based on the Program is not required to
print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms
of this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or collective
works based on the Program.
In addition, mere aggregation of another work not based on the
Program with the Program (or with a work based on the Program) on
a volume of a storage or distribution medium does not bring the other
work under the scope of this License.
3. You may copy and distribute the Program (or a work based on
it, under Section 2) in object code or executable form under the terms
of Sections 1 and 2 above provided that you also do one of the
following:
366 QGIS 1.7.0
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed
to be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates the
limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new
versions of the General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may differ
in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies a version number of this License which applies to
A. GNU General Public License 369
it and "any later version", you have the option of following the terms
and conditions either of that version or of any later version published
by the Free Software Foundation. If the Program does not specify a
version number of this License, you may choose any version ever
published by the Free Software Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the
author to ask for permission. For software which is copyrighted by
the Free Software Foundation, write to the Free Software Foundation;
we sometimes make exceptions for this. Our decision will be guided
by the two goals of preserving the free status of all derivatives of our
free software and of promoting the sharing and reuse of software
generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF
CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO
THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS
WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU
ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR
OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW
OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER,
OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
370 QGIS 1.7.0
Qt/Non-commerical
Windows,
Qt/Windows,
Qt/X11,
373
the software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this
License principally for works whose purpose is instruction or
reference.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies to
the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may
accept compensation in exchange for copies. If you distribute a large
enough number of copies you must also follow the conditions in
section 3.
You may also lend copies, under the same conditions stated above,
and you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly
have printed covers) of the Document, numbering more than 100, and
the Documents license notice requires Cover Texts, you must enclose
the copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify you
as the publisher of these copies. The front cover must present the full
title with all words of the title equally prominent and visible. You
may add other material on the covers in addition. Copying with
changes limited to the covers, as long as they preserve the title of the
Document and satisfy these conditions, can be treated as verbatim
copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document
numbering more than 100, you must either include a machine-readable
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document
under the conditions of sections 2 and 3 above, provided that you
release the Modified Version under precisely this License, with the
Modified Version filling the role of the Document, thus licensing
distribution and modification of the Modified Version to whoever
possesses a copy of it. In addition, you must do these things in the
Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document).
You may use the same title as a previous version if the original
publisher of that version gives permission.
permission.
K. For any section Entitled Acknowledgements or Dedications,
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor
acknowledgements and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document, unaltered in
their text and in their titles. Section numbers or the equivalent
are not considered part of the section titles.
M. Delete any section Entitled Endorsements. Such a section may
not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled Endorsements
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or
all of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Versions license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled Endorsements, provided it
contains nothing but endorsements of your Modified Version by
various parties for example, statements of peer review or that the
text has been approved by an organization as the authoritative
definition of a standard.
You may add a passage of up to five words as a Front-Cover
Text, and a passage of up to 25 words as a Back-Cover Text, to the
end of the list of Cover Texts in the Modified Version. Only one
passage of Front-Cover Text and one of Back-Cover Text may be
added by (or through arrangements made by) any one entity. If the
Document already includes a cover text for the same cover, previously
380 QGIS 1.7.0
5. COMBINING DOCUMENTS
You may combine the Document with other documents released
under this License, under the terms defined in section 4 above for
modified versions, provided that you include in the combination all of
the Invariant Sections of all of the original documents, unmodified,
and list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License,
and multiple identical Invariant Sections may be replaced with a
single copy. If there are multiple Invariant Sections with the same
name but different contents, make the title of each such section
unique by adding at the end of it, in parentheses, the name of the
original author or publisher of that section if known, or else a unique
number. Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled
History in the various original documents, forming one section
Entitled History; likewise combine any sections Entitled
Acknowledgements, and any sections Entitled Dedications. You
must delete all sections Entitled Endorsements.
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other
documents released under this License, and replace the individual
copies of this License in the various documents with a single copy
that is included in the collection, provided that you follow the rules
of this License for verbatim copying of each of the documents in all
other respects.
You may extract a single document from such a collection, and
distribute it individually under this License, provided you insert a
copy of this License into the extracted document, and follow this
License in all other respects regarding verbatim copying of that
document.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also
include the original English version of this License and the original
versions of those notices and disclaimers. In case of a disagreement
between the translation and the original version of this License or a
notice or disclaimer, the original version will prevail.
If a section in the Document is Entitled Acknowledgements,
Dedications, or History, the requirement (section 4) to Preserve its
Title (section 1) will typically require changing the actual title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense, or distribute it is void, and will
automatically terminate your rights under this License.
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
detail
to
address
new
problems
or
concerns.
See
http://www.gnu.org/copyleft/.
Each version of the License is given a distinguishing version
number. If the Document specifies that a particular numbered version
of this License or any later version applies to it, you have the
option of following the terms and conditions either of that specified
version or of any later version that has been published (not as a
draft) by the Free Software Foundation. If the Document does not
specify a version number of this License, you may choose any
11. RELICENSING
Massive Multiauthor Collaboration Site (or MMC Site) means
any World Wide Web server that publishes copyrightable works and
also provides prominent facilities for anybody to edit those works. A
public wiki that anybody can edit is an example of such a server. A
Massive Multiauthor Collaboration (or MMC) contained in the site
means any set of copyrightable works thus published on the MMC
site.
CC-BY-SA means the Creative Commons Attribution-Share Alike
3.0 license published by Creative Commons Corporation, a
not-for-profit corporation with a principal place of business in San
Francisco, California, as well as future copyleft versions of that
license published by that same organization.
Incorporate means to publish or republish a Document, in whole
or in part, as part of another Document.
An MMC is eligible for relicensing if it is licensed under this
License, and if all works that were first published under this License
somewhere other than this MMC, and subsequently incorporated in
whole or in part into the MMC, (1) had no cover texts or invariant
sections, and (2) were thus incorporated prior to November 1, 2008.
The operator of an MMC Site may republish an MMC contained in
the site under CC-BY-SA on the same site at any time before August
1, 2009, provided the MMC is eligible for relicensing.
ressource
analysis
support
specification.
for
postgresql.
387