<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://sig.cenlr.org/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Présentation du&lt;br/&gt;&lt;br/&gt;Système d'Information integration_donnees:externes</title>
        <description></description>
        <link>http://sig.cenlr.org/</link>
        <lastBuildDate>Wed, 29 Apr 2026 18:03:18 +0200</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://sig.cenlr.org/lib/images/favicon.ico</url>
            <title>Présentation du&lt;br/&gt;&lt;br/&gt;Système d'Information</title>
            <link>http://sig.cenlr.org/</link>
        </image>
        <item>
            <title>integration_donnees:externes:dgi</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/dgi</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot;&gt;&lt;a name=&quot;travailler_avec_le_cadastre&quot; id=&quot;travailler_avec_le_cadastre&quot;&gt;Travailler avec le cadastre&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT1 SECTION &quot;Travailler avec le cadastre&quot; [1-42] --&gt;
&lt;h2 class=&quot;sectionedit2&quot;&gt;&lt;a name=&quot;integration_de_ces_donnees_a_notre_si&quot; id=&quot;integration_de_ces_donnees_a_notre_si&quot;&gt;Intégration de ces données à notre SI&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT2 SECTION &quot;Intégration de ces données à notre SI&quot; [43-95] --&gt;
&lt;h3 class=&quot;sectionedit3&quot;&gt;&lt;a name=&quot;creation_du_schema_et_des_tables_dans_la_base_de_donnees&quot; id=&quot;creation_du_schema_et_des_tables_dans_la_base_de_donnees&quot;&gt;Création du schéma et des tables dans la base de données&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; SCHEMA dgi;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;compte_communal &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    ccodep character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodir character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupro character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_majic2 &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    ccodep character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodir character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;...&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;/pre&gt;

&lt;p&gt;

&lt;a href=&quot;http://sig.cenlr.org/integration_donnees/externes/dgi_sql&quot; class=&quot;wikilink1&quot; title=&quot;integration_donnees:externes:dgi_sql&quot;&gt;voir le script complet&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT3 SECTION &quot;Création du schéma et des tables dans la base de données&quot; [96-649] --&gt;
&lt;h3 class=&quot;sectionedit4&quot;&gt;&lt;a name=&quot;remplissage_des_tables_exemple_des_parcelles_non_baties&quot; id=&quot;remplissage_des_tables_exemple_des_parcelles_non_baties&quot;&gt;Remplissage des tables : exemple des parcelles non bâties&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code php&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;&amp;lt;?php&lt;/span&gt;
&lt;span class=&quot;coMULTI&quot;&gt;/*  Connexionn à la base de données */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conn&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_connect&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_connect&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;host=192.168.1.40 port=5432 dbname=sicen user=dba password=dbroot&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;connecté à la base !&lt;span class=&quot;es1&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* ouverture du ficjhier contenant les données */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$fh&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/fopen&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;fopen&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;'D:/CEN-LR/NBAT.300.txt'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;'r'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;fichier ouvert !&lt;span class=&quot;es1&quot;&gt;\n&lt;/span&gt;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$php_errormsg&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* Vidage de la table dgi.nbat */&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$res&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;delete from dgi.nbat&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; or &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_last_error&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_last_error&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* initialisation de qq variables */&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$i&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$nb_ligne&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;re0&quot;&gt;$nb_erreurs&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* parcours du fichier */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$s&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/fgets&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;fgets&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$fh&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1024&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
	&lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;INSERT INTO dgi.nbat VALUES ('&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$s&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;');&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;coMULTI&quot;&gt;/* création d ela requete d'insertion */&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$i&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/substr&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;substr&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$s&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;19&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;'10'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$res&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;
			&lt;span class=&quot;re0&quot;&gt;$nb_lignes&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;++;&lt;/span&gt;
			&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$nb_erreurs&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;++;&lt;/span&gt;
			&lt;span class=&quot;re0&quot;&gt;$sql_erreur&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.=&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
		&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
	&lt;span class=&quot;re0&quot;&gt;$i&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;++;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$nb_lignes&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;' insérées !'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$nb_erreurs&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;' erreurs : '&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sql_erreur&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re0&quot;&gt;$sql_vacuum_nbat&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;VACUUM dgi.nbat;&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sql_vacuum_nbat&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; or &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_last_error&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_last_error&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;vacuum dgi.nbat ok !&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re0&quot;&gt;$sql_vide_parcelle_non_bati&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;DELETE FROM dgi.parcelle_non_bati&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sql_vide_parcelle_non_bati&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; or &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_last_error&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_last_error&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re0&quot;&gt;$sql_ventil&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;INSERT INTO dgi.parcelle_non_bati(
            ccodep, ccodir, ccocom, ccopre, ccosec, dnupla, filler, cenr, 
            dcntpa, dsrpar, dnupro, jdatat, dreflf, gpdl, cprsecr, ccosecr, 
            dnuplar, dnupdl, gurbpa, dparpi, ccoarp, gparnf, gparbat, parrev, 
            gpardp, fviti, dnvoiri, dindic, ccovoi, ccoriv, ccocif, gpafpd)
SELECT substring (ligne FROM 1 for 2), substring (ligne FROM 3 for 1), substring (ligne FROM 4 for 3), substring (ligne FROM 7 for 3), substring (ligne FROM 10 for 2), substring (ligne FROM 12 for 4), substring (ligne FROM 16 for 4), substring (ligne FROM 20 for 2), substring (ligne FROM 22 for 9), substring (ligne FROM 31 for 1), substring (ligne FROM 32 for 6), substring (ligne FROM 38 for 8), substring (ligne FROM 46 for 5), substring (ligne FROM 51 for 1), substring (ligne FROM 52 for 3), substring (ligne FROM 55 for 2), substring (ligne FROM 57 for 4), substring (ligne FROM 61 for 3), substring (ligne FROM 64 for 1), substring (ligne FROM 65 for 4), substring (ligne FROM 69 for 1), substring (ligne FROM 70 for 1), substring (ligne FROM 71 for 1), substring (ligne FROM 72 for 12), substring (ligne FROM 84 for 01), substring (ligne FROM 85 for 01), substring (ligne FROM 86 for 4), substring (ligne FROM 90 for 1), substring (ligne FROM 91 for 5), substring (ligne FROM 96 for 4), substring (ligne FROM 100 for 4), substring (ligne FROM 104 for 1) FROM dgi.nbat&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sql_ventil&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; or &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_last_error&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_last_error&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;re0&quot;&gt;$sql_vacuum_parcelle_non_bati&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;VACUUM dgi.parcelle_non_bati&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$conn&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$sql_vacuum_parcelle_non_bati&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; or &lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.php.net/pg_last_error&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;pg_last_error&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;vacuum dgi.parcelle_non_bati ok !&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;sy1&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT4 SECTION &quot;Remplissage des tables : exemple des parcelles non bâties&quot; [650-3559] --&gt;
&lt;h3 class=&quot;sectionedit5&quot;&gt;&lt;a name=&quot;exploitation_de_ces_donnees&quot; id=&quot;exploitation_de_ces_donnees&quot;&gt;Exploitation de ces données&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;sans_affichage_cartographique&quot; id=&quot;sans_affichage_cartographique&quot;&gt;Sans affichage cartographique&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;OR&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REPLACE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;VIEW&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;analyse_fonciere_fr9101402 &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; 
 &lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; compte_propriete&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; count&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;id_parcelle&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; nb_parcelle&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;area2d&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10000&lt;/span&gt;::double precision &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; surface_en_propriete_ha&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; sum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;area2d&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10000&lt;/span&gt;::double precision &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; count&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;id_parcelle&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;::double precision &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; surf_moy_ha&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ddenom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dqualp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprnlp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomlp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign3&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign4&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign5&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign6&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopos&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;epxnee&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomcp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprncp
   &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; ign_bd_parcellaire&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;code_dep::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;code_com::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REPLACE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopre::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;' '&lt;/span&gt;::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'0'&lt;/span&gt;::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;com_abs::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REPLACE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccosec::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;' '&lt;/span&gt;::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'0'&lt;/span&gt;::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;section::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupla::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;numero::text
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;compte_communal &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; perimetre &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;perimetre&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text
  &lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; perimetre&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;id_perimetre::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'FR9101402'&lt;/span&gt;::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gdesip::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'1'&lt;/span&gt;::text
  &lt;span class=&quot;kw1&quot;&gt;GROUP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;BY&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ddenom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dqualp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprnlp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomlp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign3&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign4&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign5&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign6&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopos&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;jdatnss&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;epxnee&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomcp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprncp
  &lt;span class=&quot;kw1&quot;&gt;ORDER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;BY&lt;/span&gt; sum&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;area2d&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10000&lt;/span&gt;::double precision &lt;span class=&quot;kw1&quot;&gt;DESC&lt;/span&gt;;&lt;/pre&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;avec_affichage_carto&quot; id=&quot;avec_affichage_carto&quot;&gt;Avec affichage carto&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;OR&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REPLACE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;VIEW&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;foncier_fr9101402_avec_proprio &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; 
 &lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; compte_propriete&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;id_parcelle&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; area2d&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;10000&lt;/span&gt;::double precision &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; surf_ha&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ddenom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dqualp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprnlp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomlp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign3&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign4&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign5&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign6&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopos&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;epxnee&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomcp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprncp&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie
   &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; ign_bd_parcellaire&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;code_dep::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;code_com::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REPLACE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopre::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;' '&lt;/span&gt;::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'0'&lt;/span&gt;::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;com_abs::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REPLACE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccosec::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;' '&lt;/span&gt;::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'0'&lt;/span&gt;::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;section::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupla::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;numero::text
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;compte_communal &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; parcelle_majic2&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; perimetre &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;perimetre&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; parcelle&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
   &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; compte_communal&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro::text
  &lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; perimetre&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;id_perimetre::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'FR9101402'&lt;/span&gt;::text &lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gdesip::text &lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'1'&lt;/span&gt;::text;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT5 SECTION &quot;Exploitation de ces données&quot; [3560-7789] --&gt;
&lt;h2 class=&quot;sectionedit6&quot;&gt;&lt;a name=&quot;ressources&quot; id=&quot;ressources&quot;&gt;Ressources&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://georezo.net/wiki/main:cadastre:start&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://georezo.net/wiki/main:cadastre:start&quot;  rel=&quot;nofollow&quot;&gt;http://georezo.net/wiki/main:cadastre:start&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://datagistips.blogspot.com/2010/07/majic-integration-opensource-des.html&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://datagistips.blogspot.com/2010/07/majic-integration-opensource-des.html&quot;  rel=&quot;nofollow&quot;&gt;Intégration OpenSource des Fichiers Fonciers&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://www.geomatique-aln.fr/IMG/pdf/Fiche_no10_foncier_public_cle01168f.pdf&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://www.geomatique-aln.fr/IMG/pdf/Fiche_no10_foncier_public_cle01168f.pdf&quot;  rel=&quot;nofollow&quot;&gt;Référentiels du foncier public en Languedoc-Roussillon et Provence-Alpes-Côte-d’Azur&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://georezo.net/blog/parcellair/&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://georezo.net/blog/parcellair/&quot;  rel=&quot;nofollow&quot;&gt;http://georezo.net/blog/parcellair/&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT6 SECTION &quot;Ressources&quot; [7790-] --&gt;</description>
        <category>integration_donnees:externes</category>
            <pubDate>Wed, 27 Apr 2011 23:37:55 +0200</pubDate>
        </item>
        <item>
            <title>integration_donnees:externes:dgi_sql</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/dgi_sql</link>
            <description>
&lt;h1 class=&quot;sectionedit7&quot;&gt;&lt;a name=&quot;creation_de_la_structure_des_tables_cadastrales_dans_sicen&quot; id=&quot;creation_de_la_structure_des_tables_cadastrales_dans_sicen&quot;&gt;Création de la structure des tables cadastrales dans SICEN&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; SCHEMA dgi;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;compte_communal &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    ccodep character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodir character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupro character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_majic2 &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    ccodep character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodir character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccopre character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccosec character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupla character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupro character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccovoi character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    id SERIAL &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocif character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodep character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnuper character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodir character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupro character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnulp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodro character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodem character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gdesip character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gtoper character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccoqua character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gnexcf character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dtaucf character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnatpr character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccogrm character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dsglpm character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dforme character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ddenom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gtyp3 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gtyp4 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gtyp5 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gtyp6 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dlign3 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dlign4 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;36&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dlign5 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dlign6 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccopay character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodep1a2 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodira character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom_adr character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccovoi character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccoriv character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnvoiri character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dindic character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccopos character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnirpp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dqualp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnomlp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dprnlp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    jdatnss character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dldnss character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;58&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    epxnee character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnomcp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;30&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dprncp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;15&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    topcdi character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    oriard character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    fixard character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    datadr character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    topdec character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    datdec character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dsiren character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccmm character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    topja character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    datja character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    filler character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    anospi character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    cblpmo character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gtodge character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gpctf character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gpctsb character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    jmodge character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    jandge character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    jantfc character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    jantbc character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    filler2 character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;39&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocif &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code cdif'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code département'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnuper &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'numéro de personne dans le cdif'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code direction'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code commune INSEE'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'compte communal'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnulp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'numéro de libellé partiel'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodro &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code du droit réel ou parti- culier'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodem &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code du démembrement/indivi-sion'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gdesip &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'indicateur du destinataire de l'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'avis d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'imposition'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gtoper &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'indicateur de personne physi-que ou morale'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccoqua &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code qualité de personne phy-sique'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gnexcf &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code exo ecf'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dtaucf &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'taux exo ecf'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnatpr &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code nature de personne phy- sique ou morale'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccogrm &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code groupe de personne mora-le'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dsglpm &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'sigle de personne morale'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dforme &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'forme juridique abrégée majic2'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ddenom &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Dénomination de personne phy-sique ou morale'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gtyp3 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'type de la 3eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gtyp4 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Type de la 4eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gtyp5 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'type de la 5eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gtyp6 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'type de la 6eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign3 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'3eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign4 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'4eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign5 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'5eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dlign6 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'6eme ligne d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopay &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code de pays étranger et TOM'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep1a2 &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code département de l'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodira &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code direction de l'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom_adr &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code commune de l'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccovoi &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code majic2 de la voie'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccoriv &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code rivoli de la voie'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnvoiri &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'numéro de voirie'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dindic &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'indice de répétition de voi- rie'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopos &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code postal'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnirpp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'zone à blanc'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dqualp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Qualité abrégée'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomlp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Nom d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'usage'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprnlp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Prénoms associés au nom d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'usage'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;jdatnss &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'date de naissance'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dldnss &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'lieu de naissance'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;epxnee &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'mention du complément'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnomcp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Nom complément'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dprncp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Prénoms associés au complé-ment'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;topcdi &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'top transalp'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;oriard &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'origine adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;fixard &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'pérennité adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;datadr &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'date adresse'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;topdec &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'origine décès'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;datdec &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'date de décès'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dsiren &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'numéro siren'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccmm &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'création compte cadastral'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;topja &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'indic jeune agriculteur'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;datja &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'date jeune agriculteur'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;filler &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'à blanc'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;cblpmo &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'code blocage caractère personne morale'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gtodge &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'top appartenance à la DGE'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gpctf &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'top paiement centralisé à la taxe foncière'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gpctsb &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'top paiement centralisé à la TSBCS'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;jmodge &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'mois d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'entrée à la DGE'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;jandge &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'année d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'entrée à la DGE'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;jantfc &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'année d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'entrée paiement TF'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;jantbc &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'année d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'entrée paiement TSBCS'&lt;/span&gt;;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nbat &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    ligne character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;150&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    id SERIAL &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodep character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodir character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccopre character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccosec character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupla character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    filler character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    cenr character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dcntpa character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dsrpar character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupro character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    jdatat character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dreflf character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gpdl character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    cprsecr character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccosecr character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnuplar character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnupdl character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gurbpa character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dparpi character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccoarp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gparnf character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gparbat character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    parrev character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gpardp character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    fviti character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dnvoiri character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    dindic character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccovoi character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccoriv character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocif character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    gpafpd character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodep &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code département'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccodir &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code direction'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocom &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code commune INSEE ou DGI d’arrondissement'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccopre &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Préfixe de section ou quartier servi pour les communes associées, &amp;amp;des1.'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccosec &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Section cadastrale'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupla &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Numéro de plan'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;cenr &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code enregistrement (10)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dcntpa &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Contenance de la parcelle (en centiares)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dsrpar &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Lettre de série-role'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupro &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Compte communal du propriétaire de la parcelle'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;jdatat &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Date de l acte (jjmmaaaa)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dreflf &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Référence au Livre Foncier en Alsace-Moselle'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gpdl &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Indicateur d’appartenance à pdl (cf. détail supra), Identifiant de la pdl (si gpdl =2)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;cprsecr &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Préfixe de la parcelle de référence'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccosecr &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Section de la parcelle de référence'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnuplar &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'N° de plan de la parcelle de référence'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnupdl &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Numéro d’ordre de la pdl (en général, 001)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gurbpa &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Caractère Urbain de la parcelle (U, * ou blanc)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dparpi &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Numéro de parcelle primitive'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccoarp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Indicateur d’arpentage (A ou blanc)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gparnf &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Indicateur de parcelle non figurée au plan (1 = figurée, 0 = non figurée)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gparbat &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Indicateur de parcelle référençant un bâtiment (1 = oui, sinon 0)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parrev &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Info de la révision (INDISPONIBLE)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gpardp &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'parcelle n'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'appartenant pas au domaine public (INDISPONIBLE)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;fviti &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'parcelle au casier viticole  (INDISPONIBLE)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dnvoiri &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Numéro de voirie'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;dindic &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Indice de répétition'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccovoi &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code Majic2 de la voie'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccoriv &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code Rivoli de la voie'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ccocif &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code du cdif (code topad)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;gpafpd &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Domanialité, représentation au plan  (INDISPONIBLE)'&lt;/span&gt;;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;prop &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    ligne character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;550&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
CREATETABLE dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;voie &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
    ccodep character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccodir character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccocom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccovoi character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
    ccoriv character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_non_bati
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT parcelle_non_bati_pkey &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;compte_communal
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT pk_compte_communal &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_majic2
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT pk_parcelle &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccopre&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccosec&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupla&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;voie
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT pk_voie &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccovoi&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT proprietaires_pkey &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;id&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
 ind_ccocom &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccocom&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; ind_ccodep &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; ind_ccopre &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccopre&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; ind_ccopre_tranfo_bd_par &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;REPLACE&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccopre&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;''&lt;/span&gt;::text&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'0'&lt;/span&gt;::text&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; ind_ccosec &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccosec&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;; ind_dnupla &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;dnupla&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
 ind_gdesip &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; proprietaires &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;gdesip&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
 ind_lien_compte_communal &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
 ind_ref_compte_communal &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; proprietaires &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
 ind_unique_compte_communal &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; compte_communal &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
 ind_unique_lien_bd_parcellaire_majic2 &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccopre&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccosec&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupla&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
 ind_unique_parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; parcelle_majic2 &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccopre&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccosec&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupla&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;proprietaires
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT fk_dgi_proprietaires_ref_compte_communal &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; compte_communal&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_majic2
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT fk_parcelle_ref_compte_communal &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; compte_communal&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; dnupro&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; ONLY dgi&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;parcelle_majic2
    &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT fk_parcelle_ref_voie &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccovoi&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; voie&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ccodep&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccodir&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccocom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ccovoi&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt;

&lt;/div&gt;
</description>
        <category>integration_donnees:externes</category>
            <pubDate>Wed, 13 Apr 2011 13:40:54 +0200</pubDate>
        </item>
        <item>
            <title>integration_donnees:externes:diren</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/diren</link>
            <description></description>
        <category>integration_donnees:externes</category>
            <pubDate>Sat, 06 Feb 2010 13:21:54 +0200</pubDate>
        </item>
        <item>
            <title>integration_donnees:externes:generalites</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/generalites</link>
            <description></description>
        <category>integration_donnees:externes</category>
            <pubDate>Sat, 06 Feb 2010 13:21:54 +0200</pubDate>
        </item>
        <item>
            <title>integration_donnees:externes:ifn</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/ifn</link>
            <description>
&lt;h2 class=&quot;sectionedit8&quot;&gt;&lt;a name=&quot;integration_des_themes_de_l_ifn_a_notre_base_de_donnees&quot; id=&quot;integration_des_themes_de_l_ifn_a_notre_base_de_donnees&quot;&gt;Intégration des thèmes de l&amp;#039;IFN à notre base de données&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT8 SECTION &quot;Intégration des thèmes de l'IFN à notre base de données&quot; [1-70] --&gt;
&lt;h2 class=&quot;sectionedit9&quot;&gt;&lt;a name=&quot;avril_2011&quot; id=&quot;avril_2011&quot;&gt;Avril 2011&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT9 SECTION &quot;Avril 2011&quot; [71-93] --&gt;
&lt;h3 class=&quot;sectionedit10&quot;&gt;&lt;a name=&quot;integration_des_regions_forestieres&quot; id=&quot;integration_des_regions_forestieres&quot;&gt;Intégration des régions forestières&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;http://www.ifn.fr/spip/IMG/zip/rf250_l93_shp.zip&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://www.ifn.fr/spip/IMG/zip/rf250_l93_shp.zip&quot;  rel=&quot;nofollow&quot;&gt;http://www.ifn.fr/spip/IMG/zip/rf250_l93_shp.zip&lt;/a&gt;

&lt;/p&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;creation_d_un_schema_ifn&quot; id=&quot;creation_d_un_schema_ifn&quot;&gt;Création d&amp;#039;un schéma IFN&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; SCHEMA ifn;
&lt;span class=&quot;kw1&quot;&gt;GRANT&lt;/span&gt; USAGE &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; SCHEMA ifn &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; public;&lt;/pre&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;creation_du_script_sql_d_insertion_des_donnees&quot; id=&quot;creation_du_script_sql_d_insertion_des_donnees&quot;&gt;Création du script sql d&amp;#039;insertion des données&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code dos&quot;&gt;shp2pgsql -s &lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt; -g geometrie -I rfifn250_l93.shp ifn.regions_forestieres&amp;gt;rfifn.sql&lt;/pre&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;integartion_des_donnees&quot; id=&quot;integartion_des_donnees&quot;&gt;Intégartion des données&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code dos&quot;&gt;psql -h 192.168.1.230 -U nom_utilisateur sicen
\i rfifn.sql&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT10 SECTION &quot;Intégration des régions forestières&quot; [94-] --&gt;</description>
        <category>integration_donnees:externes</category>
            <pubDate>Thu, 28 Apr 2011 14:15:43 +0200</pubDate>
        </item>
        <item>
            <title>integration_donnees:externes:ign</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/ign</link>
            <description>
&lt;h2 class=&quot;sectionedit11&quot;&gt;&lt;a name=&quot;integration_des_themes_de_l_ign_a_notre_base_de_donnees&quot; id=&quot;integration_des_themes_de_l_ign_a_notre_base_de_donnees&quot;&gt;Intégration des thèmes de l&amp;#039;IGN à notre base de données&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT11 SECTION &quot;Intégration des thèmes de l'IGN à notre base de données&quot; [1-70] --&gt;
&lt;h2 class=&quot;sectionedit12&quot;&gt;&lt;a name=&quot;octobre_2010&quot; id=&quot;octobre_2010&quot;&gt;octobre 2010&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT12 SECTION &quot;octobre 2010&quot; [71-95] --&gt;
&lt;h3 class=&quot;sectionedit13&quot;&gt;&lt;a name=&quot;calcul_de_la_taille_sur_disque_des_tables_du_schema_ign_bd_topo_5_departements&quot; id=&quot;calcul_de_la_taille_sur_disque_des_tables_du_schema_ign_bd_topo_5_departements&quot;&gt;Calcul de la taille sur disque des tables du schéma ign_bd_topo (5 départements)&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;div class=&quot;box round&quot; style=&quot;width: 60%; &quot;&gt;
  &lt;b class='xtop'&gt;&lt;b class='xb1'&gt;&lt;/b&gt;&lt;b class='xb2'&gt;&lt;/b&gt;&lt;b class='xb3'&gt;&lt;/b&gt;&lt;b class='xb4'&gt;&lt;/b&gt;&lt;/b&gt;
  &lt;div class='xbox'&gt;
&lt;div class='box_content'&gt;pg_total_relation_size(regclass) renvoit l&amp;#039;espace disque total utilisé par la table de cet OID ou nom, incluant les index et les données de la partie TOAST&lt;/div&gt;
  &lt;/div&gt;
  &lt;b class='xbottom'&gt;&lt;b class='xb4'&gt;&lt;/b&gt;&lt;b class='xb3'&gt;&lt;/b&gt;&lt;b class='xb2'&gt;&lt;/b&gt;&lt;b class='xb1'&gt;&lt;/b&gt;&lt;/b&gt;
&lt;/div&gt;

&lt;p&gt;
voici les statistiques pour notre serveur (RHEL 4, diques en ext4) : 
&lt;/p&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; f_table_name&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pg_total_relation_size&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'ign_bd_topo.'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;f_table_name&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; pg_size_pretty&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;pg_total_relation_size&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'ign_bd_topo.'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;f_table_name&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
  &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; geometry_columns
  &lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; f_table_schema&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'ign_bd_topo'&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
Au total, l&amp;#039;ensemble des tables prend une place d&amp;#039;environ 2.9 Giga, le mnt n&amp;#039;y est pas encore intégré (&lt;a href=&quot;http://trac.osgeo.org/postgis/wiki/WKTRaster&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://trac.osgeo.org/postgis/wiki/WKTRaster&quot;  rel=&quot;nofollow&quot;&gt;http://trac.osgeo.org/postgis/wiki/WKTRaster&lt;/a&gt;|piste]])
&lt;/p&gt;
&lt;div class=&quot;table sectionedit14&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;nom de la table&lt;/th&gt;&lt;th class=&quot;col1&quot;&gt;&lt;a href=&quot;http://docs.postgresqlfr.org/8.4/functions-admin.html#functions-admin-dbsize&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://docs.postgresqlfr.org/8.4/functions-admin.html#functions-admin-dbsize&quot;  rel=&quot;nofollow&quot;&gt;pg_total_relation_size()&lt;/a&gt;&lt;/th&gt;&lt;th class=&quot;col2&quot;&gt;&lt;a href=&quot;http://docs.postgresqlfr.org/8.4/functions-admin.html#functions-admin-dbsize&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://docs.postgresqlfr.org/8.4/functions-admin.html#functions-admin-dbsize&quot;  rel=&quot;nofollow&quot;&gt;pg_size_pretty(pg_total_relation_size())&lt;/a&gt;&lt;/th&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;aire_triage&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;172032&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;168 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;bati_indifferencie&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;265838592&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;254 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;bati_industriel&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;15687680&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;15 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;bati_remarquable&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;2703360&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2640 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;canalisation_eau&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;155648&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;152 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;chef_lieu&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;385024&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;376 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row7&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;chemin&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;185024512&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;176 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row8&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;cimetiere&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;794624&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;776 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row9&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;conduite&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;90112&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;88 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row10&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;construction_lineaire&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;19144704&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;18 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row11&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;construction_ponctuelle&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;1294336&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1264 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row12&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;construction_surfacique&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;466944&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;456 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row13&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;emprise&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;417792&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;408 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row14&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;gare&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;90112&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;88 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row15&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;hydronyme&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;475136&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;464 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row16&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;lieu_dit&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;34013184&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;32 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row17&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;lieu_dit_habite&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;4743168&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;4632 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row18&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;lieu_dit_non_habite&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;4349952&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;4248 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row19&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;ligne_electrique&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;434176&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;424 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row20&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;ligne_orographique&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;31105024&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;30 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row21&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;oronyme&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;2719744&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2656 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row22&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_administratif_militaire&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;548864&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;536 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row23&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_culture_loisirs&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;385024&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;376 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row24&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_espace_naturel&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;4685824&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;4576 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row25&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_gestion_eaux&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;311296&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;304 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row26&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_hydrographie&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;475136&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;464 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row27&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_industriel_commercial&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;958464&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;936 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row28&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_orographie&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;2719744&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2656 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row29&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_religieux&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt; 507904&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;496 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row30&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_sante&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt; 122880&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;120 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row31&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_science_enseignement&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;393216&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;384 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row32&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_sport&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;90112&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;88 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row33&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_transport&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;638976&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;624 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row34&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pai_zone_habitation&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;5169152&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;5048 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row35&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;piste_aerodrome&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;172032&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;168 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row36&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;point_eau&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;1253376&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1224 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row37&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;poste_transformation&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;114688&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;112 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row38&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;pylone&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;2088960&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2040 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row39&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;reservoir&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;1941504&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1896 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row40&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;reservoir_eau&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;1662976&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1624 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row41&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;route&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;509304832&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;486 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row42&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;route_nommee&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;130162688&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;124 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row43&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;route_primaire&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;12091392&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;12 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row44&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;route_secondaire&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;270352384&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;258 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row45&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;surface_activite&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;2908160&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2840 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row46&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;surface_eau&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;17031168&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;16 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row47&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;surface_route&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;483328&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;472 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row48&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;terrain_sport&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;1474560&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1440 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row49&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;toponyme_communication&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;237568&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;232 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row50&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;toponyme_divers&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;622592&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;608 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row51&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;toponyme_ferre&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;81920&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;80 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row52&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;transport_cable&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;106496&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;104 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row53&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;troncon_cours_eau&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;104742912&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;100 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row54&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;troncon_laisse&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;892928&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;872 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row55&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;troncon_voie_ferree&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;2121728&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;2072 kB&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row56&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;zone_vegetation&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;1361412096&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;1298 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row57&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt;&lt;strong&gt;total&lt;/strong&gt;&lt;/th&gt;&lt;td class=&quot;col1&quot;&gt;&lt;strong&gt;3008372736&lt;/strong&gt;&lt;/td&gt;&lt;td class=&quot;col2&quot;&gt;&lt;strong&gt;2869 &lt;acronym title=&quot;Megabyte&quot;&gt;MB&lt;/acronym&gt;&lt;/strong&gt;&lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT14 TABLE [823-2915] --&gt;
&lt;/div&gt;
&lt;!-- EDIT13 SECTION &quot;Calcul de la taille sur disque des tables du schéma ign_bd_topo (5 départements)&quot; [96-2916] --&gt;
&lt;h2 class=&quot;sectionedit15&quot;&gt;&lt;a name=&quot;juillet_2010&quot; id=&quot;juillet_2010&quot;&gt;juillet 2010&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT15 SECTION &quot;juillet 2010&quot; [2917-2941] --&gt;
&lt;h3 class=&quot;sectionedit16&quot;&gt;&lt;a name=&quot;creation_de_la_table_des_lieu-dits_pour_l_interface_de_saisie&quot; id=&quot;creation_de_la_table_des_lieu-dits_pour_l_interface_de_saisie&quot;&gt;Création de la table des lieu-dits pour l&amp;#039;interface de saisie&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Les toponymes sont stockés dans 4 tables de la &lt;span class=&quot;curid&quot;&gt;&lt;a href=&quot;http://sig.cenlr.org/integration_donnees/externes/ign#integration_de_la_bdtopo&quot; class=&quot;wikilink1&quot; title=&quot;integration_donnees:externes:ign&quot;&gt;BD TOPO&lt;/a&gt;&lt;/span&gt; :
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; lieu_dit_habite&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; lieu_dit_non_habite&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; oronyme&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; hydronyme&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;

De manière à pouvoir proposer efficacement une aide à la saisie d&amp;#039;un lieu-dit selon l&amp;#039;endroit ou la donnée a été localisée sur la carte, nous allons rassembler ces informations dans une seule et même table nommée lieu_dit, dans le schéma public de notre base de données :

&lt;/p&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/ign?codeblock=1&quot; title=&quot;Télécharger un extrait&quot; class=&quot;mediafile mf_sql&quot;&gt;lieu_dit.sql&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; lieu_dit
&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
  id character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  origin_nom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;13&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  nom character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;70&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  importance character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  nature character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  code_insee character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; 
  &lt;span class=&quot;coMULTI&quot;&gt;/* Ce dernier champ n'existe pas initialement dans les tables &amp;quot;nymes&amp;quot; de la BD TOPO 
  Nous le rajoutons pour permettre des jointures avec la table commune et accélérer 
  le temps de récupération des lieu-dits proches d'un objet créé sur la carte */&lt;/span&gt;
  gid serial &lt;span class=&quot;kw1&quot;&gt;UNIQUE&lt;/span&gt; &lt;span class=&quot;co1&quot;&gt;-- utile pour QGIS&lt;/span&gt;
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;WITH&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
  OIDS&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;FALSE
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* création de la colonne géométrique de type point en lambert 93 */&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; AddGeometryColumn&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'lieu_dit'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'geometrie'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'POINT'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* remplissage de la table */&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; lieu_dit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;id&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; origin_nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; importance&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nature&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; id&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; origin_nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; importance&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nature&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; geometrie &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;lieu_dit_habite;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; lieu_dit&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;id&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; origin_nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; importance&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nature&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; id&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; origin_nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; importance&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; nature&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; geometrie &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;lieu_dit_non_habite;
&lt;span class=&quot;coMULTI&quot;&gt;/*INSERT INTO lieu_dit(id, origin_nom, nom, importance, nature, geometrie)
SELECT id, origin_nom, nom, importance, nature, geometrie FROM ign_bd_topo.hydronyme;
INSERT INTO lieu_dit(id, origin_nom, nom, importance, nature, geometrie)
SELECT id, origin_nom, nom, importance, nature, geometrie FROM ign_bd_topo.oronyme;*/&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* indexation des géométries */&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; lieu_dit_geometrie_gist
  &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; lieu_dit
  &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; gist
  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* mise à jour du code insee */&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;UPDATE&lt;/span&gt; lieu_dit
&lt;span class=&quot;kw1&quot;&gt;SET&lt;/span&gt; code_insee&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;code_insee
&lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune
&lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;coMULTI&quot;&gt;/* indexation du code_insee des lieu-dits */&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; ind_lieu_dit_code_insee
  &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; lieu_dit
  &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree
  &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;code_insee&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;/div&gt;
&lt;!-- EDIT16 SECTION &quot;Création de la table des lieu-dits pour l'interface de saisie&quot; [2942-5350] --&gt;
&lt;h3 class=&quot;sectionedit17&quot;&gt;&lt;a name=&quot;comment_lister_les_lieux-dits_situes_dans_un_rayon_de_2_km_de_l_objet_cree&quot; id=&quot;comment_lister_les_lieux-dits_situes_dans_un_rayon_de_2_km_de_l_objet_cree&quot;&gt;Comment lister les lieux-dits situés dans un rayon de 2 km de l&amp;#039;objet créé&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;' | '&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;' - '&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;round&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_distance&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;centroid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saisie_faune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;' m.'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; round&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_distance&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;centroid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saisie_faune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom
&lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; saisie_faune &lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; gid&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;AS&lt;/span&gt; saisie_faune &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; centroid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saisie_faune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; lieu_dit &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;code_insee&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_buffer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saisie_faune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;ORDER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;BY&lt;/span&gt; round&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_distance&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;saisie_faune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;ASC&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom&lt;/pre&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;' | '&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;' - '&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;round&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_distance&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;centroid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geomfromtext&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;' m.'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; round&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_distance&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;centroid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geomfromtext&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom
&lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune &lt;span class=&quot;kw1&quot;&gt;JOIN&lt;/span&gt; lieu_dit &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;code_insee&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; 
&lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; centroid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geomfromtext&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;AND&lt;/span&gt; st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_buffer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geomfromtext&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;2000&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;ORDER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;BY&lt;/span&gt; round&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_distance&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;st_transform&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geomfromtext&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; lieu_dit&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;ASC&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; ign_bd_topo&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;commune&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;nom&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT17 SECTION &quot;Comment lister les lieux-dits situés dans un rayon de 2 km de l'objet créé&quot; [5351-6861] --&gt;
&lt;h2 class=&quot;sectionedit18&quot;&gt;&lt;a name=&quot;fevrier_2010&quot; id=&quot;fevrier_2010&quot;&gt;février 2010&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT18 SECTION &quot;février 2010&quot; [6862-6887] --&gt;
&lt;h3 class=&quot;sectionedit19&quot;&gt;&lt;a name=&quot;integration_de_la_bd_parcellaire_dans_le_schema_ign_bd_parcellaire&quot; id=&quot;integration_de_la_bd_parcellaire_dans_le_schema_ign_bd_parcellaire&quot;&gt;integration de la BD PARCELLAIRE dans le schema ign_bd_parcellaire&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; format : shp&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; projection : lambert 93&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT19 SECTION &quot;integration de la BD PARCELLAIRE dans le schema ign_bd_parcellaire&quot; [6888-7010] --&gt;
&lt;h2 class=&quot;sectionedit20&quot;&gt;&lt;a name=&quot;janvier_2010&quot; id=&quot;janvier_2010&quot;&gt;janvier 2010&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT20 SECTION &quot;janvier 2010&quot; [7011-7035] --&gt;
&lt;h3 class=&quot;sectionedit21&quot;&gt;&lt;a name=&quot;integration_de_la_bdtopo&quot; id=&quot;integration_de_la_bdtopo&quot;&gt;Intégration de la BDTOPO&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;transformation_des_mif_en_shp&quot; id=&quot;transformation_des_mif_en_shp&quot;&gt;Transformation des MIF en shp&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;em&gt;La BD topo a été initialement commandée en MIF/MID…&lt;/em&gt;

&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-x&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;i&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;co0&quot;&gt;# on initialise le compteur&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;option&lt;/span&gt;=&lt;span class=&quot;st_h&quot;&gt;''&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; rep &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ls&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*/`&lt;/span&gt;; &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; mif &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;find&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$rep&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-iname&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;*.MIF&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;; &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;
                &lt;span class=&quot;co0&quot;&gt;#echo $i : $PWD : $rep : $(echo $(basename $mif) | cut -d&amp;quot;.&amp;quot; -f1) | tr '[A-Z]' '[a-z]'&lt;/span&gt;
                &lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; ogr2ogr &lt;span class=&quot;re1&quot;&gt;$option&lt;/span&gt; -a_srs &lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt;+&lt;span class=&quot;re2&quot;&gt;init&lt;/span&gt;=IGNF:LAMB93&lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; &lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt;ESRI Shapefile&lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt; SHP&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; $&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;basename&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$mif&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;cut&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[A-Z]'&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[a-z]'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.shp .&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$mif&lt;/span&gt;
                &lt;span class=&quot;co0&quot;&gt;#echo ogr2ogr $option -f \&amp;quot;PostgreSQL\&amp;quot; PG:\&amp;quot;host=localhost user=dba dbname=ign password=dbroot\&amp;quot; $PWD/$rep$mif -nln bdtopo.$(echo $mif | cut -d&amp;quot;.&amp;quot; -f1) | tr '[A-Z]' '[a-z]' &lt;/span&gt;
		&lt;span class=&quot;kw3&quot;&gt;eval&lt;/span&gt; ogr2ogr &lt;span class=&quot;re1&quot;&gt;$option&lt;/span&gt; -a_srs &lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt;+&lt;span class=&quot;re2&quot;&gt;init&lt;/span&gt;=IGNF:LAMB93&lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; &lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt;ESRI Shapefile&lt;span class=&quot;co3&quot;&gt;\&amp;quot;&lt;/span&gt; SHP&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; $&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;basename&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$mif&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;cut&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[A-Z]'&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[a-z]'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.shp .&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;re1&quot;&gt;$mif&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt;
	&lt;span class=&quot;kw3&quot;&gt;let&lt;/span&gt; $&lt;span class=&quot;br0&quot;&gt;&amp;#91;&lt;/span&gt; i+=&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span class=&quot;co0&quot;&gt;# incremente i de 1 a chaque boucle&lt;/span&gt;
	&lt;span class=&quot;re2&quot;&gt;option&lt;/span&gt;=&lt;span class=&quot;st_h&quot;&gt;'-update -append'&lt;/span&gt; &lt;span class=&quot;co0&quot;&gt;# après la première série de fichier, il faudra ajouter les nouvelles données aux fichiers shp déja existants.&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;integration_des_shp_a_la_base_de_donnees&quot; id=&quot;integration_des_shp_a_la_base_de_donnees&quot;&gt;Intégration des shp à la base de données&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;#!/bin/bash&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; shp &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;ls&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-R&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;.shp&lt;span class=&quot;sy0&quot;&gt;`&lt;/span&gt;; &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;
	&lt;span class=&quot;kw3&quot;&gt;eval&lt;/span&gt; shp2pgsql &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-W&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;latin1&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;310024140&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-g&lt;/span&gt; geometrie &lt;span class=&quot;re5&quot;&gt;-I&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-S&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$shp&lt;/span&gt; ign_bd_topo.$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; $&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;basename&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$shp&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;cut&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[A-Z]'&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[a-z]'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;..&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;SQL&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; $&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;basename&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$shp&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;cut&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[A-Z]'&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[a-z]'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.sql
	&lt;span class=&quot;kw3&quot;&gt;eval&lt;/span&gt; psql &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; ..&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;SQL&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; $&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw2&quot;&gt;basename&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$shp&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;cut&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;.&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f1&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tr&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[A-Z]'&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'[a-z]'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.sql &lt;span class=&quot;re5&quot;&gt;-h&lt;/span&gt; localhost &lt;span class=&quot;re5&quot;&gt;-U&lt;/span&gt; dba sicen &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt;..&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;erreurs.log
&lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT21 SECTION &quot;Intégration de la BDTOPO&quot; [7036-8600] --&gt;
&lt;h2 class=&quot;sectionedit22&quot;&gt;&lt;a name=&quot;fevrier_2009&quot; id=&quot;fevrier_2009&quot;&gt;février 2009&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;

Transformer les shapes en sql :
&lt;strong&gt;”“for /R %F IN (*.shp) DO shp2pgsql -s 27572 -g geometrie -I ”%F” ”%~nF”&amp;gt;“ign_bdcarto_%~nF.sql””“&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
Chargement dans la base de données :
&lt;strong&gt;”“for /R %F IN (*.sql) DO psql -f ”%F” -h addresse_ip_hote -U utilisateur base_de_donnée”“&lt;/strong&gt;
&lt;/p&gt;

&lt;p&gt;
- &lt;strong&gt;Données de la BD Parcellaire (Département du Gard)&lt;/strong&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT22 SECTION &quot;février 2009&quot; [8601-8957] --&gt;
&lt;h2 class=&quot;sectionedit23&quot;&gt;&lt;a name=&quot;octobre_2008&quot; id=&quot;octobre_2008&quot;&gt;octobre 2008&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT23 SECTION &quot;octobre 2008&quot; [8958-8980] --&gt;
&lt;h3 class=&quot;sectionedit24&quot;&gt;&lt;a name=&quot;integration_des_differentes_couches_de_la_bd_carthage&quot; id=&quot;integration_des_differentes_couches_de_la_bd_carthage&quot;&gt;intégration des différentes couches de la BD CARTHAGE&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;

La version mise à disposition sur le site du sandre introduit des accents dans le nommage des colonnes.
&lt;/p&gt;

&lt;p&gt;
Après téléchargement des couches (ici au format mif/mid, si shp alors passer à l&amp;#039;étape suivante), les transformer en shp à l&amp;#039;aide de la console (windows):

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;for /R %F IN (*.MIF) DO ogr2ogr -f &amp;quot;ESRI ShapeFile&amp;quot; -s_srs &amp;quot;EPSG:2154&amp;quot; -t_srs &amp;quot;EPSG:27582&amp;quot; &amp;quot;%~nF.shp&amp;quot; %F&lt;/pre&gt;

&lt;p&gt;
Transformer ces shapes en sql :

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;for /R %F IN (*.shp) DO shp2pgsql -s 27582 -S -g geometrie -I  &amp;quot;%F&amp;quot;  &amp;quot;ign_bdc_%~nF&amp;quot;&amp;gt;&amp;quot;prefixe_%~nF_suffixe.sql&amp;quot;&lt;/pre&gt;

&lt;p&gt;
Les charger dans la base de données :

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;for /R %F IN (*.sql) DO psql -f &amp;quot;%F&amp;quot; -h addresse_ip_hote -U utilisateur base_de_donnée&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT24 SECTION &quot;intégration des différentes couches de la BD CARTHAGE&quot; [8981-] --&gt;</description>
        <category>integration_donnees:externes</category>
            <pubDate>Wed, 30 Jan 2013 18:47:00 +0200</pubDate>
        </item>
        <item>
            <title>integration_donnees:externes:inpn</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/inpn</link>
            <description>
&lt;h1 class=&quot;sectionedit25&quot;&gt;&lt;a name=&quot;integration_des_referentiels_de_l_inpn&quot; id=&quot;integration_des_referentiels_de_l_inpn&quot;&gt;Intégration des référentiels de l&amp;#039;INPN&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;http://inpn.mnhn.fr&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr&quot;  rel=&quot;nofollow&quot;&gt;site de l&amp;#039;INPN&lt;/a&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT25 SECTION &quot;Intégration des référentiels de l'INPN&quot; [1-95] --&gt;
&lt;h2 class=&quot;sectionedit26&quot;&gt;&lt;a name=&quot;referentiels_habitat&quot; id=&quot;referentiels_habitat&quot;&gt;Référentiels habitat&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
L&amp;#039;INPN a mis en ligne récemment les &lt;a href=&quot;http://inpn.mnhn.fr/isb/download/fr/refHabitats.jsp&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/isb/download/fr/refHabitats.jsp&quot;  rel=&quot;nofollow&quot;&gt;référentiels habitats au format excel&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Le travail consiste maintenant a intégrer ces référentiels à la base de données, en utilisant les commentaires de table et de colonne pour stocker les métadonnées fournies avec le référentiel (2 premières feuilles de calcul du fichier).
&lt;/p&gt;

&lt;p&gt;
Les étapes de son intégration à la bdd sont :
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; la création de la table&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; la création des commentaires sur la table et sur les colonne&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; l&amp;#039;intégration des données&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; la création des contraintes&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;

Le &lt;a href=&quot;http://inpn.mnhn.fr/docs/ref_habitats/TYPO_NATURA2000.xls&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/docs/ref_habitats/TYPO_NATURA2000.xls&quot;  rel=&quot;nofollow&quot;&gt;premier fichier&lt;/a&gt; intégré concerne la &lt;a href=&quot;http://inpn.mnhn.fr/isb/download/fr/refHabitats.jsp#natura&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/isb/download/fr/refHabitats.jsp#natura&quot;  rel=&quot;nofollow&quot;&gt;typologie NATURA 2000&lt;/a&gt;
Le fichier sql correspondant est disponible &lt;a href=&quot;http://sig.cenlr.org/integration_donnees/externes/inpn/typo_natura2000&quot; class=&quot;wikilink1&quot; title=&quot;integration_donnees:externes:inpn:typo_natura2000&quot;&gt;ici&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Le &lt;a href=&quot;http://inpn.mnhn.fr/docs/ref_habitats/TYPO_NATURA2000.xls&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/docs/ref_habitats/TYPO_NATURA2000.xls&quot;  rel=&quot;nofollow&quot;&gt;second fichier&lt;/a&gt; intégré concerne la &lt;a href=&quot;http://inpn.mnhn.fr/isb/download/fr/refHabitats.jsp#corine&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/isb/download/fr/refHabitats.jsp#corine&quot;  rel=&quot;nofollow&quot;&gt;typologie corine biotopes&lt;/a&gt;
Le fichier sql correspondant est disponible &lt;a href=&quot;http://sig.cenlr.org/integration_donnees/externes/inpn/typo_corine&quot; class=&quot;wikilink1&quot; title=&quot;integration_donnees:externes:inpn:typo_corine&quot;&gt;ici&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT26 SECTION &quot;Référentiels habitat&quot; [96-1304] --&gt;
&lt;h2 class=&quot;sectionedit27&quot;&gt;&lt;a name=&quot;referentiels_taxonomiques&quot; id=&quot;referentiels_taxonomiques&quot;&gt;Référentiels taxonomiques&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
La version 4 du référentiel taxonomique de l&amp;#039;INPN a été mise à disposition jour en octobre 2011.
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; page de téléchargement de l&amp;#039;INPN : &lt;a href=&quot;http://inpn.mnhn.fr/telechargement/referentielEspece&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/telechargement/referentielEspece&quot;  rel=&quot;nofollow&quot;&gt;http://inpn.mnhn.fr/telechargement/referentielEspece&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;box round green left&quot; style=&quot;width: 100%; &quot;&gt;
  &lt;b class='xtop'&gt;&lt;b class='xb1'&gt;&lt;/b&gt;&lt;b class='xb2'&gt;&lt;/b&gt;&lt;b class='xb3'&gt;&lt;/b&gt;&lt;b class='xb4'&gt;&lt;/b&gt;&lt;/b&gt;
  &lt;div class='xbox'&gt;
&lt;p class='box_title'&gt; conditions de mise à disposition&lt;/p&gt;
&lt;div class='box_content'&gt;&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; aucune copie du référentiel TAXREF de sera faite et transmise à un tiers sans que celui-ci n&amp;#039;ait rempli le présent formulaire ;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; le référentiel TAXREF, ou une de ses composantes telles que décrites dans le document de citation des sources, sera cité dans toute publication ou présentation qui l&amp;#039;utilisera ;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; aucune partie du référentiel TAXREF ne sera mise à disposition en ligne sans autorisation préalable du SPN/MNHN ;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; en cas de découverte d&amp;#039;erreurs il est prié de bien vouloir en informer les éditeurs de façon à constamment accroitre la qualité du référentiel. &lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;b class='xbottom'&gt;&lt;b class='xb4'&gt;&lt;/b&gt;&lt;b class='xb3'&gt;&lt;/b&gt;&lt;b class='xb2'&gt;&lt;/b&gt;&lt;b class='xb1'&gt;&lt;/b&gt;&lt;/b&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;!-- EDIT27 SECTION &quot;Référentiels taxonomiques&quot; [1305-2214] --&gt;
&lt;h3 class=&quot;sectionedit28&quot;&gt;&lt;a name=&quot;decompression_de_l_archive_dans_le_dossier_taxref&quot; id=&quot;decompression_de_l_archive_dans_le_dossier_taxref&quot;&gt;Décompression de l&amp;#039;archive dans le dossier taxref&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
Placer les 3 fichiers ci dessous (2 à télécharger et 1 à créer) dans ce répertoire.
Ce répertoire contiendra donc à terme les fichiers suivants :

&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=0&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=0&quot;  rel=&quot;nofollow&quot;&gt;1_creation_table.sql&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; 2_insertion_donnees_inpn.sql (fichier créé par le script taxref.sh à partir de TAXREFv4.0.txt)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=1&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=1&quot;  rel=&quot;nofollow&quot;&gt;3_creation_contraintes.sql&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=2&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=2&quot;  rel=&quot;nofollow&quot;&gt;taxref.sh&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; TAXREFv4.0.txt (téléchargé sur le site de l&amp;#039;INPN)&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;!-- EDIT28 SECTION &quot;Décompression de l'archive dans le dossier taxref&quot; [2215-2913] --&gt;
&lt;h3 class=&quot;sectionedit29&quot;&gt;&lt;a name=&quot;creation_de_la_table_dans_le_schema_inpn&quot; id=&quot;creation_de_la_table_dans_le_schema_inpn&quot;&gt;Création de la table dans le schema inpn&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=0&quot; title=&quot;Télécharger un extrait&quot; class=&quot;mediafile mf_sql&quot;&gt;1_creation_table.sql&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;IF&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;EXISTS&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref
&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
  regne character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  phylum character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  classe character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  ordre character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  famille character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  cd_nom character varying &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  cd_taxsup character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  cd_ref character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  rang character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  lb_nom character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  lb_auteur character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  nom_complet character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  nom_vern character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  nom_vern_eng character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  habitat character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  fr character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  gf character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  mar character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  gua character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  sm character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  sb character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  spm character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  may character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  epa character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  reu character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  taaf character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  pf character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  nc character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  wf character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  cli character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  aphia_id character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  CONSTRAINT fk_cd_ref_est_cd_nom &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_ref&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_nom&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; MATCH SIMPLE
      &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;UPDATE&lt;/span&gt; NO ACTION &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;DELETE&lt;/span&gt; NO ACTION
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;REGNE &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Règne auquel le taxon appartient (champ calculé à partir du CD_TAXSUP)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;PHYLUM &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Embranchement auquel le taxon appartient (champ calculé à partir du CD_TAXSUP)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;CLASSE &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Classe à laquelle le taxon appartient (champ calculé à partir du CD_TAXSUP)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;ORDRE &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Ordre auquel le taxon appartient (champ calculé à partir du CD_TAXSUP)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;FAMILLE &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Famille à laquelle le taxon appartient (champ calculé à partir du CD_TAXSUP)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;CD_NOM &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Identifiant unique du nom scientifique'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;CD_TAXSUP &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Identifiant (CD_NOM) du taxon supérieur'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;CD_REF &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Identifiant (CD_NOM) du taxon de référence (nom retenu)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;RANG &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Rang taxonomique (lien vers TAXREF_RANG)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;LB_NOM &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Nom scientifique du taxon (sans l’autorité)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;LB_AUTEUR  &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Autorité du taxon (Auteur, année, gestion des parenthèses)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;NOM_COMPLET &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Combinaison des champs pour donner le nom complet (~LB_NOM+&amp;quot; &amp;quot;+LB_AUTEUR)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;NOM_VERN &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Noms vernaculaires français'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;NOM_VERN_ENG &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Noms vernaculaires anglais'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;HABITAT &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Code de l'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'habitat (lien vers TAXREF_HABITATS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;FR &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique en France métropolitaine (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;GF &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique en Guyane (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;MAR &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique en Martinique (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;GUA &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique en Guadeloupe (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;SM &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique à Saint-Martin (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;SB &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique à Saint-Barthélémy (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;SPM &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique à Saint-Pierre et Miquelon (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;MAY &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique à Mayotte (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;EPA &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique aux Iles Eparses (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;REU &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique à la Réunion (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;TAAF &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique aux TAAF (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;PF &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique en Polynésie française (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;NC &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique en Nouvelle-Calédonie (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;WF &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique à Wallis et Futuna (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;CLI &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Statut biogéographique à Clipperton (lien vers TAXREF_STATUTS)'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;APHIA_ID &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Identifiant unique de World Register of Marine Species (WoRMS)'&lt;/span&gt;;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;/div&gt;
&lt;!-- EDIT29 SECTION &quot;Création de la table dans le schema inpn&quot; [2914-7316] --&gt;
&lt;h3 class=&quot;sectionedit30&quot;&gt;&lt;a name=&quot;ajout_de_la_contrainte_d_integrite_referentielle_entre_cd_taxsup_et_cd_nom_creation_des_index&quot; id=&quot;ajout_de_la_contrainte_d_integrite_referentielle_entre_cd_taxsup_et_cd_nom_creation_des_index&quot;&gt;Ajout de la contrainte d&amp;#039;intégrité référentielle entre cd_taxsup et cd_nom, Création des index&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; nécessite le remplacement par null des valeurs &amp;#039;0&amp;#039;, concerne les règnes :&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=1&quot; title=&quot;Télécharger un extrait&quot; class=&quot;mediafile mf_sql&quot;&gt;3_creation_contraintes.sql&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;UPDATE&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;SET&lt;/span&gt; cd_taxsup&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; cd_taxsup&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'0'&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;temp&amp;quot;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;regne&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cd_nom&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cd_taxsup&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; cd_ref&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'vivant'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;349525&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;349525&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;349525&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref 
  &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT fk_cd_taxsup_est_cd_nom &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_taxsup&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_nom&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; DEFERRABLE INITIALLY DEFERRED;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; cd_ref_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_ref&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; classe_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;classe&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; famille_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;famille&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; lb_nom_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;lb_nom&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; nom_complet_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;nom_complet&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; ordre_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;ordre&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; phylum_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;phylum&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INDEX&lt;/span&gt; regne_ind &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; temp&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;USING&lt;/span&gt; btree &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;regne&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;/div&gt;
&lt;!-- EDIT30 SECTION &quot;Ajout de la contrainte d'intégrité référentielle entre cd_taxsup et cd_nom, Création des index&quot; [7317-8367] --&gt;
&lt;h3 class=&quot;sectionedit31&quot;&gt;&lt;a name=&quot;creation_du_script_sql_d_insertion&quot; id=&quot;creation_du_script_sql_d_insertion&quot;&gt;Création du script sql d&amp;#039;insertion&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;dl class=&quot;file&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;http://sig.cenlr.org/_export/code/integration_donnees/externes/inpn?codeblock=2&quot; title=&quot;Télécharger un extrait&quot; class=&quot;mediafile mf_sh&quot;&gt;taxref.sh&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code file bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;## On supprime du fichier les balises html&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s/&amp;lt;i&amp;gt;//g&amp;quot;&lt;/span&gt; TAXREFv4.0.txt &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREFv4.0_.txt &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREFv4.0_.txt TAXREFv4.0.txt 
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s/&amp;lt;\/i&amp;gt;//g&amp;quot;&lt;/span&gt; TAXREFv4.0.txt &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREFv4.0_.txt &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREFv4.0_.txt TAXREFv4.0.txt
&lt;span class=&quot;co0&quot;&gt;## On supprime la première ligne du fichier (nom des colonnes)&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;'/REGNE/d'&lt;/span&gt; TAXREFv4.0.txt &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREF_INPN_sp.sql &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREF_INPN_sp.sql TAXREFv4.0.sql
&lt;span class=&quot;co0&quot;&gt;## on vérifie que la ligne d'en-tête n'existe plus&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;head&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-n&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt; TAXREFv4.0.sql
&lt;span class=&quot;co0&quot;&gt;## on échape les simples quote (apostrophe)&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s/'/''/g&amp;quot;&lt;/span&gt; TAXREFv4.0.sql &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREF_INPN_sp.sql &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREF_INPN_sp.sql TAXREFv4.0.sql
&lt;span class=&quot;co0&quot;&gt;## on vérifie qu'elles ont été échapées&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;grep&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-i&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;\w'\w&amp;quot;&lt;/span&gt; TAXREFv4.0.sql
&lt;span class=&quot;co0&quot;&gt;## on remplace les tabulations (délimiteurs) par ','cartactères)&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;## erreur ! vire la colonne cli!!!&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s/&lt;span class=&quot;es1&quot;&gt;\t&lt;/span&gt;/\',\'/g&amp;quot;&lt;/span&gt; TAXREFv4.0.sql &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREF_INPN_sp.sql &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREF_INPN_sp.sql TAXREFv4.0.sql
&lt;span class=&quot;co0&quot;&gt;## on crée le début de la commande sql&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s/^/INSERT INTO temp.taxref VALUES ('/&amp;quot;&lt;/span&gt; TAXREFv4.0.sql &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREF_INPN_sp.sql &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREF_INPN_sp.sql TAXREFv4.0.sql
&lt;span class=&quot;co0&quot;&gt;## on crée la fin de la commande sql&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s/&lt;span class=&quot;es1&quot;&gt;\r&lt;/span&gt;/');/&amp;quot;&lt;/span&gt; TAXREFv4.0.sql &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREF_INPN_sp.sql &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREF_INPN_sp.sql TAXREFv4.0.sql
&lt;span class=&quot;co0&quot;&gt;##on remplace les chaines vides '' par la valeur null&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;s/''/null/g&amp;quot;&lt;/span&gt; TAXREFv4.0.sql &lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; TAXREF_INPN_sp.sql &lt;span class=&quot;sy0&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREF_INPN_sp.sql TAXREFv4.0.sql
&amp;nbsp;
&lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; TAXREFv4.0.sql &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;_insertion_donnees_inpn.sql
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Exécution des 3 scripts sur la base de données&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# adapter la commande avec vos paramètres de connexion&lt;/span&gt;
psql &lt;span class=&quot;re5&quot;&gt;-h&lt;/span&gt; 192.168.1.230 &lt;span class=&quot;re5&quot;&gt;-U&lt;/span&gt; dba &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; sicen &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;_creation_table.sql
psql &lt;span class=&quot;re5&quot;&gt;-h&lt;/span&gt; 192.168.1.230 &lt;span class=&quot;re5&quot;&gt;-U&lt;/span&gt; dba &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; sicen &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;_insertion_donnees_inpn.sql
psql &lt;span class=&quot;re5&quot;&gt;-h&lt;/span&gt; 192.168.1.230 &lt;span class=&quot;re5&quot;&gt;-U&lt;/span&gt; dba &lt;span class=&quot;re5&quot;&gt;-d&lt;/span&gt; sicen &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;_creation_contraines.sql&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;/div&gt;
&lt;!-- EDIT31 SECTION &quot;Création du script sql d'insertion&quot; [8368-10106] --&gt;
&lt;h2 class=&quot;sectionedit32&quot;&gt;&lt;a name=&quot;statut_des_especes&quot; id=&quot;statut_des_especes&quot;&gt;Statut des espèces&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Intégration du fichier TAXREF_INPN_STATUTS.txt
&lt;/p&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
statut character&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
description character varying&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Abrégé tel qu'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'il apparaît dans le référentiel pour les champs ci-dessus'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;description &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Libellé du statut d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'indigénat'&lt;/span&gt;;
COMMENT &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;'Permet d'&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'interpréter les champ FR, REU, GUA, SMSB, MAR, GF, MAY, TAAF et SPM du référentiel.'&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'A'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Absente'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'B'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Accidentelle / Visiteuse'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'C'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Cryptogène'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'D'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Douteux'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'E'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Endémique'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'F'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Trouvé en fouille'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'I'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Introduite'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'J'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Introduite envahissante'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'M'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Domestique / Introduite non établie'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'P'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Présente'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'S'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Subendémique'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'W'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Disparue'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'X'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Eteinte'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Y'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Introduite éteinte'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;kw1&quot;&gt;VALUES&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Z'&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;'Endémique éteinte'&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT fk_fr_est_statut &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fr&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;statut &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;statut&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT32 SECTION &quot;Statut des espèces&quot; [10107-11563] --&gt;
&lt;h2 class=&quot;sectionedit33&quot;&gt;&lt;a name=&quot;especes_faisant_l_objet_d_une_reglementation&quot; id=&quot;especes_faisant_l_objet_d_une_reglementation&quot;&gt;Espèces faisant l&amp;#039;objet d&amp;#039;une réglementation&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;http://inpn.mnhn.fr/isb/download/fr/refEspecesReglem.jsp&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/isb/download/fr/refEspecesReglem.jsp&quot;  rel=&quot;nofollow&quot;&gt;Page de mise à disposition de ces référentiel sur le site de l&amp;#039;INPN&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://inpn.mnhn.fr/isb/servlet/ISBServlet?action=Protection&amp;amp;typeAction=1&amp;amp;pageReturn=ref_ProtectionsType.jsp&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/isb/servlet/ISBServlet?action=Protection&amp;amp;typeAction=1&amp;amp;pageReturn=ref_ProtectionsType.jsp&quot;  rel=&quot;nofollow&quot;&gt;les différentes réglementations&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Le fichier sql correspondant est disponible &lt;a href=&quot;http://sig.cenlr.org/integration_donnees/externes/inpn/reglementation&quot; class=&quot;wikilink1&quot; title=&quot;integration_donnees:externes:inpn:reglementation&quot;&gt;ici&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;http://inpn.mnhn.fr/isb/servlet/ISBServlet?action=Espece&amp;amp;typeAction=9&amp;amp;pageReturn=ref_ProtectionsEspeces.jsp&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/isb/servlet/ISBServlet?action=Espece&amp;amp;typeAction=9&amp;amp;pageReturn=ref_ProtectionsEspeces.jsp&quot;  rel=&quot;nofollow&quot;&gt;les espèces protégées&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
Le fichier sql correspondant est disponible &lt;a href=&quot;http://sig.cenlr.org/_media/integration_donnees/externes/protections_especes.7z&quot; class=&quot;media mediafile mf_7z&quot; title=&quot;integration_donnees:externes:protections_especes.7z&quot;&gt;ici&lt;/a&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT33 SECTION &quot;Espèces faisant l'objet d'une réglementation&quot; [11564-12253] --&gt;
&lt;h2 class=&quot;sectionedit34&quot;&gt;&lt;a name=&quot;liste_des_especes_pour_natura_2000_412_especes&quot; id=&quot;liste_des_especes_pour_natura_2000_412_especes&quot;&gt;Liste des espèces pour Natura 2000 (412 espèces)&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;box round red&quot; style=&quot;width: 100%; &quot;&gt;
  &lt;b class='xtop'&gt;&lt;b class='xb1'&gt;&lt;/b&gt;&lt;b class='xb2'&gt;&lt;/b&gt;&lt;b class='xb3'&gt;&lt;/b&gt;&lt;b class='xb4'&gt;&lt;/b&gt;&lt;/b&gt;
  &lt;div class='xbox'&gt;
&lt;div class='box_content'&gt;L&amp;#039;inpn mentionne 413 espèces &lt;a href=&quot;http://inpn.mnhn.fr/isb/servlet/NaturaServlet?action=Espece&amp;amp;typeAction=3&amp;amp;pageReturn=listEspeces.jsp&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://inpn.mnhn.fr/isb/servlet/NaturaServlet?action=Espece&amp;amp;typeAction=3&amp;amp;pageReturn=listEspeces.jsp&quot;  rel=&quot;nofollow&quot;&gt;sur la page correspondante&lt;/a&gt; mais le Grand cormoran (cd_nom=2440) est mentionné 2 fois&lt;/div&gt;
  &lt;/div&gt;
  &lt;b class='xbottom'&gt;&lt;b class='xb4'&gt;&lt;/b&gt;&lt;b class='xb3'&gt;&lt;/b&gt;&lt;b class='xb2'&gt;&lt;/b&gt;&lt;b class='xb1'&gt;&lt;/b&gt;&lt;/b&gt;
&lt;/div&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxons_natura_2000
&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
  cd_ref character varying &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  annexe character varying&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  CONSTRAINT pk_taxons_nature2000 &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_ref&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  CONSTRAINT fk_cd_ref_est_dans_taxref &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_ref&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
      &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; inpn&lt;span class=&quot;sy0&quot;&gt;.&lt;/span&gt;taxref &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;cd_nom&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; MATCH SIMPLE
      &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;UPDATE&lt;/span&gt; NO ACTION &lt;span class=&quot;kw1&quot;&gt;ON&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;DELETE&lt;/span&gt; NO ACTION
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt;

&lt;p&gt;

Le fichier sql correspondant (avec les données) est disponible &lt;a href=&quot;http://sig.cenlr.org/integration_donnees/externes/inpn/listes_especes_natura2000&quot; class=&quot;wikilink1&quot; title=&quot;integration_donnees:externes:inpn:listes_especes_natura2000&quot;&gt;ici&lt;/a&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT34 SECTION &quot;Liste des espèces pour Natura 2000 (412 espèces)&quot; [12254-] --&gt;</description>
        <category>integration_donnees:externes</category>
            <pubDate>Fri, 14 Oct 2011 14:56:55 +0200</pubDate>
        </item>
        <item>
            <title>integration_donnees:externes:siglr</title>
            <link>http://sig.cenlr.org/integration_donnees/externes/siglr</link>
            <description>
&lt;h2 class=&quot;sectionedit35&quot;&gt;&lt;a name=&quot;integration_de_la_base_de_donnees_d_occupation_du_sol_du_languedoc-roussillon_de_siglr&quot; id=&quot;integration_de_la_base_de_donnees_d_occupation_du_sol_du_languedoc-roussillon_de_siglr&quot;&gt;Intégration de la base de données d&amp;#039;occupation du sol du Languedoc-Roussillon de SIGLR&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;procedure_adaptez_les_noms_de_fichiers_a_votre_cas&quot; id=&quot;procedure_adaptez_les_noms_de_fichiers_a_votre_cas&quot;&gt;Procédure (adaptez les noms de fichiers à votre cas)&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Télécharger de l&amp;#039;archive qui nous intéresse sur la page : &lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
&lt;a href=&quot;http://ocsol.siglr.net/index.php?option=com_docman&amp;amp;task=cat_view&amp;amp;gid=14&amp;amp;Itemid=5&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://ocsol.siglr.net/index.php?option=com_docman&amp;amp;task=cat_view&amp;amp;gid=14&amp;amp;Itemid=5&quot;  rel=&quot;nofollow&quot;&gt;http://ocsol.siglr.net/index.php?option=com_docman&amp;amp;task=cat_view&amp;amp;gid=14&amp;amp;Itemid=5&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Transformer le shp obtenu aprés décompression de l&amp;#039;archive :&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code&quot;&gt;shp2pgsql -s 27572 -g geometrie -I V0_OCSOL_LR_POLY_2006_L2E_SHP_NOBD.shp occsol_2006&amp;gt;occsol_2006.sql&lt;/pre&gt;

&lt;p&gt;

puis

&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;psql -f occsol_2006.sql -h addresse_ip_hote -U utilisateur nom_base_de_donnée&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; On peut maintenant supprimer la redondance et les attributs “inutiles” :&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; poste_occsol
&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;
  id_poste character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NOT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  libelle character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;
  description text
&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; poste_occsol &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT libelle_occsol_pkey &lt;span class=&quot;kw1&quot;&gt;PRIMARY&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;id_poste&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;INSERT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;INTO&lt;/span&gt; poste_occsol &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;DISTINCT&lt;/span&gt; cde_06&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; intit_06&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;NULL&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; occsol_2006&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&amp;nbsp;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; bd06_;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; bd06_id;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; niv1_06;	&lt;span class=&quot;coMULTI&quot;&gt;/* la fonction substring(cde_06 FROM 1 FOR 1) fera l'affaire */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; niv2_06;	&lt;span class=&quot;coMULTI&quot;&gt;/* la fonction substring(cde_06 FROM 2 FOR 1) fera l'affaire */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; niv3_06;	&lt;span class=&quot;coMULTI&quot;&gt;/* la fonction substring(cde_06 FROM 3 FOR 1) fera l'affaire */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; intit_06;	&lt;span class=&quot;coMULTI&quot;&gt;/* on utilisera une jointure sur la table poste_ocsol */&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;DROP&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; int_06;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;RENAME&lt;/span&gt; gid &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; id_entite_occsol;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;COLUMN&lt;/span&gt; cde_06 TYPE character varying&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;RENAME&lt;/span&gt; cde_06 &lt;span class=&quot;kw1&quot;&gt;TO&lt;/span&gt; id_poste;
&lt;span class=&quot;kw1&quot;&gt;ALTER&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;TABLE&lt;/span&gt; occsol_2006 &lt;span class=&quot;kw1&quot;&gt;ADD&lt;/span&gt; CONSTRAINT fk_id_poste_est_occsol &lt;span class=&quot;kw1&quot;&gt;FOREIGN&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;KEY&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;id_poste&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;REFERENCES&lt;/span&gt; poste_occsol&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;id_poste&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;/pre&gt;

&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;resolution_des_problemes_d_integration_de_la_base_d_occupation_du_sol&quot; id=&quot;resolution_des_problemes_d_integration_de_la_base_d_occupation_du_sol&quot;&gt;Résolution des problèmes d&amp;#039;intégration de la base d&amp;#039;occupation du sol&lt;/a&gt;&lt;/h4&gt;
&lt;div class=&quot;level4&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;http://trac.osgeo.org/postgis/wiki/UsersWikiCleanPolygons&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://trac.osgeo.org/postgis/wiki/UsersWikiCleanPolygons&quot;  rel=&quot;nofollow&quot;&gt;Utilisation de la fonction CleanPolygons&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
Les données, valides sous mapinfo sont transformées par shp2pgsql. Lors de leur insertion dans la base postgis, un 
&lt;/p&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;SELECT&lt;/span&gt; count&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;FROM&lt;/span&gt; occsol &lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; isvalid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; false;&lt;/pre&gt;

&lt;p&gt;

retourne le résultat 983!!!
&lt;/p&gt;

&lt;p&gt;
Ce qui présage des erreurs lors de l&amp;#039;exécution de requêtes géographiques.
Une première tentative de correction avec la requête suivante :
&lt;/p&gt;
&lt;pre class=&quot;code sql&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;UPDATE&lt;/span&gt; occsol &lt;span class=&quot;kw1&quot;&gt;SET&lt;/span&gt; geometrie&lt;span class=&quot;sy0&quot;&gt;=&lt;/span&gt;buffer&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geometrie&lt;span class=&quot;sy0&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;WHERE&lt;/span&gt; isvalid&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;IS&lt;/span&gt; false;&lt;/pre&gt;

&lt;p&gt;

nous permet d&amp;#039;avoir 0 comme résultat à la requête précédente.
&lt;/p&gt;

&lt;p&gt;
Cependant, une première requête spatiale calculant la part de chaque poste d&amp;#039;occupation du sol de différents périmètres retourne une surface totale supérieure à la surface de l&amp;#039;aire d&amp;#039;étude.
&lt;/p&gt;

&lt;p&gt;
Les géométries sont corrigées mais la couche contient des objets superposés!
&lt;/p&gt;

&lt;p&gt;
Le wiki de &lt;a href=&quot;http://www.postgis.org&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://www.postgis.org&quot;  rel=&quot;nofollow&quot;&gt;PostGIS&lt;/a&gt; et particulièrement cette page nous apportent la solution :
&lt;a href=&quot;http://trac.osgeo.org/postgis/wiki/UsersWikiCleanPolygons&quot; class=&quot;urlextern&quot; target=&quot;_blank&quot; title=&quot;http://trac.osgeo.org/postgis/wiki/UsersWikiCleanPolygons&quot;  rel=&quot;nofollow&quot;&gt;http://trac.osgeo.org/postgis/wiki/UsersWikiCleanPolygons&lt;/a&gt;

&lt;/p&gt;

&lt;/div&gt;
</description>
        <category>integration_donnees:externes</category>
            <pubDate>Tue, 07 Jun 2011 16:40:41 +0200</pubDate>
        </item>
    </channel>
</rss>
