+ All Categories
Home > Documents > QGIS-2.2-UserGuide-id

QGIS-2.2-UserGuide-id

Date post: 17-Aug-2015
Category:
Upload: tatasarana
View: 246 times
Download: 5 times
Share this document with a friend
Description:
QGIS user guide
Popular Tags:
315
QGIS User Guide Rilis 2.2 QGIS Project 25 September 2014
Transcript

QGIS User GuideRilis 2.2QGIS Project25 September 2014Daftar Isi1 Pendahuluan 32 Konvensi 52.1 Konvensi GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.2 Konvensi Teks atau Papan Ketik. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.3 Petunjuk Spesik Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Kata Pengantar 74 Fitur-tur 94.1 Lihat data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.2 Jelajahi data dan menyusun peta. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.3 Membuat, menyunting, mengelola dan ekspor data . . . . . . . . . . . . . . . . . . . . . . . . . 104.4 Analisis data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.5 Terbitkan peta di Internet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.6 Memperpanjang fungsionalitas QGIS melalui plugin . . . . . . . . . . . . . . . . . . . . . . . . 104.7 Python Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114.8 Isu yang Diketahui . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Apa yang baru pada QGIS 2.2 135.1 Aplikasi dan Opsi Proyek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.2 Penyedia Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.3 Digitalisasi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135.4 Umum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145.5 Penyusun Peta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145.6 Server QGIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155.7 Simbologi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155.8 Antarmuka Pengguna . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 Memulai 176.1 Pemasangan (Instalasi). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176.2 Contoh data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176.3 Sesi Contoh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186.4 Memulai dan Menghentikan QGIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.5 Pilihan Baris Perintah . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196.6 Proyek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216.7 Keluaran (Output) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 QGIS GUI 237.1 Bar Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247.2 Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297.3 Legenda Peta. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297.4 Tampilan Peta . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31i7.5 Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328 Peralatan Umum 358.1 Shortcut Papanketik . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358.2 Konteks Bantuan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358.3 Rendering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358.4 Mengukur . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378.5 Fitur Identikasi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398.6 Dekorasi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408.7 Peralatan Anotasi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428.8 Bookmark Spasial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448.9 Proyek-proyek Nesting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459 Kongurasi QGIS 479.1 Panel dan Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479.2 Properti Proyek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489.3 Opsi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499.4 Penyesuaian (Customization) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5610Working with Projections 5910.1 Overview of Projection Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5910.2 Global Projection Specication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5910.3 Dene On The Fly (OTF) Reprojection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6110.4 Custom Coordinate Reference System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6210.5 Default datum transformations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6311QGIS Peramban 6512Pekerjaan dengan Data Vektor 6712.1 Supported Data Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6712.2 The Vector Properties Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7912.3 Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10612.4 Query Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12312.5 Field Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12513Pekerjaan dengan Data Raster 13113.1 Working with Raster Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13113.2 Raster Properties Dialog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13213.3 Kalkulator Raster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14014Pekerjaan dengan Data OGC 14314.1 QGIS sebagai OGC Klien Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14314.2 QGIS sebagai OGC Data Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15215Pekerjaan dengan Data GPS 15715.1 GPS Plugin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15715.2 Live GPS tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16116GRASS GIS Integration 16716.1 Starting the GRASS plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16716.2 Loading GRASS raster and vector layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16816.3 GRASS LOCATION and MAPSET. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16816.4 Importing data into a GRASS LOCATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17016.5 The GRASS vector data model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17116.6 Creating a new GRASS vector layer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17216.7 Digitizing and editing a GRASS vector layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17216.8 The GRASS region tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17516.9 The GRASS Toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175ii17QGIS kerangka pengolahan 18517.1 Pengantar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18517.2 The toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18617.3 The graphical modeler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19517.4 Antarmuka memproses batch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20217.5 Using processing algorithms from the console . . . . . . . . . . . . . . . . . . . . . . . . . . . 20417.6 Manajer riwayat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20917.7 Conguring external applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21017.8 The SEXTANTE Commander . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21618Print Composer 21918.1 First steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22018.2 Rendering mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22318.3 Composer Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22418.4 Manage items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23918.5 Revert and Restore tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24118.6 Atlas generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24118.7 Creating Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24318.8 Manage the Composer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24419Plugin 24719.1 Plugin-plugin QGIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24719.2 Menggunakan QGIS Plugin Inti . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25119.3 Plugin Mengambil Koordinat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25119.4 Plugin Pengelola DB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25219.5 Plugin Pengonversi Dxf2Shp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25319.6 Plugin eVis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25419.7 Plugin fTools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26419.8 Plugin Peralatan GDAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26719.9 Plugin Georeferencer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27019.10 Plugin Interpolasi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27419.11 Plugin Mengedit Diluar Jaringan (Ofine) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27519.12 Plugin Spasial Oracle GeoRaster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27519.13 Plugin Raster Analisis Terrain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27819.14 Plugin Heatmap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27919.15 Plugin Grak Jalan. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28219.16 Plugin Spasial Query. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28419.17 Plugin SPIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28619.18 Plugin SQL Anywhere. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28619.19 Plugin Pemeriksa Topologi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28819.20 Plugin Statistik Zonal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28920Bantuan dan Dukungan 29120.1 Milis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29120.2 IRC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29220.3 BugTracker. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29220.4 Blog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29320.5 Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29320.6 Wiki . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29321Appendix 29521.1 GNU General Public License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29521.2 GNU Free Documentation License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29822Literatur dan Referensi Web 305Indeks 307iiiivQGIS User Guide, Rilis 2.2Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.Daftar Isi 1QGIS User Guide, Rilis 2.22 Daftar IsiBAB 1PendahuluanDokumen ini merupakan buku petunjuk asli dari perangkat lunak yang dijelaskan QGIS. Perangkat lunak danperangkat keras yang dijelaskan dalam dokumen ini dalam banyak kasus merupakan merek dagang terdaftar dankarenaitutundukpadapersyaratanhukum. QGISmenggunakanLisensiPublikUmumGNU(GNUGeneralPublic License). Temukan informasi lebih lanjut pada QGIS alamat web http://www.qgis.org.Detil, data, hasil dll. pada dokumen ini telah ditulis ulang dan diverikasi dengan sebaik mungkin pengetahuan dantanggungjawab dari penulis dan editor. Bagaimanapun juga, dimungkinkan adanya kesalahan pada isi dokumenini.Oleh karena itu, semua data tidak bertanggung jawab untuk setiap pekerjaan atau jaminan. Para penulis, editordan penerbit tidak mengambil tanggung jawab atau kewajiban atas kegagalan dan konsekuensinya. Selalu terbukabagi Anda untuk menunjukkan kemungkinan kesalahan.Dokumen ini telah diatur dengan reStructuredText. Ini tersedia sebagai sumber kode reST di github dan dalamjaringan (online) dengan format HTML dan PDF di http://www.qgis.org/en/docs/. Versi terjemahan dari doku-men ini dapat diunduh dalam beberapa format melalui proyek dokumentasi QGIS. Informasi lebih lanjut tentangkontribusi pada dokumen ini dan tentang menerjemahkannya, silakan kunjungi: http://www.qgis.org/wiki/.Tautan pada dokumen iniDokumen ini berisi tautan internal dan eksternal. Silakan klik pada tautan internal akan membuka dokumen,sedangkankliktautaneksternal membukaalamat internet. DalambentukPDF, tautaninternal daneksternaldiperlihatkandenganwarnabirudanditanganiolehsistemperambanweb(browser). DalambentukHTML,menampilkan peramban web (browser) dan menangani keduanya secara identik.Pengguna, Penulis dan Editor Panduan Pemasangan dan Pemrograman (Coding):Hak Cipta (c) 2004 - 2014 QGIS Tim PengembangInternet: http://www.qgis.orgLisensi dokumen iniDiizinkan untuk menyalin, mendistribusikan dan / atau memodikasi dokumen ini di bawah syarat-syarat LisensiDokumentasi Bebas GNU (GNU Free Documentation License), atau versi yang lebih baru yang diterbitkan olehFree Software Foundation; tanpa Bagian Invarian, tanpa Teks Sampul-Depan, dan tanpa Teks Sampul-Belakang.Salinan lisensi termasuk dalam Lampiran GNU Free Documentation License.Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.3QGIS User Guide, Rilis 2.24 Bab 1. PendahuluanBAB 2KonvensiBagian ini menjelaskan gaya seragam yang akan digunakan di seluruh manual ini.2.1Konvensi GUIGaya konvensi GUI dimaksudkan untuk meniru tampilan GUI. Secara umum, gaya akan mencerminkan penampi-lan non-hover, sehingga pengguna dapat memindai visual GUI untuk menemukan sesuatu yang tampak sepertipetunjuk di manual. Menu Pilihan: Lapisan Tambah Lapisan Raster atau :menuselection:Pengaturan > Toolbar > Digital-isasi Alat:Tambah Lapisan Raster Tombol : [Simpan sebagai Default] Kotak Judul: Properti Lapisan Tab: Umum Kotak Centang: Render Tombol Radio: Postgis SRID EPSG ID Pilih Nomor: Pilih String: Lihat Berkas: Pilih Warna: Slider: Masukkan Teks:Sebuah bayangan menunjukkan komponen GUI yang dapat diklik.2.2Konvensi Teks atau Papan KetikPanduan ini juga mencakup gaya yang berhubungan dengan teks, perintah papan ketik dan pemrograman (coding)untuk menunjukkan entitas yang berbeda, seperti kelas, atau metode. Gaya ini tidak sesuai dengan penampilanyang sebenarnya dari teks atau coding dalam QGIS. Pranala: http://qgis.org Kombinasi Keystroke: tekan Ctrl+B, artinya tekan dan tahan tombol Ctrl dan tekan tombol B.5QGIS User Guide, Rilis 2.2 Nama Berkas: lakes.shp Nama Kelas: LapisanBaru Metode: classFactory Server: myhost.de Teks Pengguna: qgis --helpBaris kode ditunjukkan dengan huruf xed-widthPROJCS["NAD_1927_Albers",GEOGCS["GCS_North_American_1927",2.3Petunjuk Spesik PlatformUrutan GUI dan sejumlah kecil teks yang dapat diformat inline: Klik Berkas QGIS Keluar untukmenutup QGIS. Hal ini menunjukkan bahwa di platform Linux, Unix dan Windows, pertama Anda harus mengk-lik menu Berkas, kemudian Keluar, sementara di platform Macintosh OS X, Anda harus mengklik QGIS menupertama, kemudian Keluar.Sejumlah besar teks dapat diformat sebagai daftar: Melakukan ini Melakukan itu Melakukan sesuatu yang lainatau sebagai paragraf:Lakukan ini dan ini dan ini. Kemudian melakukan ini dan ini dan ini dan ini dan ini dan ini dan ini dan inidan ini.Lakukan itu. Kemudian melakukan itu dan itu dan itu dan itu dan itu dan itu dan itu dan itu dan itu dan itu danitu dan itu dan itu dan itu dan itu.Layaryangmunculdiseluruhbukupanduantelahdibuatpadaplatformyangberbeda; platformditunjukkandengan ikon-platform tertentu pada akhir gambar keterangan.Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.6 Bab 2. KonvensiBAB 3Kata PengantarSelamat datang di dunia indah dari Sistem Informasi Geogras (GIS)!QGIS adalah Sistem Informasi Geogras Sumber Terbuka (Open Source). Proyek ini lahir di bulan Mei 2002dan didirikan sebagai sebuah proyek di SourceForge pada bulan Juni tahun yang sama. Kami telah bekerja kerasmembuat perangkat lunak GIS (merupakan perangkat lunak proprietary tradisional mahal) prospek yang layakbagi siapa saja dengan akses dasar ke Personal Komputer. QGIS saat ini berjalan pada kebanyakan platform Unix,Windows,dan OS X. QGIS dikembangkan menggunakan toolkit Qt (http://qt.digia.com) dan C++. Ini berartibahwa QGIS terasa cepat dan menyenangkan, antarmuka pengguna gras yang mudah digunakan (GUI).QGIS bertujuan untuk menjadi GIS yang mudah digunakan, menyediakan fungsi dan tur-tur umum. TujuanawalnyaadalahuntukmenyediakanpenampildataGIS. QGIStelahmencapaititikdalamevolusidimanaiadigunakan sehari-hari oleh banyak orang untuk kebutuhan melihat data GIS mereka. QGIS mendukung sejumlahformat data raster dan vektor, dengan dukungan format baru mudah ditambahkan dengan menggunakan arsitekturplugin.QGIS is released under the GNU General Public License (GPL). Developing QGIS under this license means thatyou can inspect and modify the source code, and guarantees that you, our happy user, will always have access toa GIS program that is free of cost and can be freely modied. You should have received a full copy of the licensewith your copy of QGIS, and you also can nd it in Appendix GNU General Public License.Tip: Pembaruan DokumentasiVersi terbaru dari dokumen ini selalu dapat ditemukan di website dokumentasi QGIS dihttp://www.qgis.org/en/docs/Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.7QGIS User Guide, Rilis 2.28 Bab 3. Kata PengantarBAB 4Fitur-turQGIS menawarkan banyak fungsi GIS umum yang disediakan oleh tur inti dan plugin. Sebuah ringkasan pendekdari enam kategori umum tur dan plugin disajikan di bawah ini, diikuti oleh wawasan pertama ke konsol Pythonyang terintegrasi.4.1Lihat dataAnda dapat melihat dan overlay data vektor dan raster dalam format dan proyeksi yang berbeda tanpa konversi keformat internal maupun umum. Format yang didukung termasuk: Tabel spasial-enabled dan tampilan menggunakan PostGIS, SpatiaLite dan MSSQL Spasial, Oracle Spasial,format vektor yang didukung oleh perpustakaan OGR, termasuk ESRI shapele, MapInfo, SDTS, GML danbanyak lagi, lihat bagian Pekerjaan dengan Data Vektor. Format raster dan citra yang didukung dengan terpasangnya GDAL (Geospatial Data Abstraction Library)perpustakaan, seperti GeoTiff, ERDAS IMG, ArcInfo ASCII GRID, JPEG, PNG dan banyak lagi, lihatbagian Pekerjaan dengan Data Raster. Data raster dan vektor GRASS dari basis data GRASS (lokasi/mapset). Lihat bagian GRASS GIS Integra-tion. Data spasial dalam jaringan sebagai Layanan OGC Web, termasuk WMS, WMTS, WCS, WFS, dan WFS-T.Lihat bagian Pekerjaan dengan Data OGC. Data OpenStreetMap. Lihat bagian plugins_osm.4.2Jelajahi data dan menyusun petaAnda dapat membuat peta interaktif dan mengeksplorasi data spasial dengan GUI yang ramah. Banyak alat yangtersedia di GUI termasuk: QGIS peramban web On-the-y proyeksi ulang Pengelola DB Penyusun Peta Panel Peninjau Bookmark spasial Annotation tools Identikasi/pilih tur Sunting/lihat/cari atribut9QGIS User Guide, Rilis 2.2 Fitur pelabelan data-ditentukan Alat simbologi vektor dan raster data-ditentukan Peta komposisi atlas dengan lapisan graticule Bar skala panah utara dan label hak cipta untuk peta Dukungan menyimpan dan mengembalikan proyek-proyek4.3Membuat, menyunting, mengelola dan ekspor dataAnda dapat membuat, mengedit, mengelola dan ekspor lapisan vektor dan raster dalam beberapa format. QGISmenawarkan sebagai berikut: Alat Digitalisasi yang didukung format OGR dan lapisan vektor GRASS Kemampuan untuk membuat dan mengedit lapisan shapele dan vektor GRASS Plugin Georeferencer ke geocode gambar Alat GPS untuk mengimpor dan mengekspor format GPX, dan mengkonversi format GPS lain ke GPX atauunduh/unggah langsung ke unit GPS (di Linux, usb: telah ditambahkan ke daftar perangkat GPS.) Dukungan memvisualisasikan dan mengedit data OpenStreetMap Kemampuan membuat tabel basis data spasial dari shapele dengan Plugin Pengelola DB Peningkatan penanganan tabel basis data spasial Peralatan untuk mengelola tabel atribut vektor Opsi menyimpan cuplikan layar sebagai gambar ber-georeferensi.4.4Analisis dataAnda dapat melakukan analisis data spasial pada basis data spasial dan format OGR lain yang didukung. QGISsaat ini menawarkan analisis vektor, sampling, geoprocessing, geometri dan aplikasi manajemen basis data. Andajuga dapat menggunakan aplikasi GRASS terintegrasi, yang meliputi fungsi GRASS lengkap lebih dari 400 modul(lihat bagian GRASS GIS Integration). Atau, Anda bekerja dengan Plugin Processing, yang menyediakan kerangkaanalisis geospasial yang kuat untuk memanggil algoritma pihak asli dan ketiga dari QGIS, seperti GDAL, SAGA,GRASS, fTools dan banyak lagi (lihat bagian Pengantar.)4.5Terbitkan peta di InternetQGIS dapat digunakan sebagai WMS, WMTS, WMS-C atau WFS dan WFS-T client, dan sebagai WMS, WCSatau WFS server (lihat bagian Pekerjaan dengan Data OGC.). Selain itu Anda dapat mengekspor data, mempub-likasikan mereka di internet menggunakan webserver dengan UMN MapServer atau GeoServer yang terpasang.4.6Memperpanjang fungsionalitas QGIS melalui pluginQGIS dapat disesuaikan dengan kebutuhan khusus Anda dengan arsitektur plugin extensible dan perpustakaanyang dapat digunakan untuk membuat plugin. Anda dapat membuat aplikasi baru dengan C++ atau Python!10 Bab 4. Fitur-turQGIS User Guide, Rilis 2.24.6.1Inti PluginPlugin inti termasuk:1. Rekaman Koordinat (Tetikus merekam koordinat di CRS yang berbeda)2. DB Manager (Pertukaran, mengedit dan melihat lapisan dan tabel; mengeksekusi query SQL)3. Diagram Overlay (Menempatkan diagram pada lapisan vektor)4. Pengkonversi Dxf2Shp (Mengonversi DXF ke Shape)5. eVIS (Visualize events)6. fTools (Analisa dan kelola data vektor)7. GDALTools (Integrasi alat GDAL ke dalam QGIS)8. Georeferencer GDAL (Menambahkan informasi proyeksi ke raster menggunakan GDAL)9. Peralatan GPS (Memuat dan impor data GPS)10. GRASS (GRASS GIS integrasi)11. Heatmap (Menghasilkan raster heatmap dari data titik)12. Plugin Interpolasi (interpolasi berdasarkan simpul dari lapisan vektor)13. Penyuntingan Luar Jaringan (Memungkinkan menyunting luar jaringan dan sinkronisasi dengan basis data)14. Oracle Spatial GeoRaster15. Processing (formerly SEXTANTE)16. Analisis Terrain Raster (Analisis terrain berbasis raster)17. Plugin Grak Jalan (Analisis jaringan terpendek)18. Spatial Query Plugin19. SPIT (Impor Shapele ke PostgreSQL/PostGIS)20. Plugin SQL Anywhere (Menyimpan lapisan vektor dengan basis data SQL Anywhere)21. Pemeriksa Topologi (Menemukan kesalahan topologi dalam lapisan vektor)22. Plugin Zonal Statistik (hitung, jumlah, rata-rata raster untuk setiap poligon dari lapisan vektor)4.6.2Plugin Eksternal PythonQGIS menawarkan semakin banyak plugin python eksternal yang diberikan oleh masyarakat. Plugin ini berada direpositori resmi plugin, dan dapat dengan mudah dipasang menggunakan Pemasang Plugin Python. Lihat bagianload_external_plugin.4.7Python ConsoleUntuk membuat skrip, memungkinkan untuk mengambil keuntungan dari konsol Python terintegrasi, dimana bisadibuka dari menu: Plugin Konsol Python. Konsol terbuka sebagai jendela utilitas non-modal. Untuk interaksidengan lingkungan QGIS, ada variabel qgis.utils.iface, yang merupakan contoh dari QgsInterface.Antarmuka ini memungkinkan akses ke kanvas peta, menu, toolbar dan bagian lain dari aplikasi QGIS.Untuk informasi lebih lanjut tentang bekerja dengan plugin dan aplikasi Python Console dan Programming Py|qg|,silakan mengacu ke http://www.qgis.org/html/en/docs/pyqgis_developer_cookbook/index.html.4.7. Python Console 11QGIS User Guide, Rilis 2.24.8Isu yang Diketahui4.8.1Jumlah dari batas berkas yang dibukaJikaAndamembukasebuahproyekQGISbesardanAndayakinbahwasemualapisanvalid, tetapibeberapalapisan ditandai sebagai lapisan buruk, Anda mungkin dihadapkan dengan masalah ini. Linux (dan OS lain juga)memiliki batas berkas yang dibuka. Batasan sumber daya per-proses dan diturunkan. Perintah ulimit meru-pakan termina built-in, mengubah batas hanya untuk proses terminal saat ini;batas baru akan diturunkan olehsetiap proses anak.Anda bisa meliht semua informasi ulimit dengan mengetikuser@host:~$ ulimit -aSAnda bisa melihat jumlah yang diperbolehkan saat berkas dibuka per proses dengan perintah berikut di konsoluser@host:~$ ulimit -SnUntuk mengubah batas sesi yang ada, Anda mungkin dapat menggunakan sesuatu sepertiuser@host:~$ ulimit -Sn #number_of_allowed_open_filesuser@host:~$ ulimit -Snuser@host:~$ qgisUntuk memperbaikinya selamanyaPada kebanyakan sistem Linux, batasan sumber daya yang ditetapkan pada login dengan modulpam_limitssesuai denganpengaturanyangterkandungdalam/etc/security/limits.confatau/etc/security/limits.d/*.conf. Anda harus dapat mengedit berkas jika Anda memiliki hak istimewaroot (juga via sudo), tetapi Anda akan perlu untuk login lagi sebelum perubahan berlaku.Informasi tambahan:http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-les/ http://linuxaria.com/article/open-les-in-linux?lang=enDocs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.12 Bab 4. Fitur-turBAB 5Apa yang baru pada QGIS 2.2Harap dicatat bahwa ini adalah rilis dalam cutting edge seri rilis kami. Dengan demikian mengandung tur barudan memperluas program antarmuka dibanding QGIS 2.0. Kami menyarankan agar Anda menggunakan versi inidaripada rilis sebelumnya.Rilis ini meliputi ratusan perbaikan kesalahan (bug) dan banyak tur baru dan perangkat tambahanyangakandijelaskandalampanduanini. Juga bandingkandenganvisual logperubahan(changelog) dihttp://changelog.linniti.com/qgis/version/21/.5.1Aplikasi dan Opsi Proyek Dukungan untuk pengukuran dalam mil laut: Anda sekarang dapat mengukur jarak dengan menggu-nakan mil laut. Untuk mengaktifkan, gunakan opsi panel Pengaturan Opsi Peralatan Peta.5.2Penyedia Data Mendukung satu-ke-banyak relasi: Rilis ini didukung kemampuan menentukan relasi 1:n. Relasi bisaditentukan dalam dialog proyek properti.Setelah ada relasi lapisan, elemen antarmuka pengguna baru formtampilan (misalnya ketika mengidentikasi tur dan membuka form) akan daftar entitas terkait. Ini menye-diakan cara ampuh mengekspresikan, misalnya sejarah inspeksi pada panjang pipa atau segmen jalan. Peralatan Ekspor DXF: Alat baru mengekspor DXFs telah ditambahkan dalam menu Proyek. Menyisipkan sebagai lapisan vektor baru: Ini adalah kegiatan yang umum dalam GIS untuk membu-at sub-seleksi dankemudianuntukmembuat layerbarudari seleksi. DalamQGISAndasudahdapatmelakukan Simpan Seleksi Sebagai untuk menyimpan lapisan dari pilihan Anda; sekarang, fungsi yangditawarkan memungkinkan Anda untuk membuat berkas baru atau lapisan memori dari apa yang ada diclipboard Anda. Cukup pilih beberapa tur, menyalinnya ke clipboard Anda dan kemudian melakukan EditSisip Fitur Sebagai dan pilih Lapisan Vektor Baru atau Lapisan Memori Baru dari submenu. Bagianterbaik dari tur baru ini adalah bahwa jika Anda memiliki beberapa tur Well Known Text (WKT) dalamclipboard Anda dari aplikasi lain, Sekarang Anda dapat menempelkannya ke QGIS sebagai layer baru. Legenda WMS gras dalam tabel isi dan penyusun: Sebelum QGIS 2.2 penyedia data WMS tidak dapatmenampilkan legenda dalam tabel daftar isi lapisan. Demikian pula tidak ada legenda dapat ditampilkandalam penyusun peta. Alamat QGIS 2.2 kedua isu ini.5.3Digitalisasi Isi alat digitalisasi ring: Alat baru ini digunakan untuk memotong lubang di poligon dan secara otomatismengisi mereka dengan tur-tur baru. Jika Anda menekan Ctrl ketika menyelesaikan tur, atribut akandiambil dari tur induk.13QGIS User Guide, Rilis 2.25.4Umum Ekspresi baru yang disimpan: Pembangun ekspresi sekarang akan mengingat 20 ekspresi yang terakhirdigunakan. Sisip WKT dari papan klip: QGIS sekarang dapat menyisipkan dan membuat tur baru berdasarkan WKTyang ditemukan dalam papan klip. Cukup salin beberapa WKT dan sisipkan ke lapisan yang diedit. Andajuga dapat membuat layer baru dengan memilih Edit Sisip Sebagai Lapisan Memori Baru.5.5Penyusun Peta Perbaikan batas zebra peta: SekarangAndadapatmengaturwarnabatasZebrapadaelemenpetadipenyusun peta. Dukungan rotasi elemen: Setiap jenis unsur dalam penyusun sekarang bisa diputar, termasuk bar skala,tabel dan legenda. Sebagai contoh, Anda bisa merotasi komposisi label sehingga cocok dengan tata letakhalaman Anda (seperti yang diiustrasikan). Pengaturan ulang ukuran dari elemen yang diputar tersebut jugatelah disempurnakan. Skalapenyusunditambahkandanpenyempurnaanpenggaris: Tampilanpenggaristelahdisempur-nakan dengan menyesuaikan logika skala dan dengan menambahkan penggaris yang lebih kecil, dan denganmembuat penggaris vertikal menggunakan teks yang diputar. Ada juga penyusun baru untuk menyembun-yikan/menampilkan penggaris.Anda sekarang bisa dengan cepat memperbesar tampilan ke skala halaman100% menggunakan alat perbesaran baru untuk 100% pada toolbar. Jendela penyusun sekarang memu-ngkinkan Anda dengan cepat beralih halaman scaling melalui kotak kombo skala baru dalam status bar.Selain itu, indikator baru telah ditambahkan untuk menunjukkan posisi pixel yang tepat dari kursor Anda.Tombol [Tuup] dan [Bantuan] telah dihapus dari bawah jendela penyusun untuk memberikan ruang layarmaksimum untuk bekerja dengan komposisi Anda. Membuat berkas dunia: Dalampenyusun, kini Anda bisa membuat peta-peta georeferensi! Cukup memas-tikan bahwa Anda memilih peta elemen yang benar dalam tab Komposisi dan kemudian ekspor peta Andasebagai berkas PNG. Berkas dunia yang menyertainya akan ditulis, yang memungkinkan Anda memuatkomposisi yang diekspor di QGIS sebagai lapisan raster. Bekerja dengan beberapa item: Dukungan telah ditambahkan untuk memindahkan dan mengubah ukuranbeberapa item secara bersamaan. Anda bisa menekan Shift saat mengubah ukuran mempertahankan rasioitem sambil mengubah ukuran, atau tekan Ctrl untuk mengubah ukuran dari pusat item. Tombol pintasini juga berlaku untuk memindahkan item-item, jadi tekan Shift sambil menggerakkan item membatasigerakan untuk gerakan horisontal atau vertikal, atau tekan Ctrl sementara menonaktifkan item yang snap-ping. Anda juga bisa menekan Shift sambil menekan tombol kursor untuk menggeser semua item yangdipilih dengan jumlah yang lebih besar. Perangkat tambahan atlas: Sekarang Anda dapat melihat halaman individual dari atlas peta yang akandihasilkandalampenyusun. Sementaradimodepratinjauatlas, Andadapatmelihatkeluaranhalamansaat ini tanpa keluaran seluruh atlas. Anda juga dapat men-tweak luas atau skala peta untuk setiap tursaat melihat halaman pratinjau atlas. Pengaturan peta Atlas telah dipindahkan dari panel atlas ke panelpropertipeta, jadisekarang, lebihdarisatupetadapatdikontrololehgenerasiatlas. Adapilihanbarusecara otomatis pusat sebuah ikhtisar peta, yang sangat berguna saat membuat peta berbasis atlas. Informasikonteks sekarang tersedia sehingga Anda dapat menyesuaikan simbologi Anda berdasarkan pada apakahtur tersebut adalah tur atlas saat ini atau tidak. Penyempurnaan seleksi item: Anda sekarang dapat memilih lebih dari satu item dengan mengklik danmenyeretkotakuntukmemilihbeberapaitem, danadajalanpintasuntukmenambahseleksi(menekanShiftsambilmenggeser), mengurangkandariseleksi(tekanCtrlsambilmenggeser)danberalihkemode seleksi within (tekan Alt sambil menggeser). Klik-shift item yang sudah dipilih akan menghapus-nya dari seleksi. Ada juga jalan pintas dan item menu untuk memilih semua item, membersihkan pilihan,dan membalik seleksi. Sekarang ini juga mungkin untuk memilih item yang tersembunyi di bawah item laindengan klik-Ctrl item, atau dengan menggunakan Pilih Item Berikutnya Di atas/Di bawah dalam menuedit penyusun baru.14 Bab 5. Apa yang baru pada QGIS 2.2QGIS User Guide, Rilis 2.2 Navigasi komposisi yanglebihbaik: QGIS2.2mencakupbanyakperbaikanuntukmembantuAndamenavigasi komposisi Anda. Andasekarangdapat memperbesarataumemperkecil komposisi denganmenggunakan scroll pada tetikus. Sebuah alat pan khusus telah ditambahkan, yang memungkinkan An-da untuk menyeret komposisi sekitar, dan Anda juga dapat segera beralih ke mode pan dengan menahantombol spasi atau dengan memegang scroll tetikus. Ada juga alat perbesaran baru, yang memungkinkanAnda tampilannya secara tepat ke area spesik komposisi Anda. Anda juga dapat beralih ke modus tampi-lannya kapan saja dengan menekan terus Ctrl-Space dan menggambar daerah perbesaran pada komposisi. Penyempurnaan gaya dari halaman dan bentuk: Sekarang Anda dapat mengontrol gaya latar belakangkomposisi denganmenggunakanberbagai macampilihansimbologi QGIS. Sekarangmungkinuntukmengekspor komposisi dengan latar belakang transparan (atau semi-transparan). Bentuk item (persegi pan-jang, segitiga, dan elips) juga dapat ditata dengan menggunakan opsi yang sama sebagai lapisan poligonpeta. Anda bahkan bisa gaya mengatur latar belakang halaman atau bentuk dengan menggunakan setelandata ditentukan berdasarkan tur atlas saat ini! Ada juga opsi baru untuk pembulatan sudut bentuk persegipanjang.5.6Server QGIS Dukungan WCS ditambahkan ke QGIS Server: QGIS Server sudah mendukung berbagai standar, ter-masuk Web Map Service (WMS versi 1.3.0 dan 1.1.1), Web Feature Service (WFS versi 1.0.0) dan WebFeature Service with Transaction (WFS-T). Dengan rilis baru QGIS, Anda sekarang dapat melayani lapisanraster menggunakan standar Web Coverage Service (WCS versi 1.0.0).5.7Simbologi Dukungan isi gradien: Fitur baru mengisi gradien memungkinkan Anda membuat kartogra yang lebihbaikdari sebelumnya. Fitur ini memiliki banyakpilihanuntukmemberikaneksibilitas yangbesarbagaimana Anda menerapkan gradien untuk tur Anda. Ini termasuk:Dua-warna atau mengisi berbasis jalanKanvas- atau berbasis-obyek dari gradien AndaGradien yang berasal dari titik berat turJenis gradien kerucut, linear dan radialPilihan Data-ditentukan (yaitu, untuk menggunakan ekspresi atau tabelkolom) untuk semua properti gradien Dukungan label untuk raster palet: Raster yang menggunakan palet warna tetap (misalnya, peta tutupanlahan) sekarang dapat memiliki label kategori yang ditetapkan yang akan ditampilkan dalam legenda petadan legenda penyusun. Warna Landai dapat dibalik: Sebuah pilihan baru telah ditambahkan ke dialog simbologi yang berhubun-gan dengan warna landai memungkinkan Anda untuk membalikkan warna landai ketika dibuat. Salin dan Tempel di berbasis aturan renderer: Dalam berbasis aturan renderer, sekarang Anda bisa klik-kanan pada aturan dan kemudian salin dan tempel aturan sebagai aturan baru. Fitur generalisasi On-the-y:QGIS 2.2 memperkenalkan dukungan tur generalisasi on-the-y. Hal inidapat meningkatkan render ketika menggambar banyak tur yang kompleks pada skala kecil. Fitur ini dapatdiaktifkan atau dinonaktifkan dalam pengaturan lapisan. Juga pengaturan global baru yang memungkinkangeneralisasi secara default untuk lapisan baru yang ditambahkan. Catatan:Fitur generalisasi dapat mem-perkenalkan artefak ke dalam keluaran yang diberikan dalam beberapa kasus. Ini mungkin termasuk irisanantara poligon dan rendering akurat bila menggunakan lapisan simbol berbasis ofset. Jangkar poin dapat diatur untuk lapisan penanda: Ketika mendenisikan simbologi dengan lapisanpenanda(misalnya, lapisantitikdilambangkandenganspidol SVG)Andasekarangdapat menentukan5.6. Server QGIS 15QGIS User Guide, Rilis 2.2bagian mana dari gambar harus sesuai dengan jangkar poin. Misalnya, Anda dapat menunjukkan bah-wa sudut bawah-kiri gambar harus bertepatan dengan posisi tur tersebut. Anda juga dapat menggunakanproperti data-didenisikan memiliki set properti pada waktu render berdasarkan atribut dalam tabel datauntuk lapisan itu (atau ekspresi acak). Peta tematik berdasarkan ekspresi: Peta tematik yang dikategorikan sekarang dapat dibuat dengan meng-gunakan hasil dari sebuah ekspresi. Dalam dialog properti lapisan vektor, pemilih atribut telah ditambahdengan pembangun ekspresi. Jadi sekarang, Anda tidak perlu lagi untuk menulis atribut klasikasi kolombaru dalam tabel atribut jika Anda ingin atribut klasikasi menjadi gabungan dari beberapa bidang, atauformula dari beberapa macam. Dukungan Ekspresi dalam diagram simbol ukuran dan atribut: Anda sekarang dapat menggunakanekspresi untuk menentukan ukuran dan atribut bila menggunakan kemampuan diagram QGIS. Aturan lain di berbasis-aturan renderer: Renderer berbasis-aturan sekarang mendukung aturan lain yangakan dijalankan jika tidak ada aturan lain pada tingkat pencocokan. Aturan lain dapat diulang seperti aturanlainnya. Sebuah contoh:type = water (style grey) ELSE (style red) Dukungan Stroke bagian dalam untuk poligon:Dukungan telah ditambahkan untuk stroke poligon ter-batas pada interior poligon (agar tidak meluas ke poligon tetangga).5.8Antarmuka Pengguna Penyempurnaan dialog properti: Semua dialog properti memiliki menu properti utama yang diperbaruisehingga mereka terlihat lebih rapi, dengan side bar berwarna-terbalik. Ini murni kosmetik tetapi harusmembuat lebih mudah untuk mengetahui konteks apa Anda saat ini dalam dialog. Penyempurnaan dialog ekspresi:Kami telah membuat beberapa tweak ke dialog ekspresi - kuasa peng-guna sekarang dapat menyembunyikan tombol operator. Ada juga sekarang pemecah antara daftar fungsidan area fungsi bantuan, dan antara ekspresi dan daftar fungsi kawasan. Keybinding baru: Kami telah memperbarui cara pintas papan ketik di QGIS untuk membuatnya lebihesien melaksanakan tugas-tugas yang berulang-ulang.Ctrl-d: Hapus lapisan terpilih dalam isi dari tabel>: Pilih vertex setelahnya ketka menggunakan alat simpulbyte/band) . Opsinya antara lain Tidak ada peregangan, Lakukan pereganganuntuk MinMax, Peregangan dan Klip ke MinMax dan juga Clip ke MinMax Batas (minimum/maksimum) . Opsinya adalah Kumulatif jumlah potong pixel, Mini-mum/Maksimum, Berarti +/- standar deviasi. Kumulatif batas jumlah potong pixel Standar deviasi multiplierDebugging Refresh kanvas peta9.3.5Menu Kanvas dan LegendaStandar penampilan peta (diganti oleh proyek properti) Tetapkan Seleksi warna dan Warna latar.Legenda lapisan Dobel klik pada legenda . Anda dapat Buka properti lapisan atau Buka atribut tabel dengan dobelklik. Mengikuti Gaya item legenda: Nama lapisan kapital Nama lapisan tebal Nama grup tebal Tampilkan klasikasi nama atribut Buat ikon raster (mungkin lambat) Tambah lapisan baru ke grup sekarang atau yang dipilih9.3.6Menu perangkat PetaIdentikasi Buka hasil identikasi di dock window (dibutuhkan restart QGIS) PengaturanModemenentukanlapisanakanditampilkanolehalatIdentikasi. DenganberalihkeTopdown atau Top down, stop at rst dan bukan Current layer, atribut untuk semua lapisan yang diiden-tikasi akan ditampilkan dalam alat Identikasi. Di QGIS 2.2. Anda kini bisa menggunakan opsi Layerselection sehingga Anda bisa memilih dengan menu kiri-tetikus dimana lapisan yang Anda inginkan di-identikasi (lihat Bagian Proyek properti Proyek lapisan agar bisa diidentikasi). Buka form tur, jika tur tunggal teridentikasi52 Bab 9. Kongurasi QGISQGIS User Guide, Rilis 2.2 Tentukan Cari radius untuk mengidentikasi dan menampilkan petunjuk peta sebagai persentase dari lebarpeta.Alat pengukuran Tentukan Warna Rubberband untuk peralatan pengukuran Tentukan Tempat desimal Perlu satuan dasar Satuan pengukuran yang dipilih (Meter, Kaki, Mil laut atau derajat) Satuan sudut yang dipilih (Derajat, Radian atau Gon)Menggeser dan memperbesar Tentukan Aksi roda tetikus (Perbesar, Perbesar dan pusat, Perbesar pada kursor tetikus, Tidakada) Tentukan Faktor pembesaran untuk roda tetikusSkala yang ditentukanDi sini Anda menemukan daftar skala yang telah ditentukan. Dengan tombol [+] dan [-] Anda dapat menambahkanatau menghapus skala individu Anda.9.3.7Menu PenyusunStandar KomposisiAnda bisa menentukan font Default disini.Penampilan Kotak Tentukan the Gaya Kotak (Solid, Dots, Crosses) Tentukan Warna...Standar kotak Tentukan Spacing Tentukan Ofset kotak untuk x dan y Tentukan Toleransi SnapStandar panduan Tentukan Toleransi Snap9.3.8Menu DigitalisasiMembuat tur Menekan atribut jendela pop-up setelah setiap tur dibuat Gunakan kembali nilai atribut terakhir yang dimasukkan Validasigeometris. Mengedit garis/poligon kompleks dengan banyak node menyebabkan render sangatlambat. Hal ini karenaprosedurstandarvalidasi di QGISdapat menghabiskanbanyakwaktu. Untukmempercepat rendering itu dengan memilih validasi geometri GEOS (mulai dari GEOS 3.3) atau untukmematikannya. Validasi geometri GEOS jauh lebih cepat, tetapi masalahnya adalah bahwa hanya geometripertama yang akan dilaporkan.Rubberband9.3. Opsi 53QGIS User Guide, Rilis 2.2 Tentukan Rubberband Lebar garis dan Warna garisSnapping Buka opsi mengambil di dock window (dibutuhkan restart QGIS) Tentukan Mode standar snap (Simpul, Segmen, Simpul dan Segmen, Mati) Tentukan Default toleransi snapping dalam satuan peta atau pixel Tentukan Cari radius untuk suntingan simpul dalam satuan peta atau pixelPenanda simpul Tampilkan penanda hanya untk tur yang dipilih Tentukan simpul Gaya Penanda (Palang (standar), Lingkaran semi transparan atau Tidak ada) Tentukan simpul Ukuran PenandaAlat ofset kurva3 pilihan berikutnya mengacu pada alatKurva Ofsetdalam Advanced digitizing. Melalui berbagai pengaturan,ini memungkinkan untuk mempengaruhi bentuk garis ofset. Opsi-opsi ini mungkin dimulai dari GEOS 3.3. Gaya Join Segmen Quadrant Batas Miter9.3.9Menu GDALGDAL adalah data pertukaran librari untuk berkas raster. Dalam tab ini Anda dapat Edit membuat opsi dan EditOpsi Pyramiddari format raster. Menentukan driver GDAL yang akan digunakan untuk format raster sepertidalam beberapa kasus lebih dari satu driver GDAL tersedia.9.3.10Menu CRSCRS standar untuk proyek baru Jangan diaktifkan proyeksi ulang on the y Aktif otomatis proyeksi ulang on the y jika lapisan memiliki CRS berbeda Mengaktifkan proyeksi ulang on the y secara default Pilih sebuah CRS dan Selalui mulai proyek baru dengan CRS iniCRS untuk lapisan baruDaerah ini memungkinkan untuk menentukan tindakan ketika sebuah lapisan baru dibuat, atau ketika lapisan tanpaCRS dimuat. Konrmasi CRS Gunakan CRS proyek Gunakan standar CRS ditampilkan dibawah iniTransformasi datum standar Mintalah transformasi datum bila tidak ada standar yang ditentukan Jika Anda telah bekerja dengan transformasi CRS on-the-y Anda bisa melihat hasil dari transformasidalam jendela di bawah. Anda bisa menemukan informasi tentang Sumber CRS dan Destinasi CRSmaupun Sumber datum transform dan Destinasi datum transform.54 Bab 9. Kongurasi QGISQGIS User Guide, Rilis 2.29.3.11Menu Lokal Timpah sistem lokal dan Lokal gunakan sebagai pengganti Informasi tentang sistem lokal aktif9.3.12Menu JaringanUmum Tentukan WMS cari alamat, default http://geopole.org/wms/search?search=\%1\&type=rss Tentukan Timeout untuk permintaan jaringan (ms) - default 60000 Tentukan Standar periode ekspirasi untuk WMSC/WMTS (jam) - default 24 Tentukan Mencoba kembali Maksimum jika terjadi kesalahan permintaan genteng Tentukan User-AgentGambar 9.4: Pengaturan-proxy di QGISPengaturan cacheTentukan Direktori dan Ukuran untuk cache. Gunakan proxy untuk akses web dan tentukan Host, Port, Pengguna, and Kata Sandi.9.3. Opsi 55QGIS User Guide, Rilis 2.2 Atur Tipe Proxy sesuai dengan kebutuhan Anda.Proxy Standar: Proxy ditentukan berdasarkan aplikasi pengaturan menggunakan proxySocks5Proxy: Proxy generik untuk setiap jenis koneksi. Mendukung TCP, UDP, mengikat ke port(koneksi masuk) dan otentikasi.HttpProxy: Menggunakan perintah CONNECT, mendukung hanya koneksi TCP; mendukung oten-tikasi.HttpCachingProxy: Menggunakanperintahnormal HTTP, ituhanyabergunadalamkonteksper-mintaan HTTP.FtpCachingProxy: Menggunakan proxy FTP, itu hanya berguna dalam konteks permintaan FTP.Tidak termasuk beberapa URLdapat ditambahkan ke kotak teks di bawah pengaturan-proxy (lihat Fig-ure_Network_Tab).Jika Anda membutuhkan informasi lebih rinci tentang pengaturan-proxy yang berbeda, silakan lihat panduan QT-librari-dokumentasi di http://doc.trolltech.com/4.5/qnetworkproxy.html#ProxyType-enum.Tip: Menggunakan ProxiMenggunakan proxi kadang-kadang bisa rumit. Hal ini berguna coba dan eror jenis proxi di atas, untuk memerik-sa apakah mereka berhasil dalam kasus Anda.Anda dapat mengubah pilihan sesuai dengan kebutuhan Anda. Beberapa perubahan mungkin memerlukan restartQGIS sebelum berjalan efektif. Pengaturan tersimpan di berkas teks: $HOME/.config/QGIS/qgis.conf Anda dapat menemukan pengaturan Anda di: $HOME/Library/Preferences/org.qgis.qgis.plist pengaturan terkirim ke registri: HKEY\CURRENT_USER\Software\QGIS\qgis9.4Penyesuaian (Customization)AlatpenyesuaianmemungkinkanAndamengaktifkan(dannonaktif)hampirsetiapelemendalamantarmukaQGIS. Hal ini bisa sangat berguna jika Anda memiliki banyak plugin yang dipasang bahwa Anda tidak pernahmenggunakan dan mengisi layar Anda.Gambar 9.5: Dialog penyesuaianPenyesuaian QGIS dibagi menjadi lima kelompok. Dalam Menu Anda dapat menyembunyikan entri dalamMenu bar. Dalam Panel Anda dapat menemukan Panel jendela. Jendela Panel adalah aplikasi yang dapatdimulai dan digunakan sebagai mengambang, jendela tingkat-atas atau tertanam ke jendela utama QGIS sebagai56 Bab 9. Kongurasi QGISQGIS User Guide, Rilis 2.2widget. (lihat juga Panel dan Toolbar). Dalam tur Status Bar seperti informasi koordinat dapat dinonak-tifkan. Dalam Toolbars Anda dapat mengaktifkan (non aktif) ikon toolbar QGIS dan Widgets Anda dapatmengaktifkan (non aktif) dialog serta tombol mereka.DenganBeralih ke penangkapan widget dalam aplikasi utamaAnda dapat klik elemen dalamQGISyang Anda inginmenyembunyikan dan menemukan entri yang sesuai dalam Penyesuaian (lihat gure_customization). Anda jugadapat menyimpan berbagai setup yang berbeda untuk kasus penggunaan yang berbeda juga. Sebelum perubahanditerapkan, Anda harus me-restart QGIS.Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.9.4. Penyesuaian (Customization) 57QGIS User Guide, Rilis 2.258 Bab 9. Kongurasi QGISBAB 10Working with ProjectionsQGIS allows users to dene a global and project-wide CRS (coordinate reference system) for layers without apre-dened CRS. It also allows the user to dene custom coordinate reference systems and supports on-the-y(OTF) projection of vector and raster layers. All of these features allow the user to display layers with differentCRSs and have them overlay properly.10.1Overview of Projection SupportQGIS has support for approximately 2,700 known CRSs. Denitions for each CRS are stored in a SQLite databasethat is installed with QGIS. Normally, you do not need to manipulate the database directly. In fact, doing so maycause projection support to fail. Custom CRSs are stored in a user database. See section Custom CoordinateReference System for information on managing your custom coordinate reference systems.The CRSs available in QGIS are based on those dened by the European Petroleum Search Group (EPSG) andthe Institut Geographique National de France (IGNF) and are largely abstracted from the spatial reference tablesused in GDAL. EPSG identiers are present in the database and can be used to specify a CRS in QGIS.In order to use OTF projection, either your data must contain information about its coordinate reference system oryou will need to dene a global, layer or project-wide CRS. For PostGIS layers, QGIS uses the spatial referenceidentier that was specied when the layer was created. For data supported by OGR, QGIS relies on the presenceof a recognized means of specifying the CRS. In the case of shapeles, this means a le containing the well-knowntext (WKT) specication of the CRS. This projection le has the same base name as the shapele and a .prjextension. For example, a shapele namedalaska.shp would have a corresponding projection le namedalaska.prj.Whenever you select a new CRS, the layer units will automatically be changed in the General tab of the ProjectProperties dialog under the Project (Gnome, OS X) or Settings (KDE, Windows) menu.10.2Global Projection SpecicationQGIS starts each new project using the global default projection. The global default CRS is EPSG:4326 - WGS 84(proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs), and it comes predened in QGIS. Thisdefault can be changed via the [Select...] button in the rst section, which is used to dene the default coordinatereference systemfor newprojects, as shown in gure_projection_1. This choice will be saved for use in subsequentQGIS sessions.When you use layers that do not have a CRS, you need to dene how QGIS responds to these layers. This can bedone globally or project-wide in the CRS tab under Settings Options.The options shown in gure_projection_1 are: Prompt for CRS Use project CRS59QGIS User Guide, Rilis 2.2Gambar 10.1: CRS tab in the QGIS Options Dialog60 Bab 10. Working with ProjectionsQGIS User Guide, Rilis 2.2 Use default CRS displayed belowIf you want to dene the coordinate reference system for a certain layer without CRS information, you can also dothat in the General tab of the raster and vector properties dialog (see General Menu for rasters and General Menufor vectors). If your layer already has a CRS dened, it will be displayed as shown in Vector Layer PropertiesDialog .Tip: CRS in the Map LegendRight-clicking on a layer in the Map Legend (section Legenda Peta) provides two CRS shortcuts. Set layer CRStakes you directly to the Coordinate Reference System Selector dialog (see gure_projection_2). Set project CRSfrom Layer redenes the project CRS using the layers CRS.10.3Dene On The Fly (OTF) ReprojectionQGIS supports OTF reprojection for both raster and vector data. However, OTF is not activated by default. To useOTF projection, you must activate the Enable on the y CRS transformation checkbox in the CRS tab of theProject Properties dialog.There are three ways to do this:1. Select Project Properties from the Project (Gnome, OSX) or Settings (KDE, Windows) menu.2. Click on theCRS statusicon in the lower right-hand corner of the status bar.3. Turn OTF on by default in the CRS tab of the Options dialog by selecting Enable on the y reprojectionby default or Automatically enable on the y reprojection if layers have different CRS.If you have already loaded a layer and you want to enable OTF projection, the best practice is to open the CRStab of the Project Properties dialog, select a CRS, and activate the Enable on the y CRS transformationcheckbox. TheCRS statusicon will no longer be greyed out, and all layers will be OTF projected to the CRSshown next to the icon.The CRS tab of the Project Properties dialog contains ve important components, as shown in Figure_projection_2and described below:1. Enable on the y CRS transformation This checkbox is used to enable or disable OTF projection.When off, each layer is drawn using the coordinates as read from the data source, and the components de-scribed below are inactive. When on, the coordinates in each layer are projected to the coordinate referencesystem dened for the map canvas.2. Filter If you know the EPSG code, the identier, or the name for a coordinate reference system, you canuse the search feature to nd it. Enter the EPSG code, the identier or the name.3. Recently used coordinate reference systems If you have certain CRSs that you frequently use in youreveryday GIS work, these will be displayed in this list. Click on one of these items to select the associatedCRS.4. Coordinate reference systems of the world This is a list of all CRSs supported by QGIS, includingGeographic, Projected and Custom coordinate reference systems. To dene a CRS, select it from the list byexpanding the appropriate node and selecting the CRS. The active CRS is preselected.5. PROJ.4 text This is the CRS string used by the PROJ.4 projection engine. This text is read-only andprovided for informational purposes.Tip: Project Properties DialogIf you open the Project Properties dialog from the Project menu, you must click on the CRS tab to view the CRSsettings.10.3. Dene On The Fly (OTF) Reprojection 61QGIS User Guide, Rilis 2.2Gambar 10.2: Project Properties DialogOpening the dialog from theCRS statusicon will automatically bring the CRS tab to the front.10.4Custom Coordinate Reference SystemIf QGIS does not provide the coordinate reference system you need, you can dene a custom CRS. To dene aCRS, select Custom CRS... from the Settings menu. Custom CRSs are stored in your QGIS user database. Inaddition to your custom CRSs, this database also contains your spatial bookmarks and other custom data.Dening a custom CRS in QGIS requires a good understanding of the PROJ.4 projection library. To begin, refer toCartographic Projection Procedures for the UNIX Environment - A Users Manual by Gerald I. Evenden, U.S.Geological Survey Open-File Report 90-284, 1990 (available at ftp://ftp.remotesensing.org/proj/OF90-284.pdf).This manual describes the use of the proj.4 and related command line utilities. The cartographic parametersused with proj.4 are described in the user manual and are the same as those used by QGIS.The Custom Coordinate Reference System Denition dialog requires only two parameters to dene a user CRS:1. A descriptive name2. The cartographic parameters in PROJ.4 formatTo create a new CRS, click theAdd new CRSbutton and enter a descriptive name and the CRS parameters.Note that the Parameters must begin with a +proj= block, to represent the new coordinate reference system.You can test your CRS parameters to see if they give sane results. To do this, enter known WGS 84 latitude andlongitude values in North and East elds, respectively. Click on [Calculate], and compare the results with theknown values in your coordinate reference system.62 Bab 10. Working with ProjectionsQGIS User Guide, Rilis 2.2Gambar 10.3: Custom CRS Dialog10.5Default datum transformationsOTF depends on being able to transform data into a default CRS, and QGIS uses WGS84. For some CRS thereare a number of transforms available. QGIS allows you to dene the transformation used otherwise QGIS uses adefault transformation.In the CRS tab under Settings Options you can: set QGIS to ask you when it needs dene a transformation using Ask for datum transformation when nodefault is dened edit a list of user defaults for transformations.QGIS asks which transformation to use by opening a dialogue box displaying PROJ.4 text describing the sourceand destination transforms. Further information may be found by hovering over a transform. User defaults can besaved by selecting Remember selection.Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.10.5. Default datum transformations 63QGIS User Guide, Rilis 2.264 Bab 10. Working with ProjectionsBAB 11QGIS PerambanPenjelajah QGIS adalah panel di QGIS yang memungkinkan Anda dengan mudah menavigasi dalam basisdataAnda.Anda memiliki akses ke berkas-berkas vektor umum (seperti berkas ESRI shapele atau MapInfo), basis-data (seperti PostGIS, Oracle, Spatialite atau MSSQL Spatial) dan koneksi WMS/WFS. Anda juga bisa melihatdata GRASS Anda (untuk mendapatkan data ke QGIS, lihat GRASS GIS Integration)Gambar 11.1: Penjelajah QGIS merupakan aplikasi mandiriMenggunakan penjelajah QGIS untuk menampilkan data Anda. Fungsi geser dan taruh membuatnya mudah untukmenempatkan data Anda ke tampilan peta dan legenda peta.1. Mengaktifkan penjelajah QGIS. Klik-kanan pada toolbar dan centang Peramban atau pilih dari Pengat-uran Panel.2. Geser panel kedalam jendela legenda dan riliskan.3. Klik pada tab Peramban4. Jelajahi dalam basisdata Anda dan pilih folder shapefile dari direktori qgis_sample_data.5. Tekan tombol Shift dan pilih berkas airports.shp dan alaska.shp.6. Tekan tombol kiri tetikus kemudian geser dan tempatkan berkas ke dalam kanvas peta.65QGIS User Guide, Rilis 2.27. Klik-kanan pada lapisan dan pilih Atur CRS proyek dari lapisan. Untuk informasi lebih lanjut lihat Workingwith Projections.8. Klik padaPerbesar Fullagar lapisan-lapisan terlihat.Ada penjelajah kedua yang tersedia di Pengaturan Panel. Hal ini berguna bila Anda perlu untuk memindahkanberkas atau lapisan antar lokasi.1. Mengaktifkan penjelajah QGIS kedua: Klik-kanan pada toolbar dan centang Penjelajah (2), atau pilihdari Pengaturan Panel.2. Geser panel kedalam jendela legenda3. Arahkan ke tab Peramban (2) dan temukan shapele di dalam sistem berkas Anda.4. Pilih sebuah berkas dengan tombol kiri tetikus. Sekarang Anda bisa menggunakan ikonTambah Lapisan Terpilihuntuk menambahkannya kedalam proyek sekarang.QGIS otomatis terlihat untuk Coordinate Reference System (CRS) dan perbesar ke batas lapisan jika Anda bekerjadi sebuah proyek kosong QGIS. Jika sudah ada berkas dalam proyek Anda, berkas hanya akan ditambahkan dandalam kasus itu memiliki tingkat yang sama dan CRS akan divisualisasikan. Jika berkas ini telah mendapat CRSlain dan lapisan Anda terlebih dahulu klik kanan pada lapisan dan pilih Atur CRS Proyek dari Lapisan. Kemudianpilih Perbesar ke Batas Lapisan.FungsiSaring Berkasbekerja pada level direktori. Jelajahi folder dimana Anda ingin menyaring berkas-berkasdan memberikan kata pencarian atau wildcard. Penjelajah hanya menampilkan nama berkas yang sesuai datalain tidak akan ditampilkan.Ini juga mungkin untuk menjalankan penjelajah QGIS sebagai aplikasi mandiri.Mulai Penjelajah QGIS ketik di dalam qbrowser di perintah prompt. Mulai penjelajah QGIS menggunakan menu Start atau desktop shortcut. Peramban QGIS juga tersedia di fodler Aplikasi Anda.Dalam gure_browser_standalone_metadata, Anda bisa melihat ditingkatkannya fungsi penjelajah QGIS mandiri.Tab Param menyediakan detail dari koneksi dataset seperti PostGIS atau MSSQL Spatial. Tab Metadata berisiinformasi umum tentang berkas (lihat Metadata Menu). Dengan tab Preview Anda bisa melihat-lihat di berkasAnda tanpa mengimpor mereka ke proyek QGIS Anda. Ini juga mungkin untuk melihat atribut berkas Anda dalamtab AtributDocs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.66 Bab 11. QGIS PerambanBAB 12Pekerjaan dengan Data VektorDocs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.12.1Supported Data FormatsQGIS uses the OGR library to read and write vector data formats, including ESRI shapeles, MapInfo and Mi-croStation le formats, AutoCAD DXF, PostGIS, SpatiaLite, Oracle Spatial and MSSQL Spatial databases, andmany more. GRASS vector and PostgreSQL support is supplied by native QGIS data provider plugins. Vectordata can also be loaded in read mode from zip and gzip archives into QGIS. As of the date of this document, 69vector formats are supported by the OGR library (see OGR-SOFTWARE-SUITE in Literatur dan Referensi Web).The complete list is available at http://www.gdal.org/ogr/ogr_formats.html.Catatan: Not all of the listed formats may work in QGIS for various reasons. For example, some require externalcommercial libraries, or the GDAL/OGR installation of your OS may not have been built to support the formatyou want to use. Only those formats that have been well tested will appear in the list of le types when loading avector into QGIS. Other untested formats can be loaded by selecting *.*.Working with GRASS vector data is described in Section GRASS GIS Integration.This section describes how to work with several common formats: ESRI shapeles, PostGIS layers, SpatiaLitelayers, OpenStreetMap vectors, and Comma Separated data (CSV). Many of the features available in QGIS workthe same, regardless of the vector data source.This is by design, and it includes the identify, select, labeling andattributes functions.12.1.1ESRI ShapelesThe standard vector le format used in QGIS is the ESRI shapele. Support is provided by the OGR SimpleFeature Library (http://www.gdal.org/ogr/).A shapele actually consists of several les. The following three are required:1. .shp le containing the feature geometries2. .dbf le containing the attributes in dBase format3. .shx index leShapeles also can include a le with a .prj sufx, which contains the projection information. While it is veryuseful to have a projection le, it is not mandatory. A shapele dataset can contain additional les. For furtherdetails, see the ESRI technical specication at http://www.esri.com/library/whitepapers/pdfs/shapele.pdf.67QGIS User Guide, Rilis 2.2Loading a ShapeleTo load a shapele, start QGIS and click on theAdd Vector Layertoolbar button, or simply press Ctrl+Shift+V.This will bring up a new window (see gure_vector_1).Gambar 12.1: Add Vector Layer DialogFrom the available options check File. Click on [Browse]. That will bring up a standard open le dialog (seegure_vector_2), which allows you to navigate the le system and load a shapele or other supported data source.The selection box Filter allows you to preselect some OGR-supported le formats.You can also select the encoding for the shapele if desired.Gambar 12.2: Open an OGR Supported Vector Layer DialogSelecting a shapele from the list and clicking [Open] loads it into QGIS. Figure_vector_3 shows QGIS afterloading the alaska.shp le.Tip: Layer ColorsWhen you add a layer to the map, it is assigned a random color. When adding more than one layer at a time,different colors are assigned to each layer.Once a shapele is loaded, you can zoom around it using the map navigation tools. To change the style of a layer,open the Layer Properties dialog by double clicking on the layer name or by right-clicking on the name in the68 Bab 12. Pekerjaan dengan Data VektorQGIS User Guide, Rilis 2.2Gambar 12.3: QGIS with Shapele of Alaska loaded12.1. Supported Data Formats 69QGIS User Guide, Rilis 2.2legend and choosing Properties from the context menu. See section Style Menu for more information on settingsymbology of vector layers.Tip: Load layer and project from mounted external drives on OS XOn OS X, portable drives that are mounted beside the primary hard drive do not show up as expected under FileOpen Project.We are working on a more OSX-native open/save dialog to x this. As a workaround, you cantype /Volumes in the File name box and press Enter. Then you can navigate to external drives and networkmounts.Improving Performance for ShapelesTo improve the performance of drawing a shapele, you can create a spatial index. A spatial index will improvethe speed of both zooming and panning. Spatial indexes used by QGIS have a .qix extension.Use these steps to create the index: Load a shapele by clicking on theAdd Vector Layertoolbar button or pressing Ctrl+Shift+V. Open the Layer Properties dialog by double-clicking on the shapele name in the legend or by right-clickingand choosing Properties from the context menu. In the General tab, click the [Create Spatial Index] button.Problem loading a shape .prj leIf you load a shapele with a .prj le and QGIS is not able to read the coordinate reference system from thatle, you will need to dene the proper projection manually within the General tab of the Layer Properties dialogof the layer by clicking the [Specify...] button. This is due to the fact that .prj les often do not provide thecomplete projection parameters as used in QGIS and listed in the CRS dialog.For the same reason, if you create a new shapele with QGIS, two different projection les are created: a .prjle with limited projection parameters, compatible with ESRI software, and a .qpj le, providing the completeparameters of the used CRS. Whenever QGIS nds a .qpj le, it will be used instead of the .prj.12.1.2Loading a MapInfo LayerTo load a MapInfo layer, click on theAdd Vector Layertoolbar button; or type Ctrl+Shift+V, change thele type lter Files of type : to Mapinfo File [OGR] (*.mif *.tab *.MIF *.TAB) and select the MapInfolayer you want to load.12.1.3Loading an ArcInfo Binary CoverageTo load an ArcInfo Binary Coverage, click on theAdd Vector Layertoolbar button or press Ctrl+Shift+Vto open the Add Vector Layer dialog. Select Directory as Source type. Change the le type lter Files of typeto Arc/Info Binary Coverage. Navigate to the directory that contains the coverage le, and select it.Similarly, you can load directory-based vector les in the UK National Transfer Format, as well as the raw TIGERFormat of the US Census Bureau.12.1.4Delimited Text FilesTabular data is a very common and widely used format because of its simplicity and readability data can beviewed and edited even in a plain text editor. A delimited text le is an attribute table with each column separated70 Bab 12. Pekerjaan dengan Data VektorQGIS User Guide, Rilis 2.2by a dened character and each row separated by a line break. The rst row usually contains the column names. Acommon type of delimited text le is a CSV (Comma Separated Values), with each column separated by a comma.Such data les can also contain positional information in two main forms: As point coordinates in separate columns As well-known text (WKT) representation of geometryQGIS allows you to load a delimited text le as a layer or ordinal table. But rst check that the le meets thefollowing requirements:1. The le must have a delimited header row of eld names. This must be the rst line in the text le.2. The header row must contain eld(s) with geometry denition. These eld(s) can have any name.3. The X and Y coordinates (if geometry is dened by coordinates) must be specied as numbers. The coor-dinate system is not important.As an example of a valid text le, we import the elevation point data le elevp.csv that comes with the QGISsample dataset (see section Contoh data):X;Y;ELEV-300120;7689960;13-654360;7562040;521640;7512840;3[...]Some items to note about the text le:1. The example text le uses ; (semicolon) as delimiter. Any character can be used to delimit the elds.2. The rst row is the header row. It contains the elds X, Y and ELEV.3. No quotes (") are used to delimit text elds.4. The X coordinates are contained in the X eld.5. The Y coordinates are contained in the Y eld.Loading a delimited text leClick the toolbar iconAdd Delimited Text Layerin the Manage layers toolbar to open the Create a Layer from aDelimited Text File dialog, as shown in gure_delimited_text_1.First, select the le to import (e.g., qgis_sample_data/csv/elevp.csv) by clicking on the [Browse]button. Oncetheleisselected, QGISattemptstoparsethelewiththemostrecentlyuseddelimiter. Toenable QGIS to properly parse the le, it is important to select the correct delimiter. You can specify a delimiterby activating Custom delimiters, or by activating Regular expression delimiter and entering text into theExpression eld. For example,to change the delimiter to tab,use\t (this is a regular expression for the tabcharacter).Once the le is parsed, set Geometry denition to Point coordinates and choose the X and Y elds from thedropdownlists. Ifthecoordinatesaredenedasdegrees/minutes/seconds, activatethe DMScoordinatescheckbox.Finally, enter a layer name (e.g., elevp), as shown in gure_delimited_text_1. To add the layer to the map, click[OK]. The delimited text le now behaves as any other map layer in QGIS.There is also a helper option that allows you to trim leading and trailing spaces from elds Trim elds.Also, it is possible to Discard empty elds. If necessary, you can force a comma to be the decimal separatorby activating Decimal separator is comma.12.1. Supported Data Formats 71QGIS User Guide, Rilis 2.2Gambar 12.4: Delimited Text DialogIf spatial information is represented by WKT, activate the Well Known Text option and select the eld with theWKT denition for point, line or polygon objects. If the le contains non-spatial data, activate No geometry(attribute only table) and it will be loaded as an ordinal table.Additionaly, you can enable: Use spatial index to improve the performance of displaying and spatially selecting features. Use subset index. Watch le to watch for changes to the le by other applications while QGIS is running.12.1.5OpenStreetMap dataIn recent years, the OpenStreetMap project has gained popularity because in many countries no free geodata suchas digital road maps are available. The objective of the OSM project is to create a free editable map of the worldfrom GPS data, aerial photography or local knowledge. To support this objective, QGIS provides suppport forOSM data.Loading OpenStreetMap VectorsQGIS integrates OpenStreetMap import as a core functionality. To connect to the OSM server and download data, open the menu Vector Openstreetmap Load data.You can skip this step if you already obtained an .osm XML le using JOSM, Overpass API or any othersource. The menu Vector Openstreetmap Import topology from an XML le will convert your .osm le intoa SpatiaLite database and create a corresponding database connection. The menu Vector Openstreetmap Export topology to SpatiaLite then allows you to open the databaseconnection, select the type of data you want (points, lines, or polygons) and choose tags to import. Thiscreates a SpatiaLite geometry layer that you can add to your project by clicking on theAdd SpatiaLite Layer72 Bab 12. Pekerjaan dengan Data VektorQGIS User Guide, Rilis 2.2toolbar button or by selecting the Add SpatiaLite Layer... option from the Layer menu (see sectionSpatiaLite Layers).12.1.6PostGIS LayersPostGIS layers are stored in a PostgreSQL database. The advantages of PostGIS are the spatial indexing, lter-ing and query capabilities it provides. Using PostGIS, vector functions such as select and identify work moreaccurately than they do with OGR layers in QGIS.Creating a stored ConnectionThe rst time you use a PostGIS data source, you must create a connection to the PostgreSQL database thatcontains the data. Begin by clicking on theAdd PostGIS Layertoolbar button, selecting the Add PostGISLayer... option from the Layer menu, or typing Ctrl+Shift+D. You can also open the Add Vector Layer dialogand select Database. The Add PostGIS Table(s) dialog will be displayed. To access the connection manager,click on the [New] button to display the Create a New PostGIS Connection dialog. The parameters required for aconnection are: Name: A name for this connection. It can be the same as Database. Service: Service parameter to be used alternatively to hostname/port (and potentially database). This canbe dened in pg_service.conf. Host: Name of the database host. This must be a resolvable host name such as would be used to open atelnet connection or ping the host. If the database is on the same computer as QGIS, simply enter localhosthere. Port: Port number the PostgreSQL database server listens on. The default port is 5432. Database: Name of the database. SSL mode: How the SSL connection will be negotiated with the server. Note that massive speedups inPostGIS layer rendering can be achieved by disabling SSL in the connection editor. The following optionsare available:Disable: Only try an unencrypted SSL connection.Allow: Try a non-SSL connection. If that fails, try an SSL connection.Prefer (the default): Try an SSL connection. If that fails, try a non-SSL connection.Require: Only try an SSL connection. Username: User name used to log in to the database. Password: Password used with Username to connect to the database.Optionally, you can activate the following checkboxes: Save Username Save Password Only look in the geometry_columns table Dont resolve type of unrestricted columns (GEOMETRY) Only look in the public schema Also list tables with no geometry Use estimated table metadata12.1. Supported Data Formats 73QGIS User Guide, Rilis 2.2Once all parameters and options are set, you can test the connection by clicking on the [Test Connect] button.Tip: QGIS User Settings and SecurityDepending on your computing environment, storing passwords in your QGIS settings may be a security risk. Yourcustomized settings for QGIS are stored based on the operating system: The settings are stored in your home directory in ~/.qgis2. The settings are stored in the registry.Loading a PostGIS LayerOnce you have one or more connections dened, you can load layers from the PostgreSQL database. Ofcourse, this requires having data in PostgreSQL. See section Importing Data into PostgreSQL for a discussion onimporting data into the database.To load a layer from PostGIS, perform the following steps: If the Add PostGIS layers dialog is not already open, selecting the Add PostGIS Layer... option from theLayer menu or typing Ctrl+Shift+D opens the dialog. Choose the connection from the drop-down list and click [Connect]. Select or unselect Also list tables with no geometry. Optionally, use some Search Options to dene which features to load from the layer, or use the [Buildquery] button to start the Query builder dialog. Find the layer(s) you wish to add in the list of available layers. Select it by clicking on it. You can select multiple layers by holding down the Shift key while clicking.See section Query Builder for information on using the PostgreSQL Query Builder to further dene thelayer. Click on the [Add] button to add the layer to the map.Tip: PostGIS LayersNormally, a PostGIS layer is dened by an entry in the geometry_columns table. From version 0.9.0 on, QGIScan load layers that do not have an entry in the geometry_columns table. This includes both tables and views.Dening a spatial view provides a powerful means to visualize your data. Refer to your PostgreSQL manual forinformation on creating views.Some details about PostgreSQL layersThis section contains some details on how QGIS accesses PostgreSQL layers. Most of the time, QGIS shouldsimply provide you with a list of database tables that can be loaded, and it will load them on request. However,if you have trouble loading a PostgreSQL table into QGIS, the information below may help you understand anyQGIS messages and give you direction on changing the PostgreSQL table or view denition to allow QGIS toload it.QGIS requires that PostgreSQL layers contain a column that can be used as a unique key for the layer. For tables,this usually means that the table needs a primary key, or a column with a unique constraint on it. In QGIS, thiscolumn needs to be of type int4 (an integer of size 4 bytes). Alternatively, the ctid column can be used as primarykey. If a table lacks these items, the oid column will be used instead. Performance will be improved if the columnis indexed (note that primary keys are automatically indexed in PostgreSQL).If the PostgreSQL layer is a view, the same requirement exists, but views do not have primary keys or columnswith unique constraints on them. You have to dene a primary key eld (has to be integer) in the QGIS dialog74 Bab 12. Pekerjaan dengan Data VektorQGIS User Guide, Rilis 2.2before you can load the view. If a suitable column does not exist in the view, QGIS will not load the layer. If thisoccurs, the solution is to alter the view so that it does include a suitable column (a type of integer and either aprimary key or with a unique constraint, preferably indexed).QGIS offers a checkbox Select at id that is activated by default. This option gets the ids without the attributeswhich is faster in most cases. It can make sense to disable this option when you use expensive views.12.1.7Importing Data into PostgreSQLData can be imported into PostgreSQL/PostGIS using several tools, including the SPIT plugin and the commandline tools shp2pgsql and ogr2ogr.DB ManagerQGIS comes with a core plugin namedDB Manager. It can be used to load shapeles and other data formats, andit includes support for schemas. See section Plugin Pengelola DB for more information.shp2pgsqlPostGIS includes an utility called shp2pgsql that can be used to import shapeles into a PostGIS-enabled database.For example, to import a shapele named lakes.shp into a PostgreSQL database named gis_data, use thefollowing command:shp2pgsql -s 2964 lakes.shp lakes_new | psql gis_dataThis creates a new layer named lakes_new in the gis_data database. The new layer will have a spatial ref-erence identier (SRID) of 2964. See section Working with Projections for more information on spatial referencesystems and projections.Tip: Exporting datasets from PostGISLike the import tool shp2pgsql, there is also a tool to export PostGIS datasets as shapeles: pgsql2shp. This isshipped within your PostGIS distribution.ogr2ogrBesides shp2pgsql and DB Manager, there is another tool for feeding geodata in PostGIS: ogr2ogr. This is partof your GDAL installation.To import a shapele into PostGIS, do the following:ogr2ogr -f "PostgreSQL" PG:"dbname=postgis host=myhost.de user=postgrespassword=topsecret" alaska.shpThis will import the shapele alaska.shp into the PostGIS database postgis using the user postgres with thepassword topsecret on host server myhost.de.Note that OGR must be built with PostgreSQL to support PostGIS. You can verify this by typing (in )ogrinfo --formats | grep -i postIf you prefer to use PostgreSQLs COPY command instead of the default INSERT INTO method, you can exportthe following environment variable (at least available on and ):export PG_USE_COPY=YES12.1. Supported Data Formats 75QGIS User Guide, Rilis 2.2ogr2ogr does not create spatial indexes like shp2pgsl does. You need to create them manually, using the nor-mal SQL command CREATE INDEX afterwards as an extra step (as described in the next section ImprovingPerformance).Improving PerformanceRetrieving features from a PostgreSQL database can be time-consuming, especially over a network. You canimprovethedrawingperformanceof PostgreSQLlayersbyensuringthat aPostGISspatial indexexistsoneachlayerinthedatabase. PostGISsupportscreationofaGiST(GeneralizedSearchTree)indextospeedup spatial searches of the data (GiST index information is taken from the PostGIS documentation available athttp://postgis.refractions.net).The syntax for creating a GiST index is:CREATE INDEX [indexname] ON [tablename]USING GIST ( [geometryfield] GIST_GEOMETRY_OPS );Note that for large tables, creating the index can take a long time. Once the index is created, you should performa VACUUM ANALYZE. See the PostGIS documentation (POSTGIS-PROJECT Literatur dan Referensi Web) formore information.The following is an example of creating a GiST index:gsherman@madison:~/current$ psql gis_dataWelcome 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 quitgis_data=# CREATE INDEX sidx_alaska_lakes ON alaska_lakesgis_data-# USING GIST (the_geom GIST_GEOMETRY_OPS);CREATE INDEXgis_data=# VACUUM ANALYZE alaska_lakes;VACUUMgis_data=# \qgsherman@madison:~/current$12.1.8Vector layers crossing 180longitudeMany GIS packages dont wrap vector maps with a geographic reference system (lat/lon) crossing the 180 degreeslongitude line (http://postgis.refractions.net/documentation/manual-2.0/ST_Shift_Longitude.html). As result,ifwe open such a map in QGIS, we will see two far, distinct locations, that should appear near each other. InFigure_vector_4, the tiny point on the far left of the map canvas (Chatham Islands) should be within the grid, tothe right of the New Zealand main islands.Gambar 12.5: Map in lat/lon crossing the 180 longitude lineA work-around is to transform the longitude values using PostGIS and the ST_Shift_Longitude function. Thisfunction reads every point/vertex in every component of every feature in a geometry, and if the longitude coordi-76 Bab 12. Pekerjaan dengan Data VektorQGIS User Guide, Rilis 2.2nate is < 0, it adds 360 to it. The result is a 0 - 360 version of the data to be plotted in a 180-centric map.Gambar 12.6: Crossing 180 longitude applying the ST_Shift_Longitude functionUsage Import data into PostGIS (Importing Data into PostgreSQL) using, for example, the DB Manager plugin. Use the PostGIS command line interface to issue the following command (in this example,TABLE is the actual name of your PostGIS table): gis_data=# update TABLE setthe_geom=ST_Shift_Longitude(the_geom); If everything went well, you should receive a conrmation about the number of features that were updated.Then youll be able to load the map and see the difference (Figure_vector_5).12.1.9SpatiaLite LayersTherst timeyouloaddatafromaSpatiaLitedatabase, beginbyclickingontheAdd SpatiaLite Layertoolbar button, or byselectingthe AddSpatiaLiteLayer... optionfromtheLayermenu, or bytypingCtrl+Shift+L. This will bring up a window that will allow you either to connect to a SpatiaLite databasealready known to QGIS, which you can choose from the drop-down menu, or to dene a new connection to a newdatabase. To dene a new connection, click on [New] and use the le browser to point to your SpatiaLite database,which is a le with a .sqlite extension.If you want to save a vector layer to SpatiaLite format, you can do this by right clicking the layer in the legend.Then, click on Save as.., dene the name of the output le, and select SpatiaLite as format and the CRS. Also,you can select SQLite as format and then add SPATIALITE=YES in the OGR data source creation option eld.This tells OGR to create a SpatiaLite database. See also http://www.gdal.org/ogr/drv_sqlite.html.QGIS also supports editable views in SpatiaLite.Creating a new SpatiaLite layerIf you want to create a new SpatiaLite layer, please refer to section Creating a new SpatiaLite layer.Tip: SpatiaLite data management PluginsFor SpatiaLite data management, you can also use several Python plugins: QSpatiaLite, SpatiaLite Manager orDB Manager (core plugin, recommended). If necessary, they can be downloaded and installed with the PluginInstaller.12.1. Supported Data Formats 77QGIS User Guide, Rilis 2.212.1.10MSSQL Spatial LayersQGIS also provides native MS SQL 2008 support. The rst time you load MSSQL Spatial data, begin byclicking on theAdd MSSQL Spatial Layertoolbar button or by selecting the Add MSSQL Spatial Layer... optionfrom the Layer menu, or by typing Ctrl+Shift+M.12.1.11Oracle Spatial LayersThe spatial features in Oracle Spatial aid users in managing geographic and location data in a native type withinan Oracle database. QGIS now has support for such layers.Creating a stored ConnectionThersttimeyouuseanOracleSpatialdatasource, youmustcreateaconnectiontothedatabasethatcontains the data. Begin by clicking on theAdd Orcale Spatial Layertoolbar button, selecting the Add OrcaleSpatial Layer... option from the Layer menu, or typing Ctrl+Shift+O. To access the connection manager, clickon the [New] button to display the Create a New Oracle Spatial Connection dialog.The parameters required fora connection are: Name: A name for this connection. It can be the same as Database Database: SID or SERVICE_NAME of the Oracle instance. Host: Name of the database host. This must be a resolvable host name such as would be used to open atelnet connection or ping the host. If the database is on the same computer as QGIS, simply enter localhosthere. Port: Port number the PostgreSQL database server listens on. The default port is 1521. Username: Username used to login to the database. Password: Password used with Username to connect to the database.Optionally, you can activate following checkboxes: Save Username Indicates whether to save the database username in the connection conguration. Save Password Indicates whether to save the database password in the connection settings. Only look in meta data table Restricts the displayed tables to those that are in theall_sdo_geom_metadata view. This can speed up the initial display of spatial tables. Only look for users tables When searching for spatial tables, restrict the search to tables that are ownedby the user. Also list tables with no geometry Indicates that tables without geometry should also be listed by default. Use estimated table statistics for the layer metadata When the layer is set up,various metadata arerequired for the Oracle table. This includes information such as the table row count, geometry type andspatial extents of the data in the geometry column. If the table contains a large number of rows, determiningthis metadata can be time-consuming. By activating this option, the following fast table metadata operationsare done: Row count is determined from all_tables.num_rows. Table extents are always determinedwith the SDO_TUNE.EXTENTS_OF function, even if a layer lter is applied. Table geometry is determinedfrom the rst 100 non-null geometry rows in the table. Only existing geometry types Only list the existing geometry types and dont offer to add others.78 Bab 12. Pekerjaan dengan Data VektorQGIS User Guide, Rilis 2.2Once all parameters and options are set, you can test the connection by clicking on the [Test Connect] button.Tip: QGIS User Settings and SecurityDepending on your computing environment, storing passwords in your QGIS settings may be a security risk.Passwords are saved in clear text in the system conguration and in the project les! Your customized settings forQGIS are stored based on the operating system: The settings are stored in your home directory in .config/QGIS/QGIS2.conf. The settings are stored in the registry.Loading an Oracle Spatial LayerOnce you have one or more connections dened, you can load layers from the Oracle database. Of course,this requires having data in Oracle.To load a layer from Oracle Spatial, perform the following steps: If the Add Oracle Spatial layers dialog is not already open, click on theAdd Oracle Spatial Layertoolbarbutton. Choose the connection from the drop-down list and click [Connect]. Select or unselect Also list tables with no geometry. Optionally, use some Search Options to dene which features to load from the layer or use the [Buildquery] button to start the Query builder dialog. Find the layer(s) you wish to add in the list of available layers. Select it by clicking on it. You can select multiple layers by holding down the Shift key while clicking.See section Query Builder for information on using the Oracle Query Builder to further dene the layer. Click on the [Add] button to add the layer to the map.Tip: Oracle Spatial LayersNormally, an Oracle Spatial layer is dened by an entry in the USER_SDO_METADATA table.Docs for QGIS testing. Visit http://docs.qgis.org for QGIS 2.2 docs and translations.12.2The Vector Properties DialogTheLayerPropertiesdialogforavectorlayerprovidesinformationaboutthelayer, symbologysettingsandlabeling options. If your vector layer has been loaded from a PostgreSQL/PostGIS datastore, you can also alterthe underlying SQL for the layer by invoking the Query Builder dialog on the General tab. To access the LayerProperties dialog, double-click on a layer in the legend or right-click on the layer and select Properties from thepop-up menu.12.2.1Style MenuThe Style menu provides you with a comprehensive tool for rendering and symbolizing your vector data. You canuse Layer rendering tools that are common to all vector data, as well as special symbolizing tools that weredesigned for the different kinds of vector data.12.2. The Vector Properties Dialog 79QGIS User Guide, Rilis 2.2Gambar 12.7: Vector Layer Properties Dialog80 Bab 12. Pekerjaan dengan Data VektorQGIS User Guide, Rilis 2.2Layer rendering Layer transparency : You can make the underlying layer in the map canvas visible withthis tool. Use the slider to adapt the visibility of your vector layer to your needs. You can also make aprecise denition of the percentage of visibility in the the menu beside the slider. Layer blending mode and Feature blending mode: You can achieve special rendering effects with these toolsthat you may previously only know from graphics programs. The pixels of your overlaying and underlayinglayers are mixed through the settings described below.Normal: This is the standard blend mode, which uses the alpha channel of the top pixel to blend withthe pixel beneath it. The colors arent mixed.Lighten: This selects the maximum of each component from the foreground and background pixels.Be aware that the results tend to be jagged and harsh.Screen: Light pixels from


Recommended