diff options
Diffstat (limited to 'docs/_build/html/import_export.html')
-rw-r--r-- | docs/_build/html/import_export.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/_build/html/import_export.html b/docs/_build/html/import_export.html index 5a0dcd4..2e9045b 100644 --- a/docs/_build/html/import_export.html +++ b/docs/_build/html/import_export.html @@ -174,6 +174,15 @@ You have to hit this button before validating the form.</li> the <strong>Import</strong> action and validate.</p> <p>The import should be processing normally. If not, an explicit error message should be printed in the state column of your import.</p> +<p>You can also launch imports with the CLI (ideal for crontab jobs). In the +project directory you only need to launch the command:</p> +<div class="highlight-python"><pre>./manage.py chimere_import <import_id></pre> +</div> +<ul class="simple"> +<li><em>import_id</em> is the import ID</li> +</ul> +<p>If you launch the command without <em>import_id</em> the list of imports available is +presented and you can choose one.</p> </div> <div class="section" id="managing-imported-data"> <h3>Managing imported data<a class="headerlink" href="#managing-imported-data" title="Permalink to this headline">¶</a></h3> @@ -195,6 +204,19 @@ is particularly important if you want to export your data to OSM.</p> <p>Directly from the <a class="reference internal" href="fr/administration.html#geographic-items-management"><em>geographic items list</em></a> you can export to the chosen format. All you have to do is to select the desired items, choose the appropriate action in the action list and validate.</p> +<p>You can also launch exports with the CLI (ideal for crontab jobs). In the +project directory you only need to launch the command:</p> +<div class="highlight-python"><pre>./manage.py chimere_export <subcategory_id> <CSV|KML|SHP> \ + <marker|route> <filename></pre> +</div> +<ul class="simple"> +<li><em>subcategory_id</em> is the ID of the chosen subcategory</li> +<li><em>CSV|KML|SHP</em> is the chosen format</li> +<li><em>marker|route</em> is to get marker or route</li> +<li><em>filename</em> is the output filename</li> +</ul> +<p>If you launch the command without arguments you will be prompted for the choice +to make for your export.</p> </div> <div class="section" id="export-to-osm"> <h3>Export to OSM<a class="headerlink" href="#export-to-osm" title="Permalink to this headline">¶</a></h3> |