﻿{"id":434,"date":"2015-02-23T06:31:15","date_gmt":"2015-02-23T05:31:15","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=434"},"modified":"2024-03-29T08:16:13","modified_gmt":"2024-03-29T07:16:13","slug":"affichage-des-cartes-marines-s57-dans-qgis","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/","title":{"rendered":"Affichage des cartes marines S57 dans QGis"},"content":{"rendered":"\n<p>Les sources d&rsquo;information pour les territoires littoraux ne se limitent pas aux sources classiques terrestres. Les cartes marines peuvent apporter des informations tr\u00e8s utiles et, du point de vue du rendu, permettent de produire des documents riches et impactants.<\/p>\n\n\n\n<div class='stb-container stb-style-warning'><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+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\/QEhFGTlc\/mGAnE96JyPpEQRO0iMyvfQcnojnrRuDR\/EjOJuXoU6UE3Cdhkx4pbbYhkZ6a0GycjIyOjbp+9AW4GqLkfVfHrKvs8RrVBaUMLvr4bkicAUzTAYJmpPZVBctmYNpQEGnDiG2rIaVzRyc3O75\/fI793qJnZ+fv4Pu+Tk5HhKUF9WB8nPSG1D4RPG31eF86eHMG+aAGYK6pN38Ta\/FVyDVVuaWDr+vioM3yOSmqp3u6rbj4CKVoE0NDT4lmV5KSnRkBhhcBWk0Kwr0ophpOJv\/Dt+xargnu5akBIJHL0tIJ4C9CCxiuDYtrTatHbs2LFn7549+0Liow8YgZbdA2mo\/+alqDU2bqQheijI5qHoqcq3tWs4Qd7Rry9CE6GhocGvrv5sd6tBPM9rfOONFStTwwbEryB0\/ysY\/YYHdZKVhGRbxALLauOcJFgWWkYXQr9ahDagkGhIo6Ji46adO3dUtimPhMPh+GuvLVt9e1HRkGMNieCSd\/ALpO4g+N6F\/xdUSgStaz7EOhE1Nb766lB90e2331FZWVnW4p7P1tdKT0+\/8okn5i4aN25cSWpaGo4SXF+h1IV\/ycA0dMK6hmlobN68ZcekSRN\/8+m2bW+dqa\/VmgZd2jXXXHNzYeHNhTcMvWFIz55X58ViseiFemNCC2KKOnDgwNFPtm6tWrNmzftvv\/3W67Zt7zpbg66tncYO8Xi8SywWizXNkwvE4h86dOioZVmHALs1nUbt8rsol0Eug1wG+Z8a\/x0A3thDl\/BwJ7kAAAAASUVORK5CYII=' alt='img'\/><\/div><div class='stb-caption-content'><\/div><div class='stb-tool'><\/div><\/div><div class='stb-content'> <\/p>\n\n\n\n<p>Cet article est obsol\u00e8te. Une s\u00e9rie d&rsquo;articles abordent le sujet actualis\u00e9. <br><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\/\">https:\/\/www.sigterritoires.fr\/index.php\/creation-dune-base-de-donnees-geopackage-pour-les-cartes-enc-1ere-partie-constituer-la-base-de-donnees\/<\/a><\/p>\n\n\n\n<p><\/div><\/div>\n\n\n\n<!--more-->\n\n\n\n<p>La source la pus adapt\u00e9e pour int\u00e9grer rapidement une grande quantit\u00e9 d&rsquo;informations sont les cartes marines \u00e9lectroniques (<a href=\"https:\/\/www.sigterritoires.fr\/index.php\/cartes-enc-dans-qgis-avec-postgis1\/\">ENC<\/a>). En un seul lot de donn\u00e9es vous retrouvez l&rsquo;ensemble des informations contenues dans une carte marine :trait de c\u00f4te, bathym\u00e9trie, balisage, etc&#8230;<\/p>\n\n\n\n<p>Contrairement aux USA et d&rsquo;autres pays o\u00f9 les cartes marines sont gratuites et disponibles par simple t\u00e9l\u00e9chargement, en France elles sont payantes, ce qui ralentit \u00e9norm\u00e9ment leur diffusion et leur utilisation.<\/p>\n\n\n\n<p>Si vous \u00eatres utilisateur d&rsquo;ArcGis, vous disposez d&rsquo;une extension d\u00e9velopp\u00e9e par la NOAA pour int\u00e9grer les donn\u00e9es de cartes ENC dans ArcMap. Pour QGis, il n&rsquo;y a pas d&rsquo;extension similaire.<\/p>\n\n\n\n<p>Les cartes ENC sont diffus\u00e9es dans un format du Bureau Hydrologique International (BHI) appel\u00e9 S-57. Parmi les formats vectoriels chargeables directement das QGis, vous avez ce format en option. Vous pouvez donc ouvrir une carte ENC dans QGis, et afficher son contenu. Mais le probl\u00e8me c&rsquo;est que vous affichez son contenu avec des symboles par d\u00e9faut classiques, qui n&rsquo;ont aucun lien avec la symbologie utilis\u00e9e sur une carte marine.<\/p>\n\n\n\n<p>Voici le r\u00e9sultat du chargement d&rsquo;un fichier S-57 dans QGis.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_1\/\" rel=\"attachment wp-att-502\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"340\" data-attachment-id=\"502\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_1.png?fit=1598%2C864&amp;ssl=1\" data-orig-size=\"1598,864\" 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;}\" data-image-title=\"s57_1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_1.png?fit=630%2C340&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_1-630x340.png?resize=630%2C340\" alt=\"chargement brut du S57 dans qgis\" class=\"wp-image-502\" title=\"s57_1\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_1.png?resize=630%2C340&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_1.png?resize=300%2C162&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_1.png?w=1598&amp;ssl=1 1598w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_1.png?w=1280&amp;ssl=1 1280w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>Vous pouvez, bien s\u00fbr, prendre couche par couche et lui affecter une symbologie appropri\u00e9e. Il y en a environ 75 couches dans une ENC classique.<\/p>\n\n\n\n<p>Nous vous proposons quelque chose de plus rapide.<br>Nous avons mis une vid\u00e9o sur Youtube que vous pouvez <a href=\"https:\/\/www.youtube.com\/watch?v=xl1HoFOhQxg\">regarder ici<\/a><br>Si vous voulez tester cette proc\u00e9dure et vous n&rsquo;avez pas de carte ENC sous la main, vous pouvez t\u00e9l\u00e9charger gratuitement une carte am\u00e9ricaine, \u00e0 partir du site de la NOAA, en <a href=\"http:\/\/www.charts.noaa.gov\/ENCs\/ENCs.shtml\">cliquant ici<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Principe de la proc\u00e9dure<\/h2>\n\n\n\n<p>Au lieu d&rsquo;utiliser le chargement direct du fichier <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis-3-x\/\">S57<\/a>, nous allons faire un traitement pr\u00e9alable pour cr\u00e9er des fichiers shape des diff\u00e9rentes couches pr\u00e9sentes. Pour afficher une symbologie pr\u00e9-\u00e9tablie c&rsquo;est indispensable, mais en plus, cela permet d&rsquo;int\u00e9grer seulement les couches que vous souhaitez aux autres traitements courants.<\/p>\n\n\n\n<p>Si vous ne l&rsquo;avez pas d\u00e9j\u00e0 fait, il vous faut installer FWTools. FWTools est un set d&rsquo;outils Open source pour les syst\u00e8mes Windows (Win32) et Linux(x86 32bit). C&rsquo;est un kit tr\u00e8s simple sans code source ni compilation.<br>L&rsquo;installation sous Windows tr\u00e8s simple :<br>* On t\u00e9l\u00e9charge le package. On double clique et l&rsquo;install se lance.<br>* Il va cr\u00e9er un r\u00e9pertoire avec notamment un fichier appel\u00e9 openev.bat. C&rsquo;est celui l\u00e0 qui va lancer le logiciel OpenEV qui g\u00e8re les autres composants.<\/p>\n\n\n\n<p>FWTools contient parmi ses outils, GDAL-OGR,: une librairie et un utilitaire de lignes de commandes pour lire et \u00e9crire des formats raster (gdal) et vecteur (ogr).<\/p>\n\n\n\n<p>Une fois install\u00e9 FWTools, vous le lancez \u00e0 partir du menu Tous les Programmes-&gt; FWTools -&gt; FWTools Shell.<br>Une fen\u00eatre de commande s&rsquo;ouvre.<\/p>\n\n\n\n<p>On va traduire le format S57 en une s\u00e9rie de fichiers shp que nous enregistrerons dans un nouveau r\u00e9pertoire.<\/p>\n\n\n\n<p>La ligne de commande \u00e0 rentrer est de la forme suivante:<\/p>\n\n\n\n<p><b>ogr2ogr -skipfailures <em>output input<\/em><\/b><br>output: correspond au nom d&rsquo;un r\u00e9pertoire vide o\u00f9 seront stock\u00e9s les fichiers shp cr\u00e9\u00e9s<br>input: c&rsquo;est le fichier S-57 \u00e0 traduire, avec son extension .000<\/p>\n\n\n\n<p>example:<br>ogr2ogr -skipfailures d:\\ENC570940 D:\\shom\\ENC_25000\\FR570940.000<\/p>\n\n\n\n<p>Ne vous inqui\u00e9tez pas de la liste interminable d&rsquo;erreurs et avertissements qui s&rsquo;affichent pendant l&rsquo;ex\u00e9cution. Nous n&rsquo;avons pas encore trouv\u00e9 quelqu&rsquo;un qui puisse les expliquer, mais ce qu&rsquo;il faut retenir c&rsquo;est que le r\u00e9sultat de la traduction est bon.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_2\/\" rel=\"attachment wp-att-504\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"520\" data-attachment-id=\"504\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_2\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_2.png?fit=574%2C520&amp;ssl=1\" data-orig-size=\"574,520\" 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;}\" data-image-title=\"s57_2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_2.png?fit=574%2C520&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_2.png?resize=574%2C520\" alt=\"fichiers shape cr\u00e9es par fwtools\" class=\"wp-image-504\" title=\"s57_2\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_2.png?w=574&amp;ssl=1 574w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_2.png?resize=300%2C271&amp;ssl=1 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>Si vous regardez maintenant le contenu du r\u00e9pertoire, vous constaterez que les shapes ont bien \u00e9t\u00e9 cr\u00e9\u00e9s.<br><\/p>\n\n\n\n<p>Vous avez donc quelques 75 fichiers shape, mais toujours pas de symbologie pour QGis.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ressources pour la symbologie QGis<\/h2>\n\n\n\n<p>Vous devez t\u00e9l\u00e9charger un fichier zip contenant:<br>&#8211; un grand nombre de symboles svg que nous avons regroup\u00e9s dans un r\u00e9pertoire \u00ab\u00a0nautical\u00a0\u00bb. Vous pouvez trouver tous ces symboles en recherchant sur Internet, mais comme \u00e7a vous les avez tous d&rsquo;un seul coup.<br>&#8211; un Projet QGis (version 2.6) avec l&rsquo;affectation de chaque symbole pour chaque couche shape.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_3\/\" rel=\"attachment wp-att-505\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"382\" data-attachment-id=\"505\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_3\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_3.png?fit=552%2C382&amp;ssl=1\" data-orig-size=\"552,382\" 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;}\" data-image-title=\"s57_3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_3.png?fit=552%2C382&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_3.png?resize=552%2C382\" alt=\"exemlple de classification de l\u00e9gende ENC\" class=\"wp-image-505\" title=\"s57_3\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_3.png?w=552&amp;ssl=1 552w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_3.png?resize=300%2C207&amp;ssl=1 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>Pour t\u00e9l\u00e9charger le fichier, <a href=\"http:\/\/www.nasca.ovh\/downloads\/qgis_nautical.zip\">cliquez ici<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Le r\u00e9pertoire \"nautical\" doit \u00eatre copi\u00e9 dans le r\u00e9pertoire svg de votre installation de QGis.\n Par exemple : C:\\Program Files\\QGIS Brighton\\apps\\qgis\\svg\\ (si vous avez un syst\u00e8me x64 )<\/pre>\n\n\n\n<p><strong>Mise \u00e0 jour du 13\/09\/2016: <\/strong>Vous n&rsquo;avez plus besoin d&rsquo;installer le r\u00e9pertoire de symboles si vous utilisez le plugin Resource Sharing. Les symboles indiqu\u00e9s ici sont disponibles \u00e0 travers ce plugin. (Voir l&rsquo;article <a href=\"http:\/\/wp.me\/p6XU0A-Vx\">Partagez vos ressources(symboles,images,scripts) pour Qgis avec un nouveau plugin)<\/a><strong><br><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Afficher la carte ENC dans QGis avec une symbologie adapt\u00e9e<\/h2>\n\n\n\n<p>Maintenant il ne vous reste qu&rsquo;\u00e0 copier le fichier projet QGis t\u00e9l\u00e9charg\u00e9, s567.qgs, dans le r\u00e9pertoire avec les shapes cr\u00e9\u00e9s dans l&rsquo;\u00e9tape pr\u00e9c\u00e9dente. Puis, de charger ce projet dans QGis.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"http:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_4\/\" rel=\"attachment wp-att-508\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"296\" data-attachment-id=\"508\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/affichage-des-cartes-marines-s57-dans-qgis\/s57_4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_4.png?fit=1188%2C560&amp;ssl=1\" data-orig-size=\"1188,560\" 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;}\" data-image-title=\"s57_4\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_4.png?fit=630%2C296&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_4-630x296.png?resize=630%2C296\" alt=\"R\u00e9sutat de la symbologie nautical sur une carte ENC\" class=\"wp-image-508\" title=\"s57_4\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_4.png?resize=630%2C296&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_4.png?resize=300%2C141&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2015\/02\/s57_4.png?w=1188&amp;ssl=1 1188w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>Vous verrez alors les donn\u00e9es avec une symbologie de carte marine.<br><\/p>\n\n\n\n<p>Si vous n&rsquo;obtenez pas ce type de r\u00e9sultat, c&rsquo;est simplement parce que votre installation de QGis n&rsquo;est pas dans le m\u00eame r\u00e9pertoire que celui enregistr\u00e9 dans le projet (C:\/Program Files\/QGIS Brighton\/apps\/qgis)<br>Regardez quel est le bon chemin, puis ouvrez le fichier s57.qgs dans un \u00e9diteur de texte et remplacez toutes les occurrences de:<br><em>v=\u00a0\u00bbC:\/Program Files\/QGIS Brighton\/apps\/qgis\/svg\/nautical<\/em><br>par le chemin correspondant \u00e0 votre installation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Les sources d&rsquo;information pour les territoires littoraux ne se limitent pas aux sources classiques terrestres. Les cartes marines peuvent apporter des informations tr\u00e8s utiles et, du point de vue du rendu, permettent de produire des documents&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":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,26,62],"tags":[86,58,85,41,39],"class_list":["post-434","post","type-post","status-publish","format-standard","hentry","category-logiciel_libres","category-outils-et-methodes","category-qgis-2","tag-enc","tag-qgis","tag-s57","tag-svg","tag-symboles"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-70","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/434","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=434"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}