﻿{"id":7550,"date":"2018-12-11T03:25:19","date_gmt":"2018-12-11T02:25:19","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=7550"},"modified":"2018-12-11T19:34:28","modified_gmt":"2018-12-11T18:34:28","slug":"the-spatialite-database-tables-management-with-qgis-2-8","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/","title":{"rendered":"The SpatiaLite database tables management with QGis 2.8"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . <br>&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to create a<\/strong> <strong>SpatiaLite<\/strong> <strong>table<\/strong> <strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is quite easy to create new tables using the database manager. When you create a new table, you can specify whether it will be a spatial or a non-spatial table . <br>We will create a new spatial table with SpatiaLite to store data on bathymetry sensor.We can follow two different strategies : <\/p>\n\n\n\n<!--more-->\n\n\n\n<ul class=\"wp-block-list\"><li>To create, quickly, a new layer of SpatiaLite (and possibly a database) directly from the QGis window, click <strong><em>Layer |<\/em><\/strong> <strong><em>Create<\/em><\/strong> <strong><em>a<\/em><\/strong> <strong><em>layer<\/em><\/strong> <strong><em>|<\/em><\/strong> <strong><em>New<\/em><\/strong> <strong><em>layer<\/em><\/strong> <strong><em>SpatiaLite<\/em><\/strong> <strong><em>&#8230;<\/em><\/strong> or use the keyboard shortcut <strong><em>Ctrl + Shift + A<\/em><\/strong> &nbsp; <br><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/05\/q40.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"142\" data-attachment-id=\"7551\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/111-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/111.png?fit=525%2C142&amp;ssl=1\" data-orig-size=\"525,142\" 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=\"111\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/111.png?fit=525%2C142&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/111.png?resize=525%2C142&#038;ssl=1\" alt=\"\" class=\"wp-image-7551\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/111.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/111.png?resize=300%2C81&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>From the database manager: <\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">1. Open the database manager by clicking <strong><em>Database<\/em><\/strong> <strong><em>Manager\u00a0<\/em><\/strong>at <strong><em>Database.<\/em><\/strong> Use <strong><em>SpatiaLite<\/em><\/strong> and select the database in which you want to create a new layer . <br>2. Click <strong><em>Table |<\/em><\/strong> <strong><em>Create<\/em><\/strong> <strong><em>a<\/em><\/strong> <strong><em>table\u00a0<\/em><\/strong>to open the window <strong><em>Create<\/em><\/strong> <strong><em>a<\/em><\/strong> <strong><em>table<\/em><\/strong> . <br>3. Enter the table name ( here Probes ). <br>4. Click the <strong><em>Add<\/em><\/strong> <strong><em>a<\/em><\/strong> <strong><em>field<\/em><\/strong> button to add a new field of the table. A new line will appear in the list of fields. Set the <strong><em>name<\/em><\/strong> field and <em>type<\/em> for each attribute desired . <br>5. Set the key primary field. \u00a0The names of this field have to be unique for each recording . <br>6.\u00a0 Select <strong><em>Create<\/em><\/strong> <strong><em>a<\/em><\/strong> <strong><em>geometric column<\/em><\/strong>and then choose the following options : <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Geometry type : POINT, LINESTRING, POLYGON, MULTIPOINT, MULTILINESTRING, MULTYPOLYGON,\nGEOMETRY COLLECTION <\/li><li>The name of the geometric field <\/li><li>The number of Dimensions: 2 if XY, 3 if XYZ <\/li><li>The SCR (SRID) that is the EPSG code of the coordinate system <\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/05\/q41.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"601\" data-attachment-id=\"7552\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/112-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/112.png?fit=492%2C601&amp;ssl=1\" data-orig-size=\"492,601\" 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=\"112\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/112.png?fit=492%2C601&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/112.png?resize=492%2C601&#038;ssl=1\" alt=\"\" class=\"wp-image-7552\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/112.png?w=492&amp;ssl=1 492w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/112.png?resize=246%2C300&amp;ssl=1 246w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">7. Select <strong><em>Create<\/em><\/strong> <strong><em>a<\/em><\/strong> <strong><em>spatial index\u00a0<\/em><\/strong>to create an index for the table. <br>8. your dialogue must look like the following screenshot. If this is the case,click the Create button to create the new table. <br><br>9. If the table is successfully created, a message confirms that everything is ok. \u00a0Close the dialog box , and then click on the <strong><em>Close<\/em><\/strong> button to close the window <strong><em>Create<\/em><\/strong> <strong><em>a\u00a0<\/em><\/strong><strong><em>table.<\/em><\/strong> <br>10. To display the new table, you have to update the tree by selecting the SpatiaLite database in the tree then click <strong><em>Refresh<\/em><\/strong> at <strong><em>Database\u00a0\u00a0<\/em><\/strong>or press the key <strong><em>F5<\/em><\/strong> on your keyboard. Note that the created table will have the icon corresponding to the type of layer (point, line, &#8230;) which indicates that it is a spatial table with a geometry . \u00a0 <br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/05\/q42.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"505\" data-attachment-id=\"7553\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/attachment\/113\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/113.png?fit=525%2C505&amp;ssl=1\" data-orig-size=\"525,505\" 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=\"113\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/113.png?fit=525%2C505&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/113.png?resize=525%2C505&#038;ssl=1\" alt=\"\" class=\"wp-image-7553\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/113.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/113.png?resize=300%2C289&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to rename<\/strong> <strong>a<\/strong> <strong>table<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To rename a table, proceed as follows: <br>1. Open the database manager. In the tree , expand the tree and select the database containing the table you want to rename . <br>2. In tree , select the table you want to edit. Make a right click on the table and choose Rename in the context menu to proceed . <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to edit the properties<\/strong> <strong>of a<\/strong> <strong>table<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To edit the properties of a table, perform the following operations: <br>1. Open the database manager by clicking <strong><em>Database<\/em><\/strong> <strong><em>Manager<\/em><\/strong>&nbsp;&nbsp; at <strong><em>Database.<\/em><\/strong> In the tree , expand the tree and select the database containing the table you want to edit. <br>2. In the tree , select the table you want to edit. Click <strong><em>Table<\/em><\/strong> <strong><em>|<\/em><\/strong> <strong><em>Edit<\/em><\/strong>  <strong><em>Table<\/em><\/strong> to open the <strong><em>Table Properties<\/em><\/strong> window. <br>3. The properties window of the table ( shown in the following screenshot ) has three tabs , indexes, columns and constraints &#8211; which allow the modification of certain properties of the table &nbsp; <br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i2.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/05\/q43.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"439\" data-attachment-id=\"7554\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/attachment\/114\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/114.png?fit=525%2C439&amp;ssl=1\" data-orig-size=\"525,439\" 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=\"114\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/114.png?fit=525%2C439&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/114.png?resize=525%2C439&#038;ssl=1\" alt=\"\" class=\"wp-image-7554\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/114.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/114.png?resize=300%2C251&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The tabs and the grey buttons correspond to operations not supported by SpatiaLite . This does not mean that you cannot use them, but you will need another tool . You can download and install, for example , <a href=\"https:\/\/translate.google.com\/translate?hl=en&amp;prev=_t&amp;sl=auto&amp;tl=en&amp;u=http:\/\/sqlitebrowser.org\">DB Browser for SQLite<\/a> , an OpenSource tool that will allow you a more complete management of your SpatiaLite database. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The tab <strong><em>columns<\/em><\/strong> lists all the fields, their type, whether null values are authorized , and their values by default. At the fields list, there are four buttons. The button  <strong><em>add<\/em><\/strong> <strong><em>a&nbsp;<\/em><\/strong><strong><em>column<\/em><\/strong> opens a window and allows you to create a new field and specify its properties . The button &nbsp; <strong><em>add<\/em><\/strong> <strong><em>a<\/em><\/strong> <strong><em>geometry column<\/em><\/strong> opens a window and allows you to create a new geometry field and specify its properties . The edit and remove buttons are disabled . <br>SpatiaLite does not support the &nbsp;table modification commands, such as edit and delete existing fields . To that end you can use the DBBrowser for SQLite. <br>The tab <strong><em>constraints<\/em><\/strong> lists all the table constraints; their name,their type and the columns that are affected by the constraints . <br>SpatiaLite does not support additions or deletions of a constraint in an existing table; therefore, these options are deactivated. In this case you can use DB Browser for SQLite. <br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i1.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/05\/q44.png\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"525\" height=\"435\" data-attachment-id=\"7555\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/attachment\/115\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/115.png?fit=525%2C435&amp;ssl=1\" data-orig-size=\"525,435\" 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=\"115\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/115.png?fit=525%2C435&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/115.png?resize=525%2C435&#038;ssl=1\" alt=\"\" class=\"wp-image-7555\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/115.png?w=525&amp;ssl=1 525w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/115.png?resize=300%2C249&amp;ssl=1 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<br>The tab <strong><em>Index<\/em><\/strong> lists all the indexes on the table, their name and&nbsp; the columns that are part of the index . The <strong><em>add<\/em><\/strong> <strong><em>an&nbsp;<\/em><\/strong><strong><em>index<\/em><\/strong> &nbsp; button opens a window that allows you to create anew index by selecting the index field and providing an index name . The <strong><em>Add<\/em><\/strong><strong><em>a<\/em><\/strong> <strong><em>spatial index<\/em><\/strong> button adds a spatial index for the table. This option is not available only if the table includes&nbsp; a geometry field. The <strong><em>Delete<\/em><\/strong> <strong><em>index<\/em><\/strong> &nbsp; button removes the selected index . <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to delete<\/strong> <strong>a<\/strong> <strong>table<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are two ways to delete a table in a database within QGIS: by using the <strong><em>BROWSE<\/em><\/strong> panel in QGIS or the database manager. <br>To delete a table using the <strong><em>Browse<\/em><\/strong> panel in QGIS Desktop, expand the database where you want to remove a table and then make a right click on the table and choose <strong><em>Delete<\/em><\/strong> <strong><em>the<\/em><\/strong> <strong><em>layer<\/em><\/strong>. <br>To delete a table using <strong><em>DB Manager,<\/em><\/strong> open the database manager. In the tree , expand the database containing the table you want to delete . Make aright click on the table in the tree and choose <strong><em>Wipe off<\/em><\/strong> in the context menu . <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>How to clear<\/strong> <strong>a<\/strong> <strong>table<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To delete all records of a table without deleting the table, open the database manager. In the tree , expand the tree and select the database containing the table you want to clear . In the tree , select the table you want to clear. Click then on <strong><em>Table -&gt;<\/em><\/strong> <strong><em>Clear the table.<\/em><\/strong> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_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_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1260],"tags":[],"class_list":["post-7550","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Atilio Francois\"\/>\n\t<meta name=\"google-site-verification\" content=\"ByXHZUbGNn7RNv-Xk5A-ysTZrM65VLIO2RxfSJ2nIEQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Blog SIG &amp; Territoires | le portail des professionnels du SIG\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"The SpatiaLite database tables management with QGis 2.8 | Blog SIG &amp; Territoires\" \/>\n\t\t<meta property=\"og:description\" content=\"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-12-11T02:25:19+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-12-11T18:34:28+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/atilio.francois\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@SigTerritoires\" \/>\n\t\t<meta name=\"twitter:title\" content=\"The SpatiaLite database tables management with QGis 2.8 | Blog SIG &amp; Territoires\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@SigTerritoires\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#article\",\"name\":\"The SpatiaLite database tables management with QGis 2.8 | Blog SIG & Territoires\",\"headline\":\"The SpatiaLite database tables management with QGis 2.8\",\"author\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.sigterritoires.fr\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/111.png?fit=525%2C142&ssl=1\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#articleImage\",\"width\":525,\"height\":142},\"datePublished\":\"2018-12-11T03:25:19+01:00\",\"dateModified\":\"2018-12-11T19:34:28+01:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#webpage\"},\"articleSection\":\"Non class\\u00e9, English\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sigterritoires.fr\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/non-classe-en\\\/#listItem\",\"name\":\"Non class\\u00e9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/non-classe-en\\\/#listItem\",\"position\":2,\"name\":\"Non class\\u00e9\",\"item\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/non-classe-en\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#listItem\",\"name\":\"The SpatiaLite database tables management with QGis 2.8\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#listItem\",\"position\":3,\"name\":\"The SpatiaLite database tables management with QGis 2.8\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/category\\\/non-classe-en\\\/#listItem\",\"name\":\"Non class\\u00e9\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#person\",\"name\":\"Atilio Francois\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Atilio Francois\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/\",\"name\":\"Atilio Francois\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Atilio Francois\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#webpage\",\"url\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/\",\"name\":\"The SpatiaLite database tables management with QGis 2.8 | Blog SIG & Territoires\",\"description\":\"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/en\\\/the-spatialite-database-tables-management-with-qgis-2-8\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/index.php\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2018-12-11T03:25:19+01:00\",\"dateModified\":\"2018-12-11T19:34:28+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#website\",\"url\":\"https:\\\/\\\/www.sigterritoires.fr\\\/\",\"name\":\"Blog SIG & Territoires\",\"description\":\"le portail des professionnels du SIG\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sigterritoires.fr\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"The SpatiaLite database tables management with QGis 2.8 | Blog SIG & Territoires","description":"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to","canonical_url":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"ByXHZUbGNn7RNv-Xk5A-ysTZrM65VLIO2RxfSJ2nIEQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#article","name":"The SpatiaLite database tables management with QGis 2.8 | Blog SIG & Territoires","headline":"The SpatiaLite database tables management with QGis 2.8","author":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.sigterritoires.fr\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2018\/12\/111.png?fit=525%2C142&ssl=1","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#articleImage","width":525,"height":142},"datePublished":"2018-12-11T03:25:19+01:00","dateModified":"2018-12-11T19:34:28+01:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#webpage"},"isPartOf":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#webpage"},"articleSection":"Non class\u00e9, English"},{"@type":"BreadcrumbList","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr#listItem","position":1,"name":"Home","item":"https:\/\/www.sigterritoires.fr","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/non-classe-en\/#listItem","name":"Non class\u00e9"}},{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/non-classe-en\/#listItem","position":2,"name":"Non class\u00e9","item":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/non-classe-en\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#listItem","name":"The SpatiaLite database tables management with QGis 2.8"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#listItem","position":3,"name":"The SpatiaLite database tables management with QGis 2.8","previousItem":{"@type":"ListItem","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/non-classe-en\/#listItem","name":"Non class\u00e9"}}]},{"@type":"Person","@id":"https:\/\/www.sigterritoires.fr\/#person","name":"Atilio Francois","image":{"@type":"ImageObject","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g","width":96,"height":96,"caption":"Atilio Francois"}},{"@type":"Person","@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author","url":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/","name":"Atilio Francois","image":{"@type":"ImageObject","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f76dc2a720162999bce81d6c99b6d7b9517d6600ad7ceb5ed5268f02cefaa0ee?s=96&d=mm&r=g","width":96,"height":96,"caption":"Atilio Francois"}},{"@type":"WebPage","@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#webpage","url":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/","name":"The SpatiaLite database tables management with QGis 2.8 | Blog SIG & Territoires","description":"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/www.sigterritoires.fr\/#website"},"breadcrumb":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/#breadcrumblist"},"author":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.sigterritoires.fr\/index.php\/author\/admin\/#author"},"datePublished":"2018-12-11T03:25:19+01:00","dateModified":"2018-12-11T19:34:28+01:00"},{"@type":"WebSite","@id":"https:\/\/www.sigterritoires.fr\/#website","url":"https:\/\/www.sigterritoires.fr\/","name":"Blog SIG & Territoires","description":"le portail des professionnels du SIG","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/www.sigterritoires.fr\/#person"}}]},"og:locale":"fr_FR","og:site_name":"Blog SIG &amp; Territoires | le portail des professionnels du SIG","og:type":"article","og:title":"The SpatiaLite database tables management with QGis 2.8 | Blog SIG &amp; Territoires","og:description":"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to","og:url":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/","article:published_time":"2018-12-11T02:25:19+00:00","article:modified_time":"2018-12-11T18:34:28+00:00","article:publisher":"https:\/\/www.facebook.com\/atilio.francois\/","twitter:card":"summary","twitter:site":"@SigTerritoires","twitter:title":"The SpatiaLite database tables management with QGis 2.8 | Blog SIG &amp; Territoires","twitter:description":"The SpatiaLite database management is very simple. The QGis database manager provides functions to create, rename, edit, delete and empty tables using tools available in the Manager Table menu. In this article we will discuss in detail each one of these tools . How to create a SpatiaLite table It is quite easy to","twitter:creator":"@SigTerritoires"},"aioseo_meta_data":{"post_id":"7550","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 13:57:13","updated":"2025-06-04 16:46:39","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sigterritoires.fr\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/non-classe-en\/\" title=\"Non class\u00e9\">Non class\u00e9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tThe SpatiaLite database tables management with QGis 2.8\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.sigterritoires.fr"},{"label":"Non class\u00e9","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/category\/non-classe-en\/"},{"label":"The SpatiaLite database tables management with QGis 2.8","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/the-spatialite-database-tables-management-with-qgis-2-8\/"}],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-1XM","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/7550","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=7550"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/7550\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=7550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=7550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=7550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}