﻿{"id":6215,"date":"2018-09-03T05:06:58","date_gmt":"2018-09-03T03:06:58","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=6215"},"modified":"2023-04-28T14:58:11","modified_gmt":"2023-04-28T12:58:11","slug":"python-methods-for-qgis-access-to-vector-data-shapefile","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/","title":{"rendered":"Python Methods for QGis: access to vector data (shapefile)"},"content":{"rendered":"\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>In this series of articles we are going to discuss how to access the vector type of data with Python and QGis. Firstly we will discuss how to load various vector data formats (<a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/shapefile-vs-geopackage\/\">shapefile<\/a>, <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/starting-with-postgres-postgis\/\">postgis<\/a> and spatiality), then how to access the geometric and attribute properties, and finally, some examples of spatial processing for this type of data. Among the large number of possible formats for vector data, we will discuss the main two: shapefile and postgis.<\/p>\r\n\r\n\r\n\r\n<p>For the examples we will use QGis <strong><em>Script Runner<\/em><\/strong> plugin, but you can type lines of code in the Python QGis console.<!--more--><\/p>\r\n\r\n\r\n\r\n<h2><strong>Load<\/strong> <strong>a<\/strong> <strong>shapefile with Python<\/strong><\/h2>\r\n\r\n\r\n\r\n<p>We will use a shapefile file available in Github for this example. You can download it here:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/nycmuseums.zip\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"89\" height=\"89\" data-attachment-id=\"6216\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/cierre\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/cierre.png?fit=89%2C89&amp;ssl=1\" data-orig-size=\"89,89\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"cierre\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/cierre.png?fit=89%2C89&amp;ssl=1\" class=\"wp-image-6216\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/cierre.png?resize=89%2C89&#038;ssl=1\" alt=\"\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/nycmuseums.zip\">nycmuseums<\/a><\/p>\r\n\r\n\r\n\r\n<p>We suppose next that you unzip this file in a directory <strong><em>c: \/ data<\/em><\/strong>.<\/p>\r\n\r\n\r\n\r\n<p>Start QGis and open Script Runner (this assumes you have already installed and activated it).<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/sr2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"517\" height=\"225\" data-attachment-id=\"6217\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met1.png?fit=517%2C225&amp;ssl=1\" data-orig-size=\"517,225\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met1.png?fit=517%2C225&amp;ssl=1\" class=\"wp-image-6217\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met1.png?resize=517%2C225&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met1.png?w=517&amp;ssl=1 517w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met1.png?resize=300%2C131&amp;ssl=1 300w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>Click on the tool <strong><em>New Script<\/em><\/strong> \u00a0<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/pv1.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"345\" height=\"169\" data-attachment-id=\"6218\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met2.png?fit=345%2C169&amp;ssl=1\" data-orig-size=\"345,169\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met2.png?fit=345%2C169&amp;ssl=1\" class=\"wp-image-6218\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met2.png?resize=345%2C169&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met2.png?w=345&amp;ssl=1 345w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met2.png?resize=300%2C147&amp;ssl=1 300w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>and name your script <strong><em>load_vector.py<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<p>In tab <strong>Source<\/strong> you will have the contents of the new created file.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/sr4.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"518\" data-attachment-id=\"6219\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met3.png?fit=714%2C578&amp;ssl=1\" data-orig-size=\"714,578\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met3.png?fit=640%2C518&amp;ssl=1\" class=\"wp-image-6219\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met3.png?resize=640%2C518&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met3.png?w=714&amp;ssl=1 714w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met3.png?resize=300%2C243&amp;ssl=1 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>Open the context menu of the script by right clicking on the script name and select <strong><em>Edit script in external editor<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i1.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/pv2.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"339\" data-attachment-id=\"6220\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met4.png?fit=320%2C339&amp;ssl=1\" data-orig-size=\"320,339\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met4.png?fit=320%2C339&amp;ssl=1\" class=\"wp-image-6220\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met4.png?resize=320%2C339&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met4.png?w=320&amp;ssl=1 320w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met4.png?resize=283%2C300&amp;ssl=1 283w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"6221\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/tuerca-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/tuerca.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"tuerca\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/tuerca.png?fit=50%2C50&amp;ssl=1\" class=\"wp-image-6221\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/tuerca.png?resize=50%2C50&#038;ssl=1\" alt=\"\" \/><div class='stb-container stb-style-grey'><div class='stb-caption'><div class='stb-logo'><img class='stb-logo__image' src='data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN\/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz\/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH\/w\/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZ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BXFkML0vwEDnhB8mAannDgOwlCTCo1epsURT7z50339rW1qooKS4RSkqHcOr9k9K0adOFAwf2x\/r1G9BqNOrfKy4tvWPL1h3ZN06bQXNzI8FgiJk3zGLM2JGo1RqcTqfcvJCoqzuHz+ePzPrqjFt1Ou2OT5sjaVnqokCvHGohoEf2Qj7gAqwylEPOI1EUxSQgVr+7OQmoas+cEVKplABIe\/fukcLhMIDC4XCMvvOuJYq5X5vDiZOH8AdCGIxmotEQsWgIf1CBLTObFCkaG+s4deoUI0aMqNPptBc\/6xElLVs8LANcAE4Ce4Ed8vV94JIMefkU4JD3FQExlUqJslHS4XA4LRtvUCgUGltUmG91u1tpbr7E6Iqx5Lhy6PZ4qGtoI9M1kD5fmAMHDrF7zy5UKjXFJUUHN2x4p\/Gz5MjHYZXyD9AAesAsF8xsefaXPXTZO0a5+6GVp0reQ7isiEajUX377bdb9AaDsrioFHOGkcOHDmPQm5l38zzCsQDZmS6OHz+Gw5GJ290ZjEZD3\/nFo794SxTFz\/Wom5ZvnpItG5e95JHDTC9DWWQhyLgCVCuvq+SckmQ1TITD4axXXnllwn333ZdfPrKMynXr6OkL8M0pM9i4uZJeTy\/\/etcyTtW8z6KFd7KhqvL0unXrW+S9kp+3HSRdMa8Eisoe65Etrr5iauT3tJefRuXvxuVrARDzeDymdWvXOg1anbDg27fR7e6gpqaG225bxNGjx5g0cSrPrF4V3bRpY6fsUeHzhtYnVX6u2Fj42NrfM8TlG2YAo4GvARNXrVo1PJVMalrb2jSTJk0Rurs7EUWJ7du2uHfu2nkI2AjsAtzSVX705wX5JLArX0tXgfl47hlkOS\/Nzc0d0eV2Z40dNz6voCA\/c\/v27b12uz3a2Nh4GtgHnAO8H7XQJL4okGsZSvkclyELhEnOsdgV8t9zZRH8vwpytZIgXCUU+cwgX\/7z4UuQL0H++UD+awDc\/MMFLMO8WgAAAABJRU5ErkJggg==' alt='img'\/><\/div><div class='stb-caption-content'><\/div><div class='stb-tool'><\/div><\/div><div class='stb-content'>\r\n<p># Customize this starter script by adding code <br \/># to the run_script function. See the Help for <br \/># complete information on how to create a script <br \/># and use Script Runner.<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00bb \u00a0\u00a0 \u00a0\u00bb \u00a0 \u00bbYour description of the script goes here\u00ab \u00a0\u00a0 \u00a0\u00bb \u00a0 \u00ab\u00a0<\/p>\r\n\r\n\r\n\r\n<p># Some commonly used imports<\/p>\r\n\r\n\r\n\r\n<p>from PyQt4.QtCore import * <br \/>from PyQt4.QtGui import * <br \/>from qgis.core import * <br \/>from qgis.gui import *<\/p>\r\n\r\n\r\n\r\n<p>def run_script ( iface ): <br \/>layer = QgsVectorLayer (\u00a0\u00bb \u00a0 \/ data \/ NYC_MUSEUMS_GEO.shp \u00a0 \u00bb,\u00ab \u00a0 Museums in New York City \u00a0 \u00bb,\u00ab \u00a0 ogr \u00a0 \u00ab\u00a0) <br \/>if not layer.isValid (): <br \/>print \u00ab \u00a0 loading error of% s layer \u00a0 \u00bb% Layer.name () <br \/>QgsMapLayerRegistry.instance (). addMapLayers ([layer])<\/p>\r\n<\/div><\/div><\/figure>\r\n\r\n\r\n\r\n\r\n\r\n<p>You can copy- paste this text, but ATTENTION!! : you will have to correct the indentation of the lines for the script to work. The display HTML ignores spaces at the beginning of the line, but Python &#8230; DOES NOT!<\/p>\r\n\r\n\r\n\r\n<p>Your script must appear in ScriptRunner as follows<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"350\" data-attachment-id=\"6222\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met5.png?fit=840%2C460&amp;ssl=1\" data-orig-size=\"840,460\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met5.png?fit=640%2C350&amp;ssl=1\" class=\"wp-image-6222\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met5.png?resize=640%2C350&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met5.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met5.png?resize=300%2C164&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met5.png?resize=768%2C421&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>If you have a message like this one:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/pv4.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"126\" data-attachment-id=\"6223\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met6\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met6.png?fit=502%2C126&amp;ssl=1\" data-orig-size=\"502,126\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met6\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met6.png?fit=502%2C126&amp;ssl=1\" class=\"wp-image-6223\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met6.png?resize=502%2C126&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met6.png?w=502&amp;ssl=1 502w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met6.png?resize=300%2C75&amp;ssl=1 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>it is that there is a syntax error in your script and that ScriptRunner cannot interpret your code source.<\/p>\r\n\r\n\r\n\r\n<p>If you run the script from ScriptRunner you will have the following:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/pv5.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"350\" data-attachment-id=\"6224\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met7\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met7.png?fit=840%2C459&amp;ssl=1\" data-orig-size=\"840,459\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met7\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met7.png?fit=640%2C350&amp;ssl=1\" class=\"wp-image-6224\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met7.png?resize=640%2C350&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met7.png?w=840&amp;ssl=1 840w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met7.png?resize=300%2C164&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met7.png?resize=768%2C420&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>your shapefile loaded in QGis.<\/p>\r\n\r\n\r\n\r\n<p>Let&rsquo;s now see in detail what we have done in this script:<\/p>\r\n\r\n\r\n\r\n<p><strong><em>layer<\/em><\/strong> <strong><em>=<\/em><\/strong> <strong><em>QgsVectorLayer<\/em><\/strong> <strong><em>(\u00ab\u00a0<\/em><\/strong> <strong><em>\/ data \/<\/em><\/strong> <strong><em>NYC_MUSEUMS_GEO.shp<\/em><\/strong> <strong><em>\u00bb,\u00ab<\/em><\/strong> <strong><em>Museums<\/em><\/strong> <strong><em>in<\/em><\/strong> <strong><em>New York<\/em><\/strong> <strong><em>City<\/em><\/strong> <strong><em>\u00bb,\u00ab<\/em><\/strong> <strong><em>ogr<\/em><\/strong> <strong><em>\u00ab\u00a0)<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<p>This code line creates the layer . QgsVectorLayer requires three parameters:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>a file path for the data to be loaded: \u00a0\u00bb \u00a0 <strong><em>\/ data \/<\/em><\/strong> <strong><em>NYC_MUSEUMS_GEO.shp<\/em><\/strong> \u00ab \u00a0<\/li>\r\n<li>the name we want to give this layer in the QGis window : \u00a0\u00bb \u00a0 <strong><em>Museums<\/em><\/strong> <strong><em>of the<\/em><\/strong> <strong><em>City<\/em><\/strong> <strong><em>of New York<\/em><\/strong> \u00a0\u00bb \u00a0<\/li>\r\n<li>and the data provider (data provider) to use: here \u00a0\u201c<strong><em>ogr<\/em><\/strong> \u201c\u00a0 of the GDAL library . OGR determines the data format from the file extension and adapts the driver to use in function. Here is the list of formats managed by <strong><em>ogr<\/em><\/strong> :<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>List of OGR vector formats<\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n<div class='stb-container stb-style-grey stb-caption-box stb-collapsed'><div class='stb-caption'style='background-image:linear-gradient(to bottom, 7070FF 30%, #ababab 90%);'><div class='stb-logo'><img class='stb-logo__image' src='data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN\/r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rF4V3bRpY6fsUeHzhtYnVX6u2Fj42NrfM8TlG2YAo4GvARNXrVo1PJVMalrb2jSTJk0Rurs7EUWJ7du2uHfu2nkI2AjsAtzSVX705wX5JLArX0tXgfl47hlkOS\/Nzc0d0eV2Z40dNz6voCA\/c\/v27b12uz3a2Nh4GtgHnAO8H7XQJL4okGsZSvkclyELhEnOsdgV8t9zZRH8vwpytZIgXCUU+cwgX\/7z4UuQL0H++UD+awDc\/MMFLMO8WgAAAABJRU5ErkJggg==' alt='img'\/><\/div><div class='stb-caption-content'>Liste des formats vecteur OGR<\/div><div class='stb-tool'><\/div><\/div><div class='stb-content'style='background-image:linear-gradient(to bottom, C9C9C9 30%, #dddddd 90%);'><\/p>\r\n<h1>\u00a0<\/h1>\r\n<table border=\"\">\r\n<tbody>\r\n<tr>\r\n<th>Nom du Format<\/th>\r\n<th>Code<\/th>\r\n<th>Cr\u00e9ation<\/th>\r\n<th>G\u00e9or\u00e9f\u00e9rencement<\/th>\r\n<th>Compil\u00e9 par d\u00e9faut<\/th>\r\n<\/tr>\r\n<tr>\r\n<td>fichiers Aeronav FAA<\/td>\r\n<td>AeronavFAA<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_amigocloud.html\">AmigoCloud API<\/a><\/td>\r\n<td>AmigoCloud<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>ESRI ArcObjects<\/td>\r\n<td>ArcObjects<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie ESRI ArcObjects<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_avcbin.html\">Arc\/Info Binary Coverage<\/a><\/td>\r\n<td>AVCBin<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_avce00.html\">Arc\/Info .E00 (ASCII) Coverage<\/a><\/td>\r\n<td>AVCE00<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Arc\/Info Generate<\/td>\r\n<td>ARCGEN<\/td>\r\n<td>Non<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Atlas BNA<\/td>\r\n<td>BNA<\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_dwg.html\">AutoCAD DWG<\/a><\/td>\r\n<td>DWG<\/td>\r\n<td>Non<\/td>\r\n<td>Non<\/td>\r\n<td>Non, n\u00e9cessite la librairie Open Design Alliance Teigha<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_dxf.html\">AutoCAD DXF<\/a><\/td>\r\n<td>DXF<\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_carto.html\">Carto<\/a><\/td>\r\n<td>Carto<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Cloudant \/ CouchDB<\/td>\r\n<td>Cloudant<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>CouchDB \/ GeoCouch<\/td>\r\n<td>CouchDB<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_csv.html\">Comma Separated Value (.csv)<\/a><\/td>\r\n<td><a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/import-csv-qgis\/\">CSV<\/a><\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_csw.html\">OGC CSW (Catalog Service for the Web)<\/a><\/td>\r\n<td>CSW<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_vfk.html\">Czech Cadastral Exchange Data Format<\/a><\/td>\r\n<td>VFK<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libsqlite3<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>DB2 Spatial<\/td>\r\n<td>DB2ODBC<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie ODBC<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>DODS\/OPeNDAP<\/td>\r\n<td>DODS<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libdap<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_edigeo.html\">EDIGEO<\/a><\/td>\r\n<td>EDIGEO<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_elasticsearch.html\">ElasticSearch<\/a><\/td>\r\n<td>ElasticSearch<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_filegdb.html\">ESRI FileGDB<\/a><\/td>\r\n<td>FileGDB<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie FileGDB API<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_pgeo.html\">ESRI Personal GeoDatabase<\/a><\/td>\r\n<td>PGeo<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie ODBC<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>ESRI ArcSDE<\/td>\r\n<td>SDE<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie ESRI SDE<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_shapefile.html\">ESRI Shapefile \/ DBF<\/a><\/td>\r\n<td>ESRI Shapefile<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>FMEObjects Gateway<\/td>\r\n<td>FMEObjects Gateway<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie FME<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_geojson.html\">GeoJSON<\/a><\/td>\r\n<td>GeoJSON<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_geoconcept.html\">G\u00e9oconcept Export<\/a><\/td>\r\n<td>Geoconcept<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Geomedia .mdb<\/td>\r\n<td>Geomedia<\/td>\r\n<td>Non<\/td>\r\n<td>Non<\/td>\r\n<td>Non, n\u00e9cessite la librairie ODBC<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_geopackage.html\">GeoPackage<\/a><\/td>\r\n<td>GPKG<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libsqlite3<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_georss.html\">GeoRSS<\/a><\/td>\r\n<td>GeoRSS<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI (la lecture n\u00e9cessite la librairie libexpat)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Tables Google Fusion<\/td>\r\n<td>GFT<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_gml.html\">GML<\/a><\/td>\r\n<td>GML<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI (la lecture n\u00e9cessite la librairie Xerces or libexpat)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_gmt.html\">GMT<\/a><\/td>\r\n<td>GMT<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_gpsbabel.html\">GPSBabel<\/a><\/td>\r\n<td>GPSBabel<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI (n\u00e9cessite la librairie GPSBabel et GPX driver)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_gpx.html\">GPX<\/a><\/td>\r\n<td>GPX<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI (la lecture n\u00e9cessite la librairie libexpat)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_grass.html\">GRASS Vector Format<\/a><\/td>\r\n<td>GRASS<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libgrass<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>GPSTrackMaker (.gtm, .gtz)<\/td>\r\n<td>GPSTrackMaker<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Hydrographic Transfer Format<\/td>\r\n<td>HTF<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_idrisi.html\">Idrisi Vector (.VCT)<\/a><\/td>\r\n<td>Idrisi<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_idb.html\">Informix DataBlade<\/a><\/td>\r\n<td>IDB<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie Informix DataBlade<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_ili.html\">INTERLIS<\/a><\/td>\r\n<td>\u00ab\u00a0Interlis 1\u00a0\u00bb et \u00ab\u00a0Interlis 2\u00a0\u00bb<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie Xerces<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>INGRES<\/td>\r\n<td>INGRES<\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>Non, n\u00e9cessite la librairie INGRESS<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_jml.html\">JML<\/a><\/td>\r\n<td>OpenJUMP .jml<\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>OUI (la lecture n\u00e9cessite la librairie libexpat)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_kml.html\">KML<\/a><\/td>\r\n<td>KML<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI (la lecture n\u00e9cessite la librairie libexpat)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_libkml.html\">LIBKML<\/a><\/td>\r\n<td>LIBKML<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libkml<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_mitab.html\">Fichiers Mapinfo<\/a><\/td>\r\n<td>MapInfo File<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_dgn.html\">Microstation DGN<\/a><\/td>\r\n<td>DGN<\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Access MDB (PGeo et Geomedia)<\/td>\r\n<td>MDB<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie JDK\/JRE<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_memory.html\">Memory<\/a><\/td>\r\n<td>Memory<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>MongoDB<\/td>\r\n<td>MongoDB<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie Mongo C++ client<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_mysql.html\">MySQL<\/a><\/td>\r\n<td>MySQL<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie MySQL<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_nas.html\">NAS &#8211; ALKIS<\/a><\/td>\r\n<td>NAS<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie Xerces<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>NetCDF<\/td>\r\n<td>netCDF<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libnetcdf<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_oci.html\">Oracle Spatial<\/a><\/td>\r\n<td>OCI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie OCI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_odbc.html\">ODBC<\/a><\/td>\r\n<td>ODBC<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie ODBC<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_mssqlspatial.html\">MS SQL Spatial<\/a><\/td>\r\n<td>MSSQLSpatial<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie ODBC<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_ods.html\">Open Document Spreadsheet<\/a><\/td>\r\n<td>ODS<\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>Non, n\u00e9cessite la librairie libexpat<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_ogdi.html\">OGDI Vectors (VPF, VMAP, DCW)<\/a><\/td>\r\n<td>OGDI<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie OGDI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>OpenAir<\/td>\r\n<td>OpenAir<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_openfilegdb.html\">ESRI FileGDB<\/a><\/td>\r\n<td>OpenFileGDB<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_osm.html\">OpenStreetMap XML et PBF<\/a><\/td>\r\n<td>OSM<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libsqlite3 (et libexpat pour OSM XML)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/frmt_pcidsk.html\">PCI Geomatics Database File<\/a><\/td>\r\n<td>PCIDSK<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI, utilisant en interne PCIDSK SDK (de GDAL 1.7.0)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/frmt_pdf.html\">Geospatial PDF<\/a><\/td>\r\n<td>PDF<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI (la lecture n\u00e9cessite libpoppler ou libpodofo)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_pds.html\">PDS<\/a><\/td>\r\n<td>PDS<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_plscenes.html\">Planet Labs Scenes API<\/a><\/td>\r\n<td>PLScenes<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_pgdump.html\">PostgreSQL SQL dump<\/a><\/td>\r\n<td>PGDump<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_pg.html\">PostgreSQL\/PostGIS<\/a><\/td>\r\n<td>PostgreSQL\/PostGIS<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie PostgreSQL client (libpq)<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>EPIInfo .REC<\/td>\r\n<td>REC<\/td>\r\n<td>Non<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_s57.html\">S-57 (ENC)<\/a><\/td>\r\n<td>S57<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_sdts.html\">SDTS<\/a><\/td>\r\n<td>SDTS<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>SEG-P1 \/ UKOOA P1\/90<\/td>\r\n<td>SEGUKOOA<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>SEG-Y<\/td>\r\n<td>SEGY<\/td>\r\n<td>Non<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_selafin.html\">format Selafin\/Seraphin<\/a><\/td>\r\n<td>Selafin<\/td>\r\n<td>OUI<\/td>\r\n<td>Partial (seulement codes EPSG)<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/trac.osgeo.org\/gdal\/ticket\/3638\">Norwegian SOSI Standard<\/a><\/td>\r\n<td>SOSI<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie FYBA<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_sqlite.html\">SQLite\/SpatiaLite<\/a><\/td>\r\n<td>SQLite<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libsqlite3 or libspatialite<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>SUA<\/td>\r\n<td>SUA<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_svg.html\">SVG<\/a><\/td>\r\n<td>SVG<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libexpat<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_sxf.html\">Storage et eXchange Format<\/a><\/td>\r\n<td>SXF<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_ntf.html\">UK .NTF<\/a><\/td>\r\n<td>UK. NTF<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_tiger.html\">U.S. Census TIGER\/Line<\/a><\/td>\r\n<td>TIGER<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_vrt.html\">VRT &#8211; Virtual Datasource<\/a><\/td>\r\n<td>VRT<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_wfs.html\">OGC WFS (Web Feature Service)<\/a><\/td>\r\n<td>WFS<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie libcurl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_xls.html\">MS Excel format<\/a><\/td>\r\n<td>XLS<\/td>\r\n<td>Non<\/td>\r\n<td>Non<\/td>\r\n<td>Non, n\u00e9cessite la librairie libfreexl<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_xlsx.html\">MS Office Open XML spreadsheet<\/a><\/td>\r\n<td>XLSX<\/td>\r\n<td>OUI<\/td>\r\n<td>Non<\/td>\r\n<td>Non, n\u00e9cessite la librairie libexpat<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>X-Plane\/Flightgear aeronautical data<\/td>\r\n<td>XPLANE<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_vdv.html\">VDV-451\/VDV-452\/IDF<\/a><\/td>\r\n<td>VDV<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Walk<\/td>\r\n<td>Walk<\/td>\r\n<td>Non<\/td>\r\n<td>OUI<\/td>\r\n<td>Non, n\u00e9cessite la librairie ODBC<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><a href=\"http:\/\/www.gdal.org\/drv_wasp.html\">WAsP .map format<\/a><\/td>\r\n<td>WAsP<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<td>OUI<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p>\u00a0 <\/div><\/div>\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n\r\n\r\n<p>We have introduced two code lines:<\/p>\r\n\r\n\r\n\r\n<p><strong><em>if<\/em><\/strong> <strong><em>not<\/em><\/strong> <strong><em>layer.isValid<\/em><\/strong> <strong><em>():<\/em><\/strong> <br \/><strong><em>print \u00ab<\/em><\/strong> <strong><em>loading<\/em><\/strong> <strong><em>error<\/em><\/strong> <strong><em>of% s<\/em><\/strong> <strong><em>layer<\/em><\/strong> <strong><em>\u00bb% Layer.name ()<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<p>If for some reason <strong>QgsVectorLayer<\/strong> failed in the creation of the layer (error in the file name, data corrupted, etc &#8230;) it does not return an error message. Your script will continue to run and will crash further on. The error message that you see has a good chance of having nothing to do with the real problem. Therefore, it is quite convenient to test the validity of each layer created and to display the error immediately.<\/p>\r\n\r\n\r\n\r\n<p>Finally, in the last line, we add the vector layer to the <strong>QgsMapLayerRegistry,<\/strong> which makes it available and visible on the map.<\/p>\r\n\r\n\r\n\r\n<p><strong><em>QgsMapLayerRegistry.instance<\/em><\/strong> <strong><em>(<\/em><\/strong> <strong><em>).<\/em><\/strong> <strong><em>addMapLayers<\/em><\/strong> <strong><em>([layer])<\/em><\/strong><\/p>\r\n\r\n\r\n\r\n<p>The registry keeps track of all layers of the project. The reason why QGIS works this way is to allow you to load multiple layers, assign them a style, filter them, as well as several other operations, before displaying being displayed in the map.<\/p>\r\n\r\n\r\n\r\n<h2><strong>\u00a0<\/strong> <strong>How to code the<\/strong> <strong>file chosen<\/strong> <strong>to load<\/strong><\/h2>\r\n\r\n\r\n\r\n<p>In our code, the file to load is written in hard, which is rarely the case in the reality of the processes . We will see how to code the file search with the window \u00a0 \u201cOpen a file\u201d<\/p>\r\n\r\n\r\n\r\n<p>In ScriptRunner create a new script <strong><em>dialog_file.py<\/em><\/strong> .<\/p>\r\n\r\n\r\n\r\n<p>Enter the following code<\/p>\r\n\r\n\r\n\r\n<p>&nbsp;<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"50\" height=\"50\" data-attachment-id=\"6226\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/tuerca-6\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/tuerca-2.png?fit=50%2C50&amp;ssl=1\" data-orig-size=\"50,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"tuerca\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/tuerca-2.png?fit=50%2C50&amp;ssl=1\" class=\"wp-image-6226\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/tuerca-2.png?resize=50%2C50&#038;ssl=1\" alt=\"\" \/><div class='stb-container stb-style-grey'><div class='stb-caption'><div class='stb-logo'><img class='stb-logo__image' src='data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN\/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz\/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH\/w\/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA\/g88wAAKCRFRHgg\/P9eM4Ors7ONo62Dl8t6r8G\/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt\/qIl7gRoXgugdfeLZrIPQLUAoOnaV\/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl\/AV\/1s+X48\/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H\/LcL\/\/wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93\/+8\/\/UegJQCAZkmScQAAXkQkLlTKsz\/HCAAARKCBKrBBG\/TBGCzABhzBBdzBC\/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EA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ZXyD9AAesAsF8xsefaXPXTZO0a5+6GVp0reQ7isiEajUX377bdb9AaDsrioFHOGkcOHDmPQm5l38zzCsQDZmS6OHz+Gw5GJ290ZjEZD3\/nFo794SxTFz\/Wom5ZvnpItG5e95JHDTC9DWWQhyLgCVCuvq+SckmQ1TITD4axXXnllwn333ZdfPrKMynXr6OkL8M0pM9i4uZJeTy\/\/etcyTtW8z6KFd7KhqvL0unXrW+S9kp+3HSRdMa8Eisoe65Etrr5iauT3tJefRuXvxuVrARDzeDymdWvXOg1anbDg27fR7e6gpqaG225bxNGjx5g0cSrPrF4V3bRpY6fsUeHzhtYnVX6u2Fj42NrfM8TlG2YAo4GvARNXrVo1PJVMalrb2jSTJk0Rurs7EUWJ7du2uHfu2nkI2AjsAtzSVX705wX5JLArX0tXgfl47hlkOS\/Nzc0d0eV2Z40dNz6voCA\/c\/v27b12uz3a2Nh4GtgHnAO8H7XQJL4okGsZSvkclyELhEnOsdgV8t9zZRH8vwpytZIgXCUU+cwgX\/7z4UuQL0H++UD+awDc\/MMFLMO8WgAAAABJRU5ErkJggg==' alt='img'\/><\/div><div class='stb-caption-content'><\/div><div class='stb-tool'><\/div><\/div><div class='stb-content'>\r\n<p># Customize this starter script by adding code <br \/># to the run_script function. See the Help for <br \/># complete information on how to create a script <br \/># and use Script Runner.<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00bb \u00a0\u00a0 \u00a0\u00bb \u00a0 \u00bbYour description of the script goes here\u00ab \u00a0\u00a0 \u00a0\u00bb \u00a0 \u00ab\u00a0<\/p>\r\n\r\n\r\n\r\n<p># Some commonly used imports<\/p>\r\n\r\n\r\n\r\n<p>from PyQt4.QtCore import * <br \/>from PyQt4.QtGui import * <br \/>from qgis.core import * <br \/>from qgis.gui import *<\/p>\r\n\r\n\r\n\r\n<p>def run_script ( iface ): <br \/>qfd = QFileDialog () <br \/>title = &lsquo; Open a file &lsquo; <br \/>path = \u00a0\u00bb \u00a0 C: \/ \u00a0 \u00a0\u00bb <br \/>f = QFileDialog.getOpenFileName ( qfd , title, path) <br \/>print f<\/p>\r\n<\/div><\/div><\/figure>\r\n\r\n\r\n\r\n\r\n\r\n<p>Your script must look like this:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/pv7.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"444\" data-attachment-id=\"6227\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met8\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met8.png?fit=831%2C577&amp;ssl=1\" data-orig-size=\"831,577\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met8\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met8.png?fit=640%2C444&amp;ssl=1\" class=\"wp-image-6227\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met8.png?resize=640%2C444&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met8.png?w=831&amp;ssl=1 831w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met8.png?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met8.png?resize=768%2C533&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>When you run it, \u00a0the file search window will be displayed. When you click on \u201cOpen\u201d, the script displays the full name of your file .<\/p>\r\n\r\n\r\n\r\n<p>The line <strong><em>from PyQt4.QtGui import *<\/em><\/strong> is essential to be able to call the dialogue.<\/p>\r\n\r\n\r\n\r\n<p>QFileDialog uses three parameters:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>the object QFileDialog : <strong><em>qfd<\/em><\/strong><\/li>\r\n<li>the title of the dialogue window : <strong><em>title<\/em><\/strong><\/li>\r\n<li>the starting path of the window: in this example <strong><em>C: \/<\/em><\/strong> ( but you can indicate anything regardless of the directory )<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>The result (f) contains a string with the path and file name selected. If the user does not click <strong><em>Open<\/em><\/strong> but <strong><em>Cancel<\/em><\/strong>, the chain is empty.<\/p>\r\n\r\n\r\n\r\n<p>Now we can modify the first script (loading a shape) to use the dialog instead of the hard encoding:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i1.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2016\/08\/pv8.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"445\" data-attachment-id=\"6228\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/python-methods-for-qgis-access-to-vector-data-shapefile\/met9\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met9.png?fit=839%2C583&amp;ssl=1\" data-orig-size=\"839,583\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"met9\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met9.png?fit=640%2C445&amp;ssl=1\" class=\"wp-image-6228\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met9.png?resize=640%2C445&#038;ssl=1\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met9.png?w=839&amp;ssl=1 839w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met9.png?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/09\/met9.png?resize=768%2C534&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\r\n\r\n\r\n\r\n<p>At the execution of the script, the dialog window opens , you choose the file to load, and then the script is loaded into QGis.<\/p>\r\n\r\n\r\n\r\n<p>In the next article we will see how to do the same but from a Postgis table or a database Spatiality database.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; In this series of articles we are going to discuss how to access the vector type of data with Python and QGis. Firstly we will discuss how to load various vector data formats (shapefile, postgis&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1260],"tags":[],"class_list":["post-6215","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-1Cf","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/6215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=6215"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/6215\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=6215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=6215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=6215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}