summaryrefslogtreecommitdiff
path: root/docs/import_export.rst
diff options
context:
space:
mode:
authorNawa <bellefeegore@follepensee.net>2012-11-29 23:55:42 +0100
committerNawa <bellefeegore@follepensee.net>2012-11-29 23:55:42 +0100
commitd8f7aefbc5d351ca82d8184ecb5ac493f682e894 (patch)
tree973932a3fa8626def04314d5e3ed2f5f959b84db /docs/import_export.rst
parent3dac3aa1a580f04376a1c16d2416f34351b14adb (diff)
parent8342a51dc542a0304025fda2171f7af11a4047b7 (diff)
downloadChimère-d8f7aefbc5d351ca82d8184ecb5ac493f682e894.tar.bz2
Chimère-d8f7aefbc5d351ca82d8184ecb5ac493f682e894.zip
Merge branch 'master' of ssh://daenerys.peacefrogs.net/var/local/git/chimere
Diffstat (limited to 'docs/import_export.rst')
-rw-r--r--docs/import_export.rst25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/import_export.rst b/docs/import_export.rst
index eb581ce..bc422b1 100644
--- a/docs/import_export.rst
+++ b/docs/import_export.rst
@@ -137,6 +137,16 @@ the **Import** action and validate.
The import should be processing normally. If not, an explicit error message
should be printed in the state column of your import.
+You can also launch imports with the CLI (ideal for crontab jobs). In the
+project directory you only need to launch the command::
+
+ ./manage.py chimere_import <import_id>
+
+- *import_id* is the import ID
+
+If you launch the command without *import_id* the list of imports available is
+presented and you can choose one.
+
Managing imported data
**********************
@@ -159,6 +169,21 @@ Directly from the :ref:`geographic items list <geographic-items-management>` 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.
+You can also launch exports with the CLI (ideal for crontab jobs). In the
+project directory you only need to launch the command::
+
+ ./manage.py chimere_export <subcategory_id> <CSV|KML|SHP> \
+ <marker|route> <filename>
+
+- *subcategory_id* is the ID of the chosen subcategory
+- *CSV|KML|SHP* is the chosen format
+- *marker|route* is to get marker or route
+- *filename* is the output filename
+
+If you launch the command without arguments you will be prompted for the choice
+to make for your export.
+
+
Export to OSM
*************