﻿{"id":6914,"date":"2018-11-09T06:34:01","date_gmt":"2018-11-09T05:34:01","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=6914"},"modified":"2023-06-22T10:03:17","modified_gmt":"2023-06-22T08:03:17","slug":"geopackage-format-and-qgis-3","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/","title":{"rendered":"Geopackage format and QGis 3"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><br><strong>An<\/strong> <strong>open<\/strong> <strong>format<\/strong> <strong>for geospatial<\/strong> <strong>information<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/shapefile-vs-geopackage\/\">GeoPackage<\/a> is a compact, portable, self-descriptive and open,\nstandards-based, platform independent and allowing geospatial information transfer\nformat. <\/p>\n\n\n\n<p>The GeoPackage standard is composed of a set of conventions to store in\na SQLite database the following items: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>vector entities <\/li>\n\n\n\n<li>matrixes from images and rasters tiles with different scales <\/li>\n\n\n\n<li>attributes (non-spatial data) <\/li>\n\n\n\n<li>extensions <\/li>\n<\/ul>\n\n\n\n<p>To put it clearly, a GeoPackage is the SQLite container and the encodingstandard, GeoPackage governs the rules and requirements of the content stored in a GeoPackage container. The GeoPackage standard defines the diagram of a GeoPackage including table definitions, assertions of integrity, format limitations and content constraints. Thecontent required and taken in charge of a GeoPackage is entirely defined in thestandard. These features are reframed on a common basis and the extension mechanism provides to the developers a way to include additional features in their GeoPackages. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Since GeoPackage is a database container, it takes in charge its direct\nuse by different GIS software. This means that the GeoPackage data can be\nconsulted and updated in a \u201cnative\u201d storage format without intermediate format conversion.\nThe GeoPackages complies with the requirements of the standard without having\nto implement specific extensions from the seller are interoperable in all\nenvironments IT corporate and personal. The GeoPackages are particularly useful\nfor mobile devices such as mobile phones and tablets in the communication\nenvironments where connectivity and bandwidth are limited . <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Geopackage in QGis<\/strong><\/h2>\n\n\n\n<p>If you are, already, using data bases Spatialite in QGis you will wonder\nwhat novelty does Geopackage bring: basically the ability to store rasters in a\nSQLite database. <\/p>\n\n\n\n<p>If, on the other hand, you are used to work with shapefiles (SHP), we\nhave already published several articles that explain the benefits of working\nwith SQLite <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/tutoriel-bases-de-donnees-spatialite-sous-qgis-2-8-wien\/\">Database Tutorial<\/a> <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/tutoriel-bases-de-donnees-spatialite-sous-qgis-2-8-wien\/\">SpatiaLite under QGis 2.8 Wien<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/requetes-et-vues-dune-base-spatialite-dans-qgis-2-8\/\">Queries and views<\/a> of\n<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/requetes-et-vues-dune-base-spatialite-dans-qgis-2-8\/\">a SpatiaLite base<\/a> <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/requetes-et-vues-dune-base-spatialite-dans-qgis-2-8\/\">in QGis 2.8<\/a> <\/li>\n\n\n\n<li>SpatiaLite database table management database with\nQGis 2.8<\/li>\n\n\n\n<li><a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/importer-des-tables-dans-une-base-de-donnees-spatialite-avec-qgis-2-8\/\">Import tables into<\/a> <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/importer-des-tables-dans-une-base-de-donnees-spatialite-avec-qgis-2-8\/\">a <\/a>&nbsp;<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/importer-des-tables-dans-une-base-de-donnees-spatialite-avec-qgis-2-8\/\">SpatiaLite database with QGis 2.8<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/creer-une-base-de-donnees-spatialite-avec-qgis-2-8\/\">Create<\/a> <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/creer-une-base-de-donnees-spatialite-avec-qgis-2-8\/\">a <\/a>&nbsp;<a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/creer-une-base-de-donnees-spatialite-avec-qgis-2-8\/\">SpatiaLite database with QGis 2.8<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/recettes-python-pour-qgis-acceder-aux-donnees-vecteur-postgisspatialite\/\">Python Recipes to access<\/a> <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/www.sigterritoires.fr\/index.php\/recettes-python-pour-qgis-acceder-aux-donnees-vecteur-postgisspatialite\/\">Postgis vector and Spatialite<\/a>\ndata <\/li>\n<\/ul>\n\n\n\n<p>The Geopackage format behaves exactly as Spatialite and QGis by giving you\nnew possibilities . <\/p>\n\n\n\n<p>Therefore, if you change from shapefiles to SQLite, opt for Geopackage rather\nthan Spatialite.<\/p>\n\n\n\n<p> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to<\/strong> <strong>create<\/strong> <strong>a<\/strong> <strong>Geopackage<\/strong> <strong>with QGis 3.4<\/strong><\/h2>\n\n\n\n<p>GeoPackage is a standard OGC data package that can store different types\nof spatial data types such as points, polylines and polygons. We can save\nseveral layers in just one GeoPackage ( .gpkg ) file. It is an excellent way to\nstore and organize your spatial data with QGIS. When you save your spatial files\nto GeoPackage format you can easily find them without having to browse and to\ndig in all your records. <\/p>\n\n\n\n<p>Using Geopackage to store our spatial data has many advantages. Our data\nwill be placed in a centralized location. By using this method we can reduce\nthe cluttering that occurs when we are dealing with hundreds of files. It is\neasier to transfer huge amounts of layers in a single geopackage . <\/p>\n\n\n\n<p>To create a g\u00e9opackage layer in QGIS it will do just to: \n\n1-Open QGIS <br>\n2-Go to Layer | Create a layer | New geopackage layer &nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"135\" data-attachment-id=\"6916\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp1.png?fit=525%2C135&amp;ssl=1\" data-orig-size=\"525,135\" 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=\"gp1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp1.png?fit=525%2C135&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp1.png?resize=525%2C135&#038;ssl=1\" alt=\"\" class=\"wp-image-6916\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp1.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp1.png?resize=300%2C77&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n3-\nType the name of the new GeoPackage layer, give a name to the table and\npossibly select a geometry in the list. &nbsp;&nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"720\" data-attachment-id=\"6917\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp2.png?fit=554%2C720&amp;ssl=1\" data-orig-size=\"554,720\" 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=\"gp2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp2.png?fit=554%2C720&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp2.png?resize=554%2C720&#038;ssl=1\" alt=\"\" class=\"wp-image-6917\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp2.png?w=554&amp;ssl=1 554w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp2.png?resize=231%2C300&amp;ssl=1 231w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<p>If you expect to import existing layers in your Geopackage, you can\nclick OK. Your Geopackage will be created and empty, well, almost. You will have\nthis empty table but with the possibility of erasing it at any time. <\/p>\n\n\n\n<p>If, on the other hand, you want to start creating a true working layer,\nyou will use the block &nbsp; \u201cNew field\u201d from the window to define your table columns.\n\n\nYour Geopackage file is created. In order to use\nit in QGis you must connect to this new database: \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"361\" data-attachment-id=\"6918\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp3.png?fit=525%2C361&amp;ssl=1\" data-orig-size=\"525,361\" 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=\"gp3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp3.png?fit=525%2C361&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp3.png?resize=525%2C361&#038;ssl=1\" alt=\"\" class=\"wp-image-6918\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp3.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp3.png?resize=300%2C206&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThe\nnew database appears in the explorer as follows: \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"449\" height=\"706\" data-attachment-id=\"6919\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp4.png?fit=449%2C706&amp;ssl=1\" data-orig-size=\"449,706\" 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=\"gp4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp4.png?fit=449%2C706&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp4.png?resize=449%2C706&#038;ssl=1\" alt=\"\" class=\"wp-image-6919\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp4.png?w=449&amp;ssl=1 449w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp4.png?resize=191%2C300&amp;ssl=1 191w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/figure>\n\n\n\n<p> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to<\/strong> <strong>fill<\/strong> <strong>a<\/strong> <strong>Geopackage database<\/strong><\/h2>\n\n\n\n<p>You have three methods for adding layers to a Geopackage file: <\/p>\n\n\n\n<p><strong>Creation<\/strong> <strong>from<\/strong> <strong>scratch<\/strong>\n\nYou will add an empty table by defining the\nfields (columns) manually. You will repeat the steps described above when\ncreating the Geopackage (Layer menu&gt; Create a layer -&gt; New Geopackage layer).\nOnce the creation window opens, use the &#8230; button to point the geopackage file\nwhere you want to create a new layer: &nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"493\" data-attachment-id=\"6920\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp5\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp5.png?fit=525%2C493&amp;ssl=1\" data-orig-size=\"525,493\" 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=\"gp5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp5.png?fit=525%2C493&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp5.png?resize=525%2C493&#038;ssl=1\" alt=\"\" class=\"wp-image-6920\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp5.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp5.png?resize=300%2C282&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nFill\nin the necessary fields (table name, geometry , &#8230; ) as well as the definition\nof your columns . When you click OK you will get the following message: &nbsp;&nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"130\" data-attachment-id=\"6921\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp6\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp6.png?fit=502%2C130&amp;ssl=1\" data-orig-size=\"502,130\" 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=\"gp6\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp6.png?fit=502%2C130&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp6.png?resize=502%2C130&#038;ssl=1\" alt=\"\" class=\"wp-image-6921\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp6.png?w=502&amp;ssl=1 502w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp6.png?resize=300%2C78&amp;ssl=1 300w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nClick\nAdd a new layer, this layer will then added to the list of layers of your\ngeopackage file. &nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"314\" height=\"747\" data-attachment-id=\"6922\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp7\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp7.png?fit=314%2C747&amp;ssl=1\" data-orig-size=\"314,747\" 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=\"gp7\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp7.png?fit=314%2C747&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp7.png?resize=314%2C747&#038;ssl=1\" alt=\"\" class=\"wp-image-6922\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp7.png?w=314&amp;ssl=1 314w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp7.png?resize=126%2C300&amp;ssl=1 126w\" sizes=\"auto, (max-width: 314px) 100vw, 314px\" \/><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Saving<\/strong> <strong>from<\/strong> <strong>an existing<\/strong> <strong>layer<\/strong><\/h2>\n\n\n\n<p>You can export to a geopackage file an alreadyexisting layer. You will select your layer in the panel \u201c<strong>Layers<\/strong>\u201d&nbsp;and<strong>Export -&gt;SaveAs &#8230;entities<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"410\" data-attachment-id=\"6923\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp8\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp8.png?fit=525%2C410&amp;ssl=1\" data-orig-size=\"525,410\" 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=\"gp8\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp8.png?fit=525%2C410&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp8.png?resize=525%2C410&#038;ssl=1\" alt=\"\" class=\"wp-image-6923\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp8.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp8.png?resize=300%2C234&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nIn\nthe opening window, in the formats list, select <strong>Geopackage<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"215\" data-attachment-id=\"6924\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp9\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp9.png?fit=525%2C215&amp;ssl=1\" data-orig-size=\"525,215\" 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=\"gp9\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp9.png?fit=525%2C215&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp9.png?resize=525%2C215&#038;ssl=1\" alt=\"\" class=\"wp-image-6924\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp9.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp9.png?resize=300%2C123&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nIn\nFile Name, click the &#8230; button and point to your Geopackage file. &nbsp;&nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"552\" data-attachment-id=\"6925\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp10\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp10.png?fit=525%2C552&amp;ssl=1\" data-orig-size=\"525,552\" 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=\"gp10\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp10.png?fit=525%2C552&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp10.png?resize=525%2C552&#038;ssl=1\" alt=\"\" class=\"wp-image-6925\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp10.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp10.png?resize=285%2C300&amp;ssl=1 285w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>Fill in the necessary fields and click <strong>OK.<\/strong> The layer is imported to\nyour Geopackage . <\/p>\n\n\n\n<p><strong>Importing<\/strong> <strong>an<\/strong> <strong>existing<\/strong> <strong>layer<\/strong> <strong>with DB Manager<\/strong> <\/p>\n\n\n\n<p>The DB Manager allows you to totally manage your data and databases. \n\nTo open <strong>Database<\/strong><strong>-&gt; DB Manager<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"73\" data-attachment-id=\"6926\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp11\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp11.png?fit=525%2C73&amp;ssl=1\" data-orig-size=\"525,73\" 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=\"gp11\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp11.png?fit=525%2C73&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp11.png?resize=525%2C73&#038;ssl=1\" alt=\"\" class=\"wp-image-6926\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp11.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp11.png?resize=300%2C42&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p>In the DB Manager window, to import an existing layer in your geopackage\nfile, <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>click in the panel <strong>Data<\/strong> <strong>providers<\/strong> on your Geopackage file<\/li>\n\n\n\n<li>click on the <strong>Layer<\/strong> <strong>\/<\/strong> <strong>file<\/strong> <strong>import<\/strong> tool<\/li>\n<\/ul>\n\n\n\n<p>\n\n\n\nfill in the\nfields for &nbsp; <strong>Import<\/strong><strong>a<\/strong><strong>layer<\/strong><strong>vector<\/strong> window&nbsp; \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"449\" data-attachment-id=\"6927\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/geopackage-format-and-qgis-3\/gp12\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp12.png?fit=525%2C449&amp;ssl=1\" data-orig-size=\"525,449\" 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=\"gp12\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp12.png?fit=525%2C449&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp12.png?resize=525%2C449&#038;ssl=1\" alt=\"\" class=\"wp-image-6927\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp12.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/11\/gp12.png?resize=300%2C257&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/figure>\n\n\n\n<p><strong>Important<\/strong>! Check the <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/qgis-projections-crs\/\">SRC<\/a> source and SCR target boxes and verify\nthat the CBC corresponds to what you wish . Check the Create a spatial index\nbox if you in want one. If you fail to add this information in this step , it\nwill be very , very complicated to catch up &#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>An open format for geospatial information GeoPackage is a compact, portable, self-descriptive and open, standards-based, platform independent and allowing geospatial information transfer format. The GeoPackage standard is composed of a set of conventions to store in&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-6914","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-1Nw","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/6914","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=6914"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/6914\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=6914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=6914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=6914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}