<?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 outils:ogr2ogr:cas_d_utilisation</title>
        <description></description>
        <link>http://sig.cenlr.org/</link>
        <lastBuildDate>Thu, 09 Apr 2026 17:14:52 +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>outils:ogr2ogr:cas_d_utilisation:qgis_action_export_ogr2ogr</title>
            <link>http://sig.cenlr.org/outils/ogr2ogr/cas_d_utilisation/qgis_action_export_ogr2ogr</link>
            <description>&lt;div class=&quot;tags&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;http://sig.cenlr.org/tag/qgis?do=showtag&amp;amp;tag=QGis&quot; class=&quot;wikilink1&quot; title=&quot;tag:qgis&quot; rel=&quot;tag&quot;&gt;QGis&lt;/a&gt;,
	&lt;a href=&quot;http://sig.cenlr.org/tag/action?do=showtag&amp;amp;tag=action&quot; class=&quot;wikilink1&quot; title=&quot;tag:action&quot; rel=&quot;tag&quot;&gt;action&lt;/a&gt;,
	&lt;a href=&quot;http://sig.cenlr.org/tag/ogr2ogr?do=showtag&amp;amp;tag=ogr2ogr&quot; class=&quot;wikilink1&quot; title=&quot;tag:ogr2ogr&quot; rel=&quot;tag&quot;&gt;ogr2ogr&lt;/a&gt;,
	&lt;a href=&quot;http://sig.cenlr.org/tag/postgis?do=showtag&amp;amp;tag=PostGIS&quot; class=&quot;wikilink1&quot; title=&quot;tag:postgis&quot; rel=&quot;tag&quot;&gt;PostGIS&lt;/a&gt;,
	&lt;a href=&quot;http://sig.cenlr.org/tag/batch?do=showtag&amp;amp;tag=batch&quot; class=&quot;wikilink1&quot; title=&quot;tag:batch&quot; rel=&quot;tag&quot;&gt;batch&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;h1 class=&quot;sectionedit1&quot;&gt;&lt;a name=&quot;exporter_les_donnees_d_une_zone_definie_dans_la_base_avec_qgis&quot; id=&quot;exporter_les_donnees_d_une_zone_definie_dans_la_base_avec_qgis&quot;&gt;Exporter les données d&amp;#039;une zone définie dans la base avec QGis&lt;/a&gt;&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT1 SECTION &quot;Exporter les données d'une zone définie dans la base avec QGis&quot; [43-121] --&gt;
&lt;h2 class=&quot;sectionedit2&quot;&gt;&lt;a name=&quot;question&quot; id=&quot;question&quot;&gt;Question&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Comment exporter facilement et régulièrement les données produites sur des périmètres environnementaux connus ?

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT2 SECTION &quot;Question&quot; [122-259] --&gt;
&lt;h2 class=&quot;sectionedit3&quot;&gt;&lt;a name=&quot;postulat&quot; id=&quot;postulat&quot;&gt;Postulat&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; mes périmètres sont dans la table export.zone_export_donnee&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; mes données dans les tables tous_xxx_xxx_selon_format_esri&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; je veux mettre les données exportées sur mon disque G, dans un répertoire correspondant à la structure&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;code dos&quot;&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://www.ss64.com/nt/mkdir.html&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;MKDIR&lt;/span&gt;&lt;/a&gt; &amp;quot;G:\SICEN\EXPORTS&amp;quot;\&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;1&lt;/span&gt;\sicen_&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;3&lt;/span&gt;
G:
&lt;a target=&quot;_blank&quot; href=&quot;http://www.ss64.com/nt/cd.html&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;CD&lt;/span&gt;&lt;/a&gt; &amp;quot;G:\SICEN\EXPORTS&amp;quot;\&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;1&lt;/span&gt;\sicen_&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;3&lt;/span&gt;
pgsql2shp -f sicen_point_espece.shp -h 192.168.1.230 -u dba -g geometrie sicen &amp;quot;SELECT export.tous_point_espece_selon_format_esri.*, classe, ordre, famille FROM export.tous_point_espece_selon_format_esri JOIN inpn.taxref ON export.tous_point_espece_selon_format_esri.cd_ref=cd_nom, export.zone_export_donnee WHERE st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;export.tous_point_espece_selon_format_esri.geometrie, export.zone_export_donnee.geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; AND id_zone='&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;2&lt;/span&gt;';&amp;quot;
pgsql2shp -f sicen_perimetre_espece.shp -h 192.168.1.230 -u dba -g geometrie sicen &amp;quot;SELECT export.tous_perimetre_espece_selon_format_esri.*, classe, ordre, famille FROM export.tous_perimetre_espece_selon_format_esri JOIN inpn.taxref ON export.tous_perimetre_espece_selon_format_esri.cd_ref=cd_nom, export.zone_export_donnee WHERE st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;export.tous_perimetre_espece_selon_format_esri.geometrie, export.zone_export_donnee.geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; AND id_zone='&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;2&lt;/span&gt;';&amp;quot;
pgsql2shp -f sicen_point_habitat.shp -h 192.168.1.230 -u dba -g geometrie sicen &amp;quot;SELECT export.tous_point_habitat_selon_format_esri.* FROM export.tous_point_habitat_selon_format_esri, export.zone_export_donnee WHERE st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;export.tous_point_habitat_selon_format_esri.geometrie, export.zone_export_donnee.geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; AND id_zone='&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;2&lt;/span&gt;';&amp;quot;
pgsql2shp -f sicen_perimetre_habitat.shp -h 192.168.1.230 -u dba -g geometrie sicen &amp;quot;SELECT export.tous_perimetre_habitat_selon_format_esri.* FROM export.tous_perimetre_habitat_selon_format_esri, export.zone_export_donnee WHERE st_intersects&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;export.tous_perimetre_habitat_selon_format_esri.geometrie, export.zone_export_donnee.geometrie&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; AND id_zone='&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;2&lt;/span&gt;';&amp;quot;
&lt;a target=&quot;_blank&quot; href=&quot;http://www.ss64.com/nt/dir.html&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;DIR&lt;/span&gt;&lt;/a&gt; &amp;quot;G:\SICEN\EXPORTS&amp;quot;\&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;1&lt;/span&gt;\sicen_&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;3&lt;/span&gt;
explorer &amp;quot;G:\SICEN\EXPORTS&amp;quot;\&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;1&lt;/span&gt;\sicen_&lt;span class=&quot;sy0&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;re2&quot;&gt;3&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT3 SECTION &quot;Postulat&quot; [260-2284] --&gt;
&lt;h2 class=&quot;sectionedit4&quot;&gt;&lt;a name=&quot;utilisation&quot; id=&quot;utilisation&quot;&gt;utilisation&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code dos&quot;&gt;nom_de_la_commande.bat nom_de_la_structure id_zone &lt;span class=&quot;nu0&quot;&gt;2011&lt;/span&gt;_08_25&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT4 SECTION &quot;utilisation&quot; [2285-2386] --&gt;
&lt;h2 class=&quot;sectionedit5&quot;&gt;&lt;a name=&quot;utilisation_comme_commande_action_avec_qgis&quot; id=&quot;utilisation_comme_commande_action_avec_qgis&quot;&gt;Utilisation comme commande (action) avec QGis&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
La table export.zone_export_donnee est modifiable qans QGis.
Je renseigne une nouvelle zone (par exemple une demande d&amp;#039;un bureau d&amp;#039;étude).
Je clique sur l&amp;#039;action… et hop! 

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT5 SECTION &quot;Utilisation comme commande (action) avec QGis&quot; [2387-2619] --&gt;
&lt;h3 class=&quot;sectionedit6&quot;&gt;&lt;a name=&quot;definition_de_l_action&quot; id=&quot;definition_de_l_action&quot;&gt;Définition de l&amp;#039;action&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;http://sig.cenlr.org/_detail/outils/qgis/qgis_definition_action.png?id=outils%3Aogr2ogr%3Acas_d_utilisation%3Aqgis_action_export_ogr2ogr&quot; class=&quot;media&quot; title=&quot;outils:qgis:qgis_definition_action.png&quot;&gt;&lt;img src=&quot;http://sig.cenlr.org/_media/outils/qgis/qgis_definition_action.png?w=400&quot; class=&quot;media&quot; title=&quot;Définition de l&amp;#039;action&quot; alt=&quot;Définition de l&amp;#039;action&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT6 SECTION &quot;Définition de l'action&quot; [2620-2727] --&gt;
&lt;h3 class=&quot;sectionedit7&quot;&gt;&lt;a name=&quot;declenchement&quot; id=&quot;declenchement&quot;&gt;Déclenchement&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
&lt;a href=&quot;http://sig.cenlr.org/_detail/outils/qgis/qgis_clic_action.png?id=outils%3Aogr2ogr%3Acas_d_utilisation%3Aqgis_action_export_ogr2ogr&quot; class=&quot;media&quot; title=&quot;outils:qgis:qgis_clic_action.png&quot;&gt;&lt;img src=&quot;http://sig.cenlr.org/_media/outils/qgis/qgis_clic_action.png?w=400&quot; class=&quot;media&quot; title=&quot;Lancement de l&amp;#039;action depuis la fenêtre d&amp;#039;information de l&amp;#039;objet&quot; alt=&quot;Lancement de l&amp;#039;action depuis la fenêtre d&amp;#039;information de l&amp;#039;objet&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;

&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT7 SECTION &quot;Déclenchement&quot; [2728-] --&gt;</description>
        <category>QGis</category>
        <category>action</category>
        <category>ogr2ogr</category>
        <category>PostGIS</category>
        <category>batch</category>
            <pubDate>Fri, 02 Sep 2011 13:56:52 +0200</pubDate>
        </item>
    </channel>
</rss>
