﻿{"id":12517,"date":"2024-03-07T10:00:00","date_gmt":"2024-03-07T09:00:00","guid":{"rendered":"https:\/\/www.sigterritoires.fr\/?p=12517"},"modified":"2025-05-08T09:12:10","modified_gmt":"2025-05-08T07:12:10","slug":"creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-2eme-partie-ajouter-la-symbologie","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-2eme-partie-ajouter-la-symbologie\/","title":{"rendered":"Cr\u00e9ation d\u2019une base de donn\u00e9es Geopackage pour les cartes ENC (2\u00e8me partie: ajouter la symbologie)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em><strong>La premi\u00e8re partie du projet <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/financement-collaboratif-pour-lintegration-de-donnees-marines-dans-qgis\/\">Financement Collaboratif pour l\u2019Int\u00e9gration de Donn\u00e9es Marines dans QGIS<\/a> est arriv\u00e9e \u00e0 son terme gr\u00e2ce aux contributions d\u2019ORANGE Marine, Geoconceptos Uruguay, Janez Avzec et Gaetan Mas. Nous les remercions vivement.<\/strong><\/em> <strong><em>Nous publions donc le contenu final de cette partie du travail.<\/em><\/strong><br><strong><em><a href=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-1ere-partie-constituer-la-base-de-donnees\/\" title=\"La premi\u00e8re partie concerne la cr\u00e9ation et la gestion de la base de donn\u00e9es\">La premi\u00e8re partie concerne la cr\u00e9ation et la gestion de la base de donn\u00e9es<\/a>, vous trouverez ici  la deuxi\u00e8me partie avec la symbologie <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis-3-x\/\">S57<\/a> sous QGis.<\/em><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ajout de la symbologie au Geopackage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">La symbologie par d\u00e9faut des tables d&rsquo;un <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/le-format-geopackage-et-qgis-3\/\">geopackage<\/a> est contenue dans une table nomm\u00e9e layer_styles qui n&rsquo;est cr\u00e9\u00e9e que si vous utilisez l&rsquo;option <strong><em>enregistrer par d\u00e9faut<\/em><\/strong> du bouton <strong><em>style<\/em><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apr\u00e8s le clonage des tables dans le fichier <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/cartes-enc-dans-qgis-avec-postgis1\/\">ENC<\/a>, la table n&rsquo;existe pas. Nous allons donc importer la table contenant toute la symbologie des cartes ENC. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Attention: la table <strong><em>layer_styles<\/em><\/strong> est une table syst\u00e8me, contrairement \u00e0 la table <strong><em>natsurf <\/em><\/strong>qui est un simple table de donn\u00e9es. A diff\u00e9rence des tables de donn\u00e9es, les tables syst\u00e8me n&rsquo;apparaissent pas dans le <strong><em>panneau explorateur<\/em><\/strong>. Vous devez tiliser le <em>Gestionnaire de bases de donn\u00e9es<\/em> de QGis (menu <em>Base de donn\u00e9es -&gt; DB Manager<\/em>) pour voir et manipuler les tables syst\u00e8mes comme <strong><em>layer_styles<\/em><\/strong>. Par contre <strong><em>natsurf <\/em><\/strong>sera visible et manipulable comme toute autre couche de donn\u00e9es.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.nasca.ovh\/downloads\/layer_natsurfV1.gpkg\" title=\"T\u00e9l\u00e9charger layer_natsurfV1.gpkg\">T\u00e9l\u00e9charger layer_natsurfV1.gpkg<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ce geopackage  contient une table, nomm\u00e9e <strong><em>layer_styles<\/em><\/strong>, avec les d\u00e9finitions de symbologies de 153 tables <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis-3-x\/\">S57<\/a> ainsi qu&rsquo;une table nomm\u00e9e <strong><em>natsurf<\/em><\/strong> qui sera utilis\u00e9e pour la mise en forme du rendu de la table \u00ab\u00a0nature des fonds marins\u00a0\u00bb (SBDARE).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pour int\u00e9grer ces tables dans votre fichier ENC (ici ENC.gpkg):<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dans QGis ouvrez le gestionnaire de base de donn\u00e9es.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Vous devriez avoir d\u00e9j\u00e0 la connexion geopackage-&gt;<strong>ENC.gpkg<\/strong>, si ce n&rsquo;est pas le cas: bouton droit sur &lsquo;<strong>Geopackage<\/strong>&lsquo;-&gt;<strong><em>nouvelle connexion<\/em><\/strong>, puis pointez sur votre fichier <strong>ENC.gpkg<\/strong><\/li>\n\n\n\n<li>Connectez-vous \u00e0 la table <strong>layers_natsurf.gpkg<\/strong> t\u00e9l\u00e9charg\u00e9e (bouton droit sur &lsquo;<strong>Geopackage<\/strong>&lsquo;-&gt;<strong><em>nouvelle connexion<\/em><\/strong>, puis pointez sur le geopackage t\u00e9l\u00e9charg\u00e9)<\/li>\n\n\n\n<li>S\u00e9lectionnez <strong>layer_styles<\/strong> dans <strong>layers_natsurf.gpkg<\/strong> puis bouton droit-&gt;<strong><em>ajouter au canevas<\/em><\/strong>.Vous aurez la table <strong>layer_styles <\/strong>dans la liste des couches charg\u00e9es.<\/li>\n\n\n\n<li>S\u00e9lectionnez <strong>natsurf <\/strong>dans <strong>layers_natsurf.gpkg<\/strong> puis bouton droit-&gt;<strong><em>ajouter au canevas<\/em><\/strong>.Vous aurez la table <strong>natsurf <\/strong>dans la liste des couches charg\u00e9es.<\/li>\n\n\n\n<li>S\u00e9lectionnez le geopackage <strong>ENC.gpkg<\/strong> dans le gestionnaire de base de donn\u00e9es.<\/li>\n\n\n\n<li>Dans le menu <strong><em>Table<\/em><\/strong>, s\u00e9lectionnez <strong><em>Import de couche\/fichier<\/em><\/strong><\/li>\n\n\n\n<li>Dans la liste des couches s\u00e9lectionnez <strong><em>natsurf<\/em><\/strong>, puis OK<\/li>\n\n\n\n<li>R\u00e9p\u00e9tez l&rsquo;op\u00e9ration pour la couche <strong><strong>layer_styles<\/strong><\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">La version actuelle de layer_styles contient les mises en forme de symbologie de 153 couches. Pensez \u00e0 v\u00e9rifier r\u00e9guli\u00e8rement  s&rsquo;il n&rsquo;y a pas des mises \u00e0 jour disponibles au t\u00e9l\u00e9chargement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cette symbologie utilise des symboles svg que vous devez t\u00e9l\u00e9charger sur votre machine. <a href=\"https:\/\/www.nasca.ovh\/downloads\/nauticalV1.7z\" title=\"En cliquant ici vous t\u00e9l\u00e9chargerez un r\u00e9pertoire 'nautical'\">En cliquant ici vous t\u00e9l\u00e9chargerez un r\u00e9pertoire &lsquo;nautical&rsquo;<\/a> contenant tous les symboles svg n\u00e9cessaires ainsi qu&rsquo;un r\u00e9pertoire nomm\u00e9 \u00ab\u00a0XML\u00a0\u00bb avec des symboles suppl\u00e9mentaires pour QGis.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Symboles SVG<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Par d\u00e9faut, les r\u00e9f\u00e9rences aux symboles svg sont faites vers un r\u00e9pertoire &lsquo;<strong><em>C:\/nautical<\/em><\/strong>&lsquo;. Vous avez plusieurs possibilit\u00e9s:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1- D\u00e9compresser le fichier nautical dans un r\u00e9pertoire c:\/nautical de votre machine<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Dans ce cas vous n&rsquo;avez plus rien \u00e0 faire. Les layer_styles trouveront les symboles svg sans probl\u00e8me.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2- Vous souhaitez enregistrer le r\u00e9pertoire nautical dans un r\u00e9pertoire de votre choix<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Dans ce cas, vous devez modifier la table layer_styles pour qu&rsquo;elle trouve les symboles.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"378\" data-attachment-id=\"12344\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-actualisation-du-projet-en-cours\/capture-decran-2024-01-29-114340\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?fit=2225%2C1315&amp;ssl=1\" data-orig-size=\"2225,1315\" 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=\"Capture-decran-2024-01-29-114340\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?fit=640%2C378&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?resize=640%2C378&#038;ssl=1\" alt=\"\" class=\"wp-image-12344\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?resize=1024%2C605&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?resize=300%2C177&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?resize=768%2C454&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?resize=1536%2C908&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?resize=2048%2C1210&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/01\/Capture-decran-2024-01-29-114340.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ouvrez le gestionnaire de base de donn\u00e9es de QGis.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>S\u00e9lectionnez la table layer_styles de votre geopackage<\/li>\n\n\n\n<li>Ouvrez une fen\u00eatre SQL<\/li>\n\n\n\n<li>Entrez la requ\u00eate: <br>UPDATE layer_styles<br>SET styleQML = REPLACE(styleQML, <em>&lsquo;C:\/nautical&rsquo;<\/em>, <em>&lsquo;Votre chemin&rsquo;<\/em>);<\/li>\n\n\n\n<li>Cliquez sur le bouton Ex\u00e9cuter<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">3- Vous souhaitez enregistrer le r\u00e9pertoire <strong><em>nautical <\/em><\/strong>dans  le r\u00e9pertoire de votre geopackage ENC<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Dans ce cas, les r\u00e9f\u00e9rences aux symboles svg seront relatives au Geopackage et vous pourrez l&rsquo;utiliser \u00e0 partir de plusieurs machines. On fera alors la m\u00eame d\u00e9marche que pr\u00e9c\u00e9demment mais la requ\u00eate SQL sera:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>UPDATE layer_styles<br>SET styleQML = REPLACE(styleQML, &lsquo;C:\/nautical&rsquo;, &lsquo;nautical&rsquo;);<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bien s\u00fbr, il faut que le projet soit configur\u00e9 pour stocker les chemins relatifs (<strong><em>Propri\u00e9t\u00e9s du projet -&gt; G\u00e9n\u00e9ral-&gt;Enregistrer les chemins-&gt;Relatif<\/em><\/strong>) et le fichier projet (.qgz) doit se trouver dabns le r\u00e9pertoire du geopackage. C&rsquo;est bien les chemins relatifs au projet qui sont stock\u00e9s et pas les chemins des geopackages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Symboles XML<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Les symboles XML t\u00e9l\u00e9charg\u00e9s correspondent \u00e0 des symbologies QGis suppl\u00e9mentaires. Elles sont utilis\u00e9es dans les mises en forme de certains des symboles S57. Vous pouvez les rechercher et les installer \u00e0 partir de leur entrep\u00f4ts classiques, mais pour simplifier le travail nous avons mis tous les fichiers XML n\u00e9cessaires dans le fichier en t\u00e9l\u00e9chragement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pour cela, <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>ouvrez le gestionnaire de style (<strong><em>Pr\u00e9f\u00e9rences-&gt;Gestionnaire de style<\/em><\/strong>)<\/li>\n\n\n\n<li>Cliquez sur le bouton <strong><em>Importer\/Exporter<\/em><\/strong><\/li>\n\n\n\n<li>Dans le champ <strong><em>Fichier<\/em><\/strong>, pointez sur le fichier XML \u00e0 charger, puis cliquez sur <strong><em>Importer<\/em><\/strong><\/li>\n\n\n\n<li>R\u00e9p\u00e9tez l&rsquo;op\u00e9ration pour tous les fichiers XML t\u00e9l\u00e9charg\u00e9s<\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\">Quelques symbologies particuli\u00e8res<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">La grande majorit\u00e9 des symbologies des couches S57 ne n\u00e9cessitent aucun soin particulier. La symbologie est d\u00e9finie par d\u00e9faut dans le geopackage et elle est charg\u00e9e et affich\u00e9e automatiquement.<br> Mais il y a trois couches qui n\u00e9cessitent une attention particuli\u00e8re.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1- La couche LIGHTS (feux)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Les diff\u00e9rents feux pr\u00e9sents sur les cartes ENC peuvent \u00eatre de deux types: des feux \u00e0 secteurs, c&rsquo;est \u00e0 dire que la couleur du feu est diff\u00e9rente selon l&rsquo;angle \u00e0 partir duquel on l&rsquo;observe, ou des feux simples, visibles sur les 360\u00b0.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">D&rsquo;autre part, la symbologie utilis\u00e9e sur les cartes marines papier et celle utilis\u00e9 par les logiciels de visualisation de ENC num\u00e9riques n&rsquo;est pas la m\u00eame.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La symbologie que nous avons mis en place r\u00e9pond \u00e0 tous ces crit\u00e8res.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Quand vous chargez la couche LIGHTS vsou aurez dans le panneau des couches:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/couche_lights.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"275\" height=\"207\" data-attachment-id=\"12500\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-1ere-partie-constituer-la-base-de-donnees\/couche_lights\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/couche_lights.png?fit=275%2C207&amp;ssl=1\" data-orig-size=\"275,207\" 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=\"couche_lights\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/couche_lights.png?fit=275%2C207&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/couche_lights.png?resize=275%2C207&#038;ssl=1\" alt=\"\" class=\"wp-image-12500\"\/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Par d\u00e9faut c&rsquo;est la symbologie des visualisateurs ENC qui et affich\u00e9e.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La premi\u00e8re ligne correspond aux feux \u00e0 secteur, la deuxi\u00e8me aux feux simples.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"630\" data-attachment-id=\"12501\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-1ere-partie-constituer-la-base-de-donnees\/feux\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux.png?fit=612%2C630&amp;ssl=1\" data-orig-size=\"612,630\" 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=\"feux\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux.png?fit=612%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux.png?resize=612%2C630&#038;ssl=1\" alt=\"\" class=\"wp-image-12501\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux.png?w=612&amp;ssl=1 612w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux.png?resize=291%2C300&amp;ssl=1 291w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Pour ce qui est des feux \u00e0 secteur, la symbologie est la m\u00eame que ce soit un visualisateur ou une carte papier. Par contre pour les feux simples, vous pouvez choisir le type de symbologie. Si vous d\u00e9cochez la deuxi\u00e8me ligne et que vous cochez la troisi\u00e8me, vous aurez alors une symbologie de type \u00ab\u00a0papier\u00a0\u00bb:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux_papier.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"517\" height=\"570\" data-attachment-id=\"12502\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-1ere-partie-constituer-la-base-de-donnees\/feux_papier\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux_papier.png?fit=517%2C570&amp;ssl=1\" data-orig-size=\"517,570\" 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=\"feux_papier\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux_papier.png?fit=517%2C570&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux_papier.png?resize=517%2C570&#038;ssl=1\" alt=\"\" class=\"wp-image-12502\" style=\"width:840px;height:auto\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux_papier.png?w=517&amp;ssl=1 517w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/feux_papier.png?resize=272%2C300&amp;ssl=1 272w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">La couche SOUNDG (sondes bathym\u00e9triques)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">L&rsquo;affichage des valeurs des sondes d\u00e9pend de la qualit\u00e9 de celles-ci: si elles sont fiables, la police de carat\u00e8re doit \u00eatre de type italique, par contre si elles ne le sont pas compl\u00e8tement elles doivent \u00eatre affich\u00e9es avec une police regular.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La qualit\u00e9 des sondes est stock\u00e9e dans la couche M_QUAL de fichiers S57.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Par d\u00e9faut la symbologie de la couche SOUNDG prend en compte la qualit\u00e9 des sondes. Il faut donc, obligatoirement, charger la couche pl_M_QUAL dans le projet QGis. Celle-ci est invisible lors de l&rsquo;affichage mais est utilis\u00e9e par l&rsquo;\u00e9tiquettage des entit\u00e9s de SOUNDG:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/soundg.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"360\" data-attachment-id=\"12503\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-1ere-partie-constituer-la-base-de-donnees\/soundg-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/soundg.png?fit=540%2C360&amp;ssl=1\" data-orig-size=\"540,360\" 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=\"soundg\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/soundg.png?fit=540%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/soundg.png?resize=540%2C360&#038;ssl=1\" alt=\"\" class=\"wp-image-12503\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/soundg.png?w=540&amp;ssl=1 540w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/soundg.png?resize=300%2C200&amp;ssl=1 300w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Le processus fait intervenir un croisement entre les deux couches pour obtenir, \u00e0 partir des polygones pl_M_qual, la valeur de qualit\u00e9 pour chaque sonde. Forc\u00e9ment, le nombre de sondes peut faire que cette \u00e9tape soit assez longue. Si vous travaillez avec des zones importantes et un nombre de sondes \u00e9lev\u00e9, vous pouvez choisir de ne pas prendre en compte la qualit\u00e9. Pour cela, t\u00e9l\u00e9chargez <a href=\"https:\/\/www.nasca.ovh\/downloads\/soundg_qml.7z\" title=\"le fichier qml suivant: soundg.qml\">le fichier qml suivant: soundg.qml<\/a>. Vous aurez les deux fichiers qml: celui qui utilise M_qual et celui qui ne l&rsquo;utilise pas.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ouvrez les propri\u00e9t\u00e9s de la couche SOUNDG, cliquez sur le bouton <strong><em>Style <\/em><\/strong>(en bas, \u00e0 gauche) puis sur <strong><em>charger un style <\/em><\/strong>et pointez sur le fichier t\u00e9l\u00e9charg\u00e9. Toutes les sondes seront affich\u00e9es tr\u00e8s rapidement sans prendre en compte la qualit\u00e9.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">La couche SBDARE (nature des fonds)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">La gestion de la symbologie de cette couche est assez compliqu\u00e9e car elle comporte le traitement de deux champs de type liste. Il faut combiner la liste des natures de fond avec la granulom\u00e9trie de chaque fraction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Le code suivant est l&rsquo;expression pour g\u00e9n\u00e9rer les \u00e9tiquettes qui est incluse par d\u00e9faut:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class='stb-container stb-style-download stb-caption-box'><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+AXuRLahdYwP2SycQWHTA4vcA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XS0FQ+9957fUN7XBg+nNL6fw3k16lnAaErI9TmOEDtcMrpMQFy\/B8GjgM5DuQ4kP+3x\/8MAHWpUzAU7qJ7AAAAAElFTkSuQmCC' alt='img'\/><\/div><div class='stb-caption-content'>\u00e9tiquettes SBDARE<\/div><div class='stb-tool'><\/div><\/div><div class='stb-content'> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE \n  WHEN regexp_substr(\"NATSUR\", '\\\\((\\\\d+):') = '1'THEN \n\tCASE\n\t\tWHEN \"NATQUA\" IS NOT NULL THEN  \n\t\twith_variable('NTS',lpad(regexp_substr(\"NATSUR\", ':(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ':(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS,2)) AND \"NATSURT\" = trim(left(@NTS,2))))\n\t\tWHEN \"NATQUA\" IS NULL THEN  \n\t\twith_variable('NTS',regexp_substr(\"NATSUR\", ':(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS))\n\t\tELSE '?'\n\t\t\n\tEND\n WHEN regexp_substr(\"NATSUR\", '\\\\((\\\\d+):') = '2' THEN \n\tCASE\n\t\tWHEN  regexp_substr(\"NATQUA\", '\\\\((\\\\d+):') = '1' THEN  \n\t\twith_variable('NTS',lpad(regexp_substr(\"NATSUR\", ':(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ':(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS,2)) AND \"NATSURT\" = trim(left(@NTS,2))))  || '.'  || with_variable('NTS2',regexp_substr(\"NATSUR\", ',(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS2))\n\t\t\t\n\t\tWHEN \"NATQUA\" IS NULL THEN  \n\t\twith_variable('NTS',regexp_substr(\"NATSUR\", ':(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS))  || '.' || \n\t\t\twith_variable('NTS2',regexp_substr(\"NATSUR\", ',(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS2))\n\t\tWHEN  regexp_substr(\"NATQUA\", '\\\\((\\\\d+):') = '2' THEN  \n\t with_variable('NTS',lpad(regexp_substr(\"NATSUR\", ':(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ':(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS,2)) AND \"NATSURT\" = trim(left(@NTS,2))))  || '.'  || \n\t\t\twith_variable('NTS2',lpad(regexp_substr(\"NATSUR\", ',(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ',(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS2,2)) AND \"NATSURT\" = trim(left(@NTS2,2))))\n\t\t\tend\nWHEN regexp_substr(\"NATSUR\", '\\\\((\\\\d+):') = '3' THEN \t \n\t\tCASE\n\t\tWHEN  regexp_substr(\"NATQUA\", '\\\\((\\\\d+):') = '1' THEN  \n\t\twith_variable('NTS',lpad(regexp_substr(\"NATSUR\", ':(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ':(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS,2)) AND \"NATSURT\" = trim(left(@NTS,2))))  || '.'  || with_variable('NTS2',regexp_substr(\"NATSUR\", ',(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS2))|| '.' || \n\t\t\twith_variable('NTS3',regexp_substr(\"NATSUR\", ',(\\\\d+)\\\\)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS3) )\n\t\t\t\n\t\tWHEN \"NATQUA\" IS NULL THEN  \n\t\twith_variable('NTS',regexp_substr(\"NATSUR\", ':(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS))  || '.' || \n\t\t\twith_variable('NTS2',regexp_substr(\"NATSUR\", ',(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS2))|| '.' || \n\t\t\twith_variable('NTS3',regexp_substr(\"NATSUR\", ',(\\\\d+)\\\\)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS3) )\n\t\tWHEN  regexp_substr(\"NATQUA\", '\\\\((\\\\d+):') = '2' THEN  \n\t with_variable('NTS',lpad(regexp_substr(\"NATSUR\", ':(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ':(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS,2)) AND \"NATSURT\" = trim(left(@NTS,2))))  || '.'  || \n\t\t\twith_variable('NTS2',lpad(regexp_substr(\"NATSUR\", ',(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ',(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS2,2)) AND \"NATSURT\" = trim(left(@NTS2,2)))) || '.' || \n\t\t\twith_variable('NTS3',regexp_substr(\"NATSUR\", ':(\\\\d+)'),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" IS NULL AND \"NATSURT\" = @NTS3) )\n\t\tWHEN  regexp_substr(\"NATQUA\", '\\\\((\\\\d+):') = '3' THEN  \n\t with_variable('NTS',lpad(regexp_substr(\"NATSUR\", ':(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ':(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS,2)) AND \"NATSURT\" = trim(left(@NTS,2))))  || '.'  || \n\t\t\twith_variable('NTS2',lpad(regexp_substr(\"NATSUR\", ',(\\\\d+)\\\\)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ',(\\\\d+)\\\\)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS2,2)) AND \"NATSURT\" = trim(left(@NTS2,2)))) || '.' || \n\t\t\twith_variable('NTS4',lpad(regexp_substr(\"NATSUR\", ',(\\\\d+)'),2,'  ') || lpad(regexp_substr(\"NATQUA\", ',(\\\\d+)'),2,'  '),\n\t\t\taggregate(layer:= 'natsurf',aggregate:='max',expression:= \"ETIQ\",\n\t\t\tfilter:= \"NATQUAT\" = trim(right(@NTS4,2)) AND \"NATSURT\" = trim(left(@NTS4,2))))\n\t\t\tend\n\t\t\nEND\n   <\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/div><\/div> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ce code a \u00e9t\u00e9 simplifi\u00e9 (eh oui!) gr\u00e2ce au stockage des 143 combinaisons possibles de nature et fraction dans une table externe: <strong><em>natsurf<\/em><\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pour que la symbologie fonctionne il faut imp\u00e9rativement ajouter la table <strong><em>natsurf <\/em><\/strong>\u00e0 la liste des couches du projet:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/naturedesfonds.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"217\" data-attachment-id=\"12504\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-1ere-partie-constituer-la-base-de-donnees\/naturedesfonds\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/naturedesfonds.png?fit=1025%2C347&amp;ssl=1\" data-orig-size=\"1025,347\" 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=\"naturedesfonds\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/naturedesfonds.png?fit=640%2C217&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/naturedesfonds.png?resize=640%2C217&#038;ssl=1\" alt=\"\" class=\"wp-image-12504\" style=\"width:840px;height:auto\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/naturedesfonds.png?w=1025&amp;ssl=1 1025w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/naturedesfonds.png?resize=300%2C102&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/naturedesfonds.png?resize=768%2C260&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">BONUS: Quelques moyens de travailler avec des couches nombreuses<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Charger toutes les couches du Geopackage<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Vous pouivez charger directement toutes les couches du Geopackage en cliquant-glissant le nom du geopackage depuis le panneau explorateur vers le panneau couches.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"635\" data-attachment-id=\"12560\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-2eme-partie-ajouter-la-symbologie\/chargergpkg1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?fit=668%2C663&amp;ssl=1\" data-orig-size=\"668,663\" 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=\"chargergpkg1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?fit=640%2C635&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?resize=640%2C635&#038;ssl=1\" alt=\"\" class=\"wp-image-12560\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?w=668&amp;ssl=1 668w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?resize=300%2C298&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg1.png?resize=120%2C120&amp;ssl=1 120w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Une fen\u00eatre s&rsquo;ouvre ou vous pouvez s\u00e9lectionner quelles couches vous voulez charger. Pour charger la totalit\u00e9 des couches, simplement cliquez sur <strong><em>S\u00e9lectionner tout<\/em><\/strong>, puis sur <strong><em>Ajouter une couch<\/em><\/strong>e.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"449\" data-attachment-id=\"12561\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-2eme-partie-ajouter-la-symbologie\/chargergpkg2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?fit=2403%2C1687&amp;ssl=1\" data-orig-size=\"2403,1687\" 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=\"chargergpkg2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?fit=640%2C449&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?resize=640%2C449&#038;ssl=1\" alt=\"\" class=\"wp-image-12561\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?resize=1024%2C719&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?resize=300%2C211&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?resize=768%2C539&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?resize=1536%2C1078&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?resize=2048%2C1438&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg2.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">La totalit\u00e9 des couches est alors charg\u00e9e. Selon le nombre de fichiers S57 charg\u00e9 dans votre base, la mise en forme de la fen\u00eatre peut prendre beaucoup de temps.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"238\" data-attachment-id=\"12562\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-2eme-partie-ajouter-la-symbologie\/chargergpkg3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?fit=3437%2C1280&amp;ssl=1\" data-orig-size=\"3437,1280\" 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=\"chargergpkg3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?fit=640%2C238&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?resize=640%2C238&#038;ssl=1\" alt=\"\" class=\"wp-image-12562\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?resize=1024%2C381&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?resize=300%2C112&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?resize=768%2C286&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?resize=1536%2C572&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?resize=2048%2C763&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg3.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Les couches qui consomment beaucoup de ressources c&rsquo;est les couches que nous avons vu plus haut (feux, sondes et nature du fond). Vous pouvez les d\u00e9cocher pour acc\u00e9l\u00e9rer le chargement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Un autre moyen, plus efficace est de d\u00e9finir l&rsquo;\u00e9chelle minimum d&rsquo;affichage de vos couches. Avec 150 couches charg\u00e9es, les d\u00e9finir une par une est exclu. Nous mettons \u00e0 votre disposition un script Python qui permet de d\u00e9finir l&rsquo;\u00e9chelle minimum d&rsquo;affichage pour toutes les couches s\u00e9lectionn\u00e9es dans le panneau <strong>Couches<\/strong>. Une fois enregistr\u00e9 votre projet, ces param\u00e8tres seront utilis\u00e9s \u00e0 chaque ouverture du projet.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"301\" data-attachment-id=\"12563\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-2eme-partie-ajouter-la-symbologie\/chargergpkg4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?fit=3711%2C1747&amp;ssl=1\" data-orig-size=\"3711,1747\" 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=\"chargergpkg4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?fit=640%2C301&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?resize=640%2C301&#038;ssl=1\" alt=\"\" class=\"wp-image-12563\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?resize=1024%2C482&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?resize=300%2C141&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?resize=768%2C362&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?resize=1536%2C723&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?resize=2048%2C964&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/chargergpkg4.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Modifiez la ligne <strong><em>min_scale=<\/em><\/strong> pour mettre l&rsquo;\u00e9chelle minimale d&rsquo;affichage en fonction de vos donn\u00e9es.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Le script Python pour d\u00e9finir l&rsquo;\u00e9chelle minimum d&rsquo;affichage des couches s\u00e9lectionn\u00e9es est le suivant:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class='stb-container stb-style-download stb-caption-box'><div class='stb-caption'><div class='stb-logo'><img class='stb-logo__image' src='data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4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fTU\/aUK1EJL4AVEklGuaqe28W\/vvGeiWtt9LKYozitbt23c+8R37rvtmh6sTBNM1WAiC+NDSmvVyqoKSVfJjMBXC\/RcpZ2kFyqD0AIYlhoxShlqudDflGpQdiBicV1PM333ffNffvHG9scA51gAkUDuX++779vu0\/c8\/uUL01jOJAz0qSpVK4W764bRCDVT4M6o1yCcFwotVAiWUtL4KipuTUWl4iEcwRXL2ok+\/v3HHvnRA9+SMMYhZMlHGtBVXH\/v3bf\/zZfEk199\/NbzEtiiCoUC+LUQxPTi3VAnTQPxQqc3PXHUFb0MWzU9gSoCpRJmNMpnlreTefIf\/3PdPd\/4ctn19x3zafxB56iLhdf96Q1f6Dr3s9fev3nQ2rOnN1SqMxPSg5NGjbBHmBCJKAOl6+Ec21dj1kACJm1dHVxxctrJPvVP6x754f3frAVyzyEpcjRD7F8bsrSevvKUSy+6\/ubP7yy1LX7u1XdFLptH+o7a5Wm3p2nKHkdCA2boytKGQIUOdQmbMxa00+Pvf+sn6\/\/uH159bdtGCUMfRqdjBWQaTCwZs5atueLKqzM9564+UE51vjNQ1AayExSKJXw3rJZ6CMSyIGqjxywa6uK0ZOLMr9OCzlp\/X\/61p\/\/rqUceWj9RcbYD5f8tJ44lkPcfdS2NqeW\/f9bZq1KzFp0aa1t0QlHEmkfKwnb1mAg0E2maGKaGqbmyJSarca+QLR3Y8XZh385XX\/nZT58dKUy+Dkwd9o9lvyUgB38LMgWts7s6FiTqG+fokVhbfWM6bVh2DCEInGo5n8uO+dXS0FQ+9957fUN7XBg+nNL6fw3k16lnAaErI9TmOEDtcMrpMQFy\/B8GjgM5DuQ4kP+3x\/8MAHWpUzAU7qJ7AAAAAElFTkSuQmCC' alt='img'\/><\/div><div class='stb-caption-content'>setminscale.py<\/div><div class='stb-tool'><\/div><\/div><div class='stb-content'><\/div><\/div> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># R\u00e9cup\u00e9rer la vue des couches\nlayer_tree_view = iface.layerTreeView()\n\n# R\u00e9cup\u00e9rer les couches s\u00e9lectionn\u00e9es\nselected_layers = layer_tree_view.selectedLayers()\n\n# D\u00e9finir l'\u00e9chelle minimale pour chaque couche s\u00e9lectionn\u00e9e\nfor layer in selected_layers:\n    # D\u00e9finir l'\u00e9chelle minimale (par exemple, 1:50000)\n    min_scale = 250000\n    \n    # D\u00e9finir l'\u00e9chelle minimale d'affichage pour la couche\n    layer.setScaleBasedVisibility(True)\n    layer.setMinimumScale(min_scale)\n    print(f\"L'\u00e9chelle d'affichage de la couche {layer.name()} a \u00e9t\u00e9 d\u00e9finie sur {min_scale}.\")\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">[\/stextbox ]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.nasca.ovh\/downloads\/setminscale.py\" rel=\"sponsored\" title=\"Vous pouvez le t\u00e9l\u00e9charger ici.\">Vous pouvez le t\u00e9l\u00e9charger ici.<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>La premi\u00e8re partie du projet Financement Collaboratif pour l\u2019Int\u00e9gration de Donn\u00e9es Marines dans QGIS est arriv\u00e9e \u00e0 son terme gr\u00e2ce aux contributions d\u2019ORANGE Marine, Geoconceptos Uruguay, Janez Avzec et Gaetan Mas. Nous les remercions vivement. Nous&hellip;<\/p>\n","protected":false},"author":1,"featured_media":12524,"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_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":"","jetpack_post_was_ever_published":false},"categories":[425],"tags":[],"class_list":["post-12517","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-non-classe-fr"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2024\/03\/entete.png?fit=670%2C450&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-3fT","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/12517","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=12517"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/12517\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media\/12524"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=12517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=12517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=12517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}