QGIS User Guide - QGIS Documentation [PDF]

Aug 8, 2017 - Anda dapat membuat peta interaktif dan mengeksplorasi data spasial dengan GUI yang ramah. Banyak ..... con

9 downloads 4 Views 18MB Size

Recommend Stories


QGIS User Guide
Don't count the days, make the days count. Muhammad Ali

QGIS User Guide
Don’t grieve. Anything you lose comes round in another form. Rumi

QGIS User Guide
Everything in the universe is within you. Ask all from yourself. Rumi

QGIS tanfolyam
Seek knowledge from cradle to the grave. Prophet Muhammad (Peace be upon him)

Mastering QGIS
The happiest people don't have the best of everything, they just make the best of everything. Anony

QGIS Python Programming Cookbook
Live as if you were to die tomorrow. Learn as if you were to live forever. Mahatma Gandhi

Bevezetés a QGIS használatába
If you want to become full, let yourself be empty. Lao Tzu

Einführung in QGIS
You miss 100% of the shots you don’t take. Wayne Gretzky

Téléchargement et Tutoriel QGIS
We may have all come on different ships, but we're in the same boat now. M.L.King

QGIS Training Manual.PDF
I want to sing like the birds sing, not worrying about who hears or what they think. Rumi

Idea Transcript


QGIS User Guide Rilis 2.14

QGIS Project

08 August 2017

Daftar Isi

1

Pendahuluan

1

2

Konvensi 2.1 Konvensi GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Konvensi Teks atau Papan Ketik . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Petunjuk Spesifik Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3 3 3 4

3

Kata Pengantar

5

4

Fitur-fitur 4.1 Lihat imagerelpath="images/test_image.jpg" projectpath=qgis.core.QgsProject.instance().fileName() import os.path path=os.path.dirname(str(projectpath)) if projectpath != ’’ else None image=os.path.join(path, imagerelpath) import subprocess subprocess.Popen( [command, image ] )

Another Python action example is the one that allows us to add new layers to the project. For instance, the following examples will add to the project respectively a vector and a raster. The names of the files to be added to the project and the names to be given to the layers are , group=’Custom’) def myfunc(value1, value2, feature, parent): pass

The short example creates a function ‘myfunc’ that will give you a function with two values. When using the args=’auto’ function argument the number of function arguments required will be calculated by the number of arguments the function has been defined with in Python (minus 2 - feature, and parent). This function then can be used with the following expression: myfunc(’test1’, ’test2’)

Your function will be implemented in the Custom functions group of the Expression tab after using the Run Script button. Further information about creating Python code can be found in the PyQGIS-Developer-Cookbook. The function editor is not only limited to working with the field calculator, it can be found whenever you work with expressions.

12.5 Working with the Attribute Table The attribute table displays features of a selected layer. Each row in the table represents one map feature, and each column contains a particular piece of information about the feature. Features in the table can be searched, selected, moved or even edited. To open the attribute table for a vector layer, make the layer active by clicking on it in the map legend area. Then, from the main Layer menu, choose

Open Attribute Table. It is also possible to right click on the layer and

Open Attribute Table from the drop-down menu, and to click on the choose in the Attributes toolbar.

Open Attribute Table button

This will open a new window that displays the feature attributes for the layer (figure_attributes_1). The number of features and the number of selected features are shown in the attribute table title.

Gambar 12.60: Attribute Table for regions layer The buttons at the top of the attribute table window provide the following functionality: 12.5. Working with the Attribute Table

149

QGIS User Guide, Rilis 2.14



Toggle editing mode



Save Edits



Reload the table



Add feature



Delete selected features



Select features using an Expression



Select all



Invert selection



Unselect all



Move selected to top



Pan map to the selected rows



Zoom map to the selected rows



Copy selected rows to clipboard



Paste from clipboard to a new row



Delete Column



New Column



Open field calculator

to enable editing functionalities (also with Ctrl+e)

(also with Ctrl+s)

(also with Ctrl+d)

(also with Ctrl+a) (also with Ctrl+r)

(also with Ctrl+u) (also with Ctrl+t) (also with Ctrl+p) (also with Ctrl+j) (also with Ctrl+c) (also with Ctrl+v)

for PostGIS layers and for OGR layers with GDAL version >= 1.9 (also with Ctrl+l)

for PostGIS layers and for OGR layers with GDAL version >= 1.6 (also with Ctrl+w) (also with Ctrl+i)

Below these buttons is the Field Calculator bar (enabled only in editing mode), which allows calculations to be quickly applied to either all or selected features attributes in the table. This bar uses the same expressions as the Field Calculator

(see Field Calculator).

Tip: Skip WKT geometry Copy selected rows to clipboard button. If you want to use attribute >

204

Bab 14. Pekerjaan dengan height="133" name="map0"/> ...

The client has now the information to request a print output:

http://myserver.com/cgi/qgis_mapserv.fcgi?...&REQUEST=GetPrint&TEMPLATE=Druckzusammenstellung 1&ma

Parameters in the GetPrint request are: • :EXTENT gives the extent for a composer map as xmin,ymin,xmax,ymax. • :ROTATION map rotation in degrees • :GRID_INTERVAL_X, :GRID_INTERVAL_Y Grid line density for a composer map in x- and y-direction • :SCALE Sets a mapscale to a composer map. This is useful to ensure scale based visibility of layers and labels even if client and server may have different algorithms to calculate the scale denominator • :LAYERS, :STYLES possibility to give layer and styles list for composer map (useful in case of overview maps which should have only a subset of layers) GetLegendGraphics request Several additional parameters are available to change the size of the legend elements: • BOXSPACE space between legend frame and content (mm) • LAYERSPACE versical space between layers (mm) • LAYERTITLESPACE vertical space between layer title and items following (mm) • SYMBOLSPACE vertical space between symbol and item following (mm) • ICONLABELSPACE horizontal space between symbol and label text (mm) • SYMBOLWIDTH width of the symbol preview (mm) • SYMBOLHEIGHT height of the symbol preview (mm) These parameters change the font properties for layer titles and item labels: • LAYERFONTFAMILY / ITEMFONTFAMILY font family for layer title / item text • LAYERFONTBOLD / ITEMFONTBOLD ‘TRUE’ to use a bold font • LAYERFONTSIZE / ITEMFONTSIZE Font size in point • LAYERFONTITALIC / ITEMFONTITALIC ‘TRUE’ to use italic font • LAYERFONTCOLOR / ITEMFONTCOLOR Hex color code (e.g. #FF0000 for red) • LAYERTITLE / RULELABEL (from QGIS 2.4) set them to ‘FALSE’ to get only the legend graphics without labels Contest based legend. These parameters let the client request a legend showing only the symbols for the features falling into the requested area: • BBOX the geographical area for which the legend should be built • CRS / SRS the coordinate reference system adopted to define the BBOX coordinates • WIDTH / HEIGHT if set these should match those defined for the GetMap request, to let QGIS Server scale symbols according to the map view image size. Contest based legend features are based on the UMN MapServer implementation:

14.2. QGIS as OGC , ATTRS{idProduct}=="0003", MODE="666"

After that is necessary to be sure that the garmin_gps kernel module is not loaded rmmod garmin_gps

and then you can use the GPS Tools. Unfortunately there seems to be a bug #7182 and usually QGIS freezes several times before the operation work fine. BTGP-38KM encoding="UTF-8"?>

The parser reads this definition and creates a new tab inside the Toolbox when you select the module. A more detailed description for adding new modules, changing a module’s group, etc., can be found on the QGIS wiki at http://hub.qgis.org/projects/quantum-gis/wiki/Adding_New_Tools_to_the_GRASS_Toolbox.

258

Bab 17. GRASS GIS Integration

BAB 18

QGIS processing framework

18.1 Pengantar This chapter introduces the QGIS processing framework, a geoprocessing environment that can be used to call native and third-party algorithms from QGIS, making your spatial analysis tasks more productive and easy to accomplish. Pada bagian berikut kita akan meninjau bagaimana menggunakan unsur-unsur grafis dari kerangka kerja ini dan mengambil yang terbaik masing-masing dari mereka. There are four basic elements in the framework GUI, which are used to run algorithms for different purposes. Choosing one tool or another will depend on the kind of analysis that is to be performed and the particular characteristics of each user and project. All of them (except for the batch processing interface, which is called from the toolbox or the algorithm execution dialog, as we will see) can be accessed from the Processing menu item. (You will see more than four entries. The remaining ones are not used to execute algorithms and will be explained later in this chapter.) • Toolbox. Unsur utama dari GUI, digunakan untuk menjalankan algoritma tunggal atau menjalankan proses batch berdasarkan algoritma tersebut. • Modeler grafis. Beberapa algoritma dapat dikombinasikan secara grafis dengan menggunakan modeler untuk mendefinisikan alur kerja, menciptakan satu proses yang melibatkan beberapa sub-proses • Sejarah pengelola. Semua tindakan dilakukan dengan menggunakan salah satu elemen tersebut disimpan dalam berkas sejarah dan dapat kemudian dengan mudah direproduksi menggunakan manajer sejarah • Antarmuka pengolahan batch. Antarmuka ini memungkinkan Anda untuk menjalankan proses batch dan mengotomatisasi eksekusi algoritma tunggal pada beberapa ) output=SpatialPoints)

The variable polygon already contains a SpatialPolygons?>

360

Bab 20. Plugin

QGIS User Guide, Rilis 2.14

Import all photograph points This command will import all of the encoding="UTF-8"?>

Smile Life

When life gives you a hundred reasons to cry, show life that you have a thousand reasons to smile

Get in touch

© Copyright 2015 - 2024 PDFFOX.COM - All rights reserved.