﻿{"id":10976,"date":"2023-07-06T09:00:00","date_gmt":"2023-07-06T07:00:00","guid":{"rendered":"https:\/\/www.sigterritoires.fr\/?p=10976"},"modified":"2023-07-05T15:40:52","modified_gmt":"2023-07-05T13:40:52","slug":"analyse-de-reseau-avec-qgis","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/analyse-de-reseau-avec-qgis\/","title":{"rendered":"Analyse de r\u00e9seau avec QGis"},"content":{"rendered":"\n<p>Nous verrons comment t\u00e9l\u00e9charger et pr\u00e9parer les donn\u00e9es OpenStreetMap pour une analyse de r\u00e9seau, puis l&rsquo;ensemble des traitements QGis regroup\u00e9s sous l&rsquo;intitul\u00e9 Analyse de r\u00e9seau.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Nous allons voir ici des exemples d&rsquo;analyse d&rsquo;un r\u00e9seau routier, mais il est clair que les m\u00eames possibilit\u00e9s s&rsquo;appliquent \u00e0 tout type de r\u00e9seau: canalisations,hydrographique,&#8230;<\/p>\n\n\n\n<p>Une des utilisations les plus courantes d&rsquo;analyse de r\u00e9seau est la recherche du <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/les-outils-chemin-le-plus-court-danalyse-de-reseau-qgis\/\">chemin le plus court<\/a> (ou le plus rapide). Ceci implique un r\u00e9seau topologiquement sans d\u00e9fauts, c&rsquo;est \u00e0 dire o\u00f9 tous les tron\u00e7ons sont bien reli\u00e9s entre eux et o\u00f9 la num\u00e9risation du tron\u00e7on a bien \u00e9t\u00e9 r\u00e9alis\u00e9e dans le sens du d\u00e9placement (du point de d\u00e9part vers le point d&rsquo;arriv\u00e9e du tron\u00e7on).<\/p>\n\n\n\n<p>La partie la plus dure du travail est bien la mise en conformit\u00e9 du r\u00e9seau.<\/p>\n\n\n\n<p>En ce qui concerne le r\u00e9seau routier, nous disposons en principe de donn\u00e9es respectant toutes ces conditions dans OpenStreetMap. <\/p>\n\n\n\n<p>Pour une m\u00eame zone nous disposons de trois sources de donn\u00e9es, toutes disponibles sur le site de <a href=\"http:\/\/download.geofabrik.de\" title=\"Geofabrik\">Geofabrik<\/a> : des fichier <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/frshapefile-vs-geopackage-quel-format-choisir\/\">shapefile<\/a>, des fichiers .osm compress\u00e9s et des fichiers pbf.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"348\" data-attachment-id=\"10956\" data-permalink=\"https:\/\/www.sigterritoires.fr\/page_uruguay_geofabrik\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?fit=1128%2C612&amp;ssl=1\" data-orig-size=\"1128,612\" 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=\"page_uruguay_geofabrik\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?fit=640%2C348&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?resize=640%2C348&#038;ssl=1\" alt=\"Analyse de r\u00e9seau :page de t\u00e9l\u00e9chargement du site geofabrik.de avec les diff\u00e9rents types de formats disponibles.\" class=\"wp-image-10956\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?resize=1024%2C556&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?resize=768%2C417&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?resize=150%2C81&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?resize=250%2C136&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/page_uruguay_geofabrik.png?w=1128&amp;ssl=1 1128w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"preparation_OSM\">Pr\u00e9paration des donn\u00e9es OSM <\/h2>\n\n\n\n<p>Selon le type de fichier choisi et de votre configuration logicielle, l&rsquo;\u00e9tape de pr\u00e9paration des donn\u00e9es, avant de pouvoir utiliser les outils d&rsquo;analyse de r\u00e9seau, peut \u00eatre plus ou moins longue et compliqu\u00e9e.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Si vous n&rsquo;avez que QGis<\/h3>\n\n\n\n<p>Dans le cas o\u00f9 vous ne disposez pas de base de donn\u00e9es PostgreSQL \/ <a href=\"https:\/\/www.sigterritoires.fr\/index.php\/debuter-avec-postgrespostgis\/\">Postgis<\/a>, le format \u00e0 t\u00e9l\u00e9charger est le format shapefile. Vous n&rsquo;aurez pas toute l&rsquo;information contenue dans les autres formats, mais pour ce qui est de l&rsquo;analyse de r\u00e9seau routier (ou hydrographique) vous aurez tout ce qu&rsquo;il faut.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"750\" data-attachment-id=\"10957\" data-permalink=\"https:\/\/www.sigterritoires.fr\/couches_shp_osm\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?fit=963%2C1128&amp;ssl=1\" data-orig-size=\"963,1128\" 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=\"couches_shp_osm\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?fit=640%2C750&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?resize=640%2C750&#038;ssl=1\" alt=\"couches contenues dans le fichier shp de OSM (geofabrik)\" class=\"wp-image-10957\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?resize=874%2C1024&amp;ssl=1 874w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?resize=256%2C300&amp;ssl=1 256w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?resize=768%2C900&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?resize=128%2C150&amp;ssl=1 128w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/couches_shp_osm.png?w=963&amp;ssl=1 963w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>Pour le travail avec les traitements QGis Analyse de r\u00e9seau nous utiliserons la couche gis_osm_roads_free_1.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Si vous avez QGis et Postgis<\/h3>\n\n\n\n<p>Selon les outils dont vous disposez pour cjharger un fichier OSM dans Postgis, vous choisirez le format OSM ou bien le pbf.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Si vous disposez de osm2pgrouting<\/h4>\n\n\n\n<p>osm2pgrouting est un utilitaire en ligne de commande qui permet de charger dans une base de donn\u00e9es PostgreSQL \/ Postgis des fichiers au format .osm.<\/p>\n\n\n\n<p>Comme son nom l&rsquo;indique, il pr\u00e9pare par d\u00e9faut les donn\u00e9es d&rsquo;OSM pour leur utilisation avec les outils de routage de Postgis (<a href=\"https:\/\/www.sigterritoires.fr\/index.php\/developper-une-application-avec-pgrouting-sous-windows-1\/\">pgrouting<\/a>).<\/p>\n\n\n\n<p>Un exemple de ligne de commande est le suivant:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>osm2pgrouting.exe \u2013clean=1 -f fichier_telecharg\u00e9.osm -d base_de_donn\u00e9es -p 5433 -h localhost --schema uruguay -U postgres -W ******  -c mapconfig_for_cars.xml\n<\/code><\/pre>\n\n\n\n<p>-d indique dans quelle base de donn\u00e9es de votre serveur les donn\u00e9es doivent \u00eatre charg\u00e9es<\/p>\n\n\n\n<p>-p correspond au port d&rsquo;\u00e9coute de serveur PostgreSQL<\/p>\n\n\n\n<p>-W le mot de passe de l&rsquo;utilisateur<\/p>\n\n\n\n<p>-c le fichier de configuration \u00e0 utiliser pour le chargement. osm2pgrouting propose trois fichiers, adapt\u00e9s pour les voitures, pour les pi\u00e9tons et pour les bicyclettes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"343\" data-attachment-id=\"10958\" data-permalink=\"https:\/\/www.sigterritoires.fr\/osm2pgrouting_ligne_de_cmmande\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?fit=3465%2C1857&amp;ssl=1\" data-orig-size=\"3465,1857\" 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=\"osm2pgrouting_ligne_de_cmmande\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?fit=640%2C343&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=640%2C343&#038;ssl=1\" alt=\"ligne de commande de osm2pgrouting pour charger dans postgis un fichier .osm\" class=\"wp-image-10958\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=1024%2C549&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=300%2C161&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=768%2C412&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=1536%2C823&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=2048%2C1098&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=150%2C80&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?resize=250%2C134&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgrouting_ligne_de_cmmande.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Le r\u00e9sultat du chargement est le suivant:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"1024\" data-attachment-id=\"10959\" data-permalink=\"https:\/\/www.sigterritoires.fr\/resultat_osm2pgrouting_dans_postgresql\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?fit=723%2C1449&amp;ssl=1\" data-orig-size=\"723,1449\" 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=\"resultat_osm2pgrouting_dans_postgresql\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?fit=511%2C1024&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?resize=511%2C1024&#038;ssl=1\" alt=\"tables cr\u00e9\u00e9s par osm2pgrouting dans la base postgis\" class=\"wp-image-10959\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?resize=511%2C1024&amp;ssl=1 511w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?resize=150%2C300&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?resize=75%2C150&amp;ssl=1 75w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/resultat_osm2pgrouting_dans_postgresql.png?w=723&amp;ssl=1 723w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/a><\/figure>\n<\/div>\n\n\n<h4 class=\"wp-block-heading\">Si vous disposez de osm2pgsql<\/h4>\n\n\n\n<p><strong><em>osm2pgsql <\/em><\/strong>est un utilitaire en ligne de commande qui permet de charger l\u2019ensemble des donn\u00e9es OSM dans une base de donn\u00e9es PostgreSQL \/ Postgis, \u00e0 partir d&rsquo;un fichier .pbf.<\/p>\n\n\n\n<p>Un exemple de ligne de commande est le suivant<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em>C:\\osm2pgsql\\osm2pgsql-bin\\osm2pgsql.exe -c -d postgis_33_sample -U postgres -W -H localhost -P 5433 -S default.style uruguay-latest.osm.pbf<\/em><\/code><\/pre>\n\n\n\n<p>Les param\u00e8tres sont similaires \u00e0 ceux utilis\u00e9s par <strong><em>osm2pgrouting<\/em><\/strong>, sauf en ce qui concerne le param\u00e8tre -S qui d\u00e9finit le fichier de style \u00e0 utiliser. Vous trouverez ce fichier de style par d\u00e9faut dans le r\u00e9pertoire <strong><em>osm2pgsql-bin<\/em><\/strong>, dans le r\u00e9pertoire d&rsquo;installation de osm2pgsql. Il indique quelles colonnes doivent \u00eatre cr\u00e9\u00e9s dans la table postgis.<\/p>\n\n\n\n<p>Pour notre travail d&rsquo;analyse de r\u00e9seau,il est probable qu&rsquo;\u00e0 un moment ou un autre on utilise la vitesse maximale autoris\u00e9e des tron\u00e7ons pour calculer la route la plus rapide. Malheureusement, ce param\u00e8tre (maxspeed) n&rsquo;est pas compris dans la liste des attributs \u00e0 cr\u00e9er. Pour qu&rsquo;il soit cr\u00e9\u00e9, il faut ajouter une ligne dans le fichier default.style:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em>node,way maxspeed text linear<\/em><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"557\" data-attachment-id=\"10960\" data-permalink=\"https:\/\/www.sigterritoires.fr\/default-style_modifie\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?fit=669%2C582&amp;ssl=1\" data-orig-size=\"669,582\" 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=\"default.style_modifie\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?fit=640%2C557&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?resize=640%2C557&#038;ssl=1\" alt=\"ligne \u00e0 ajouter dans le fichier default.style pour osm2pgsql\" class=\"wp-image-10960\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?w=669&amp;ssl=1 669w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?resize=300%2C261&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?resize=150%2C130&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/default.style_modifie.png?resize=172%2C150&amp;ssl=1 172w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Une fois ex\u00e9cut\u00e9e la ligne de commande:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"10961\" data-permalink=\"https:\/\/www.sigterritoires.fr\/osm2pgsql_ligne_de_commande\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?fit=3457%2C1877&amp;ssl=1\" data-orig-size=\"3457,1877\" 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=\"osm2pgsql_ligne_de_commande\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?fit=640%2C348&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=640%2C347&#038;ssl=1\" alt=\"ex\u00e9cution de la ligne de commande de osm2pgsql pour le chargement dans postgis\" class=\"wp-image-10961\" width=\"640\" height=\"347\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=1024%2C556&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=768%2C417&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=1536%2C834&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=2048%2C1112&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=150%2C81&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?resize=250%2C136&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/osm2pgsql_ligne_de_commande.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Vous aurez quatre nouvelles tables dans votre base Postgis:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"318\" data-attachment-id=\"10962\" data-permalink=\"https:\/\/www.sigterritoires.fr\/tables_postgis_osm2pgsql\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?fit=1062%2C528&amp;ssl=1\" data-orig-size=\"1062,528\" 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=\"tables_postgis_osm2pgsql\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?fit=640%2C318&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?resize=640%2C318&#038;ssl=1\" alt=\"tables postgis cr\u00e9es par osm2pgsql\" class=\"wp-image-10962\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?resize=1024%2C509&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?resize=300%2C149&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?resize=768%2C382&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?resize=150%2C75&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?resize=250%2C124&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/tables_postgis_osm2pgsql.png?w=1062&amp;ssl=1 1062w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Chargement dans QGis<\/h2>\n\n\n\n<p><strong>Pour les fichiers shp,<\/strong> chargez la couche <strong><em>gis_osm_roads_free_1<\/em><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"326\" data-attachment-id=\"10964\" data-permalink=\"https:\/\/www.sigterritoires.fr\/chargement_shp_qgis\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?fit=3276%2C1671&amp;ssl=1\" data-orig-size=\"3276,1671\" 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=\"chargement_shp_qgis\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?fit=640%2C326&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=640%2C326&#038;ssl=1\" alt=\"chargement du shape osm dans qgis\" class=\"wp-image-10964\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=1024%2C522&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=300%2C153&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=768%2C392&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=1536%2C783&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=2048%2C1045&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=150%2C77&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?resize=250%2C128&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_shp_qgis.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Pour les fichier <strong><em>osm <\/em><\/strong>trait\u00e9s avec <strong><em>osm2pgrouting<\/em><\/strong>, chargez la table<strong><em> ways<\/em><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"324\" data-attachment-id=\"10965\" data-permalink=\"https:\/\/www.sigterritoires.fr\/chargement_pgrouting_qgis\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?fit=3333%2C1689&amp;ssl=1\" data-orig-size=\"3333,1689\" 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=\"chargement_pgrouting_qgis\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?fit=640%2C324&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=640%2C324&#038;ssl=1\" alt=\"chargement du fichier issu de osm2pgrouting dans qgis\" class=\"wp-image-10965\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=1024%2C519&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=300%2C152&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=768%2C389&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=1536%2C778&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=2048%2C1038&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=150%2C76&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?resize=250%2C127&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_pgrouting_qgis.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Pour les fichiers pbf<\/strong> trait\u00e9s avec <strong><em>osm2pgsql<\/em><\/strong>, chargez la table <strong><em>planet_osm_line<\/em><\/strong>.  Contrairement \u00e0 ce que l&rsquo;on peut penser, la table <strong><em>planet_osm_roads<\/em><\/strong> ne contient que les grands axes. Dans la table <strong><em>planet_osm_line<\/em><\/strong> vous aurez toutes les entit\u00e9s lin\u00e9aires, pas seulement le r\u00e9seau routier. Pour n&rsquo;avoir que les routes vous devez appliquer un filtre sur l&rsquo;attribut <strong><em>highway <\/em><\/strong>pour ne retenir que les lignes o\u00f9 cet attribut n&rsquo;est pas <strong>NULL<\/strong>. Si vous souhaitez travailler sur le r\u00e9seau hydrographique, le filtre <strong>IS NOT NULL<\/strong> doit \u00eatre appliqu\u00e9 \u00e0 l&rsquo;attribut <strong><em>waterway<\/em><\/strong> et si vous souhaitez travailler sur le r\u00e9seau ferr\u00e9 c&rsquo;est l&rsquo;attribut <strong><em>railway <\/em><\/strong>qu&rsquo;il faut filtrer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"326\" data-attachment-id=\"10966\" data-permalink=\"https:\/\/www.sigterritoires.fr\/chargement_osm2pgsql_qgis\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?fit=3273%2C1668&amp;ssl=1\" data-orig-size=\"3273,1668\" 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=\"chargement_osm2pgsql_qgis\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?fit=640%2C326&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=640%2C326&#038;ssl=1\" alt=\"chargement des tables issues d'osm2pgsql dans qgis.\" class=\"wp-image-10966\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=1024%2C522&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=300%2C153&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=768%2C391&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=1536%2C783&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=2048%2C1044&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=150%2C76&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?resize=250%2C127&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/chargement_osm2pgsql_qgis.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Si vous travaillez \u00e0 l&rsquo;\u00e9chelle d&rsquo;une petite ville ou d&rsquo;un village, vous pouvez utiliser une symbologie sp\u00e9cifique. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"355\" data-attachment-id=\"10969\" data-permalink=\"https:\/\/www.sigterritoires.fr\/symbologie_osm_qgis\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?fit=2643%2C1467&amp;ssl=1\" data-orig-size=\"2643,1467\" 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=\"symbologie_osm_qgis\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?fit=640%2C355&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=640%2C355&#038;ssl=1\" alt=\"symbologie du r\u00e9seau avec les fl\u00e8ches de sens de circulation\" class=\"wp-image-10969\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=1024%2C568&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=768%2C426&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=1536%2C853&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=2048%2C1137&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=150%2C83&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?resize=250%2C139&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Vous pouvez charger ces symboles au format xml <a href=\"https:\/\/www.nasca.ovh\/downloads\/oneway.xml\" title=\"\u00e0 partir de ce lien\">\u00e0 partir de ce lien<\/a>. pour les utiliser, ouvrez le gestionnaire de style, cliquez sur importer\/exporter et pointez sur le fichier <strong><em>oneway.xml<\/em><\/strong> t\u00e9l\u00e9charg\u00e9.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"286\" data-attachment-id=\"10971\" data-permalink=\"https:\/\/www.sigterritoires.fr\/symboles_oneway_qgis-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?fit=2751%2C1230&amp;ssl=1\" data-orig-size=\"2751,1230\" 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=\"symboles_oneway_qgis-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?fit=640%2C286&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=640%2C286&#038;ssl=1\" alt=\"symboles pour oneway osm avec Qgis\" class=\"wp-image-10971\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=1024%2C458&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=300%2C134&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=768%2C343&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=1536%2C687&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=2048%2C916&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=150%2C67&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?resize=250%2C112&amp;ssl=1 250w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?w=1280&amp;ssl=1 1280w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symboles_oneway_qgis-1.png?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/figure>\n\n\n\n<p>Pour les appliquer, ouvrez les <strong><em>propri\u00e9t\u00e9s de la couche gis_osm_roadfs_free_1 -&gt; symbologi<\/em><\/strong>e. S\u00e9lectionnez <strong><em>Cat\u00e9goris\u00e9<\/em><\/strong>, <strong><em>valeur-&gt; oneway<\/em><\/strong>.<\/p>\n\n\n\n<p>Vous aurez trois classes avec les valeurs B,F et T.<\/p>\n\n\n\n<p>Appliquez le symbole <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>oneway_both \u00e0 la valeur B,<\/li>\n\n\n\n<li>oneway_forward \u00e0 la valeur F,<\/li>\n\n\n\n<li>oneway_opposite \u00e0 la valeur T.<\/li>\n<\/ul>\n\n\n\n<p>Vous avez aussi les \u00e9tiquettes <strong><em>network_speed<\/em><\/strong> qui affichent la vitesse maximale du tron\u00e7on et qui doivent utiliser le champ <strong><em>maxspeed <\/em><\/strong>de la couche.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nous verrons comment t\u00e9l\u00e9charger et pr\u00e9parer les donn\u00e9es OpenStreetMap pour une analyse de r\u00e9seau, puis l&rsquo;ensemble des traitements QGis regroup\u00e9s sous l&rsquo;intitul\u00e9 Analyse de r\u00e9seau.<\/p>\n","protected":false},"author":1,"featured_media":10969,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[62],"tags":[2255,2259,2257,2251,81,2253,2249,227,58,341,192,1713],"class_list":["post-10976","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qgis-2","tag-analyse-de-reseau","tag-analysis","tag-network","tag-ogr2pgsql","tag-osm","tag-osm2pgrouting","tag-pbf","tag-postgis","tag-qgis","tag-shp","tag-symbologie","tag-telechargement"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2023\/06\/symbologie_osm_qgis.png?fit=2643%2C1467&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-2R2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/10976","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=10976"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/10976\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media\/10969"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=10976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=10976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=10976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}