diff options
Diffstat (limited to 'docs/import_export.rst')
| -rw-r--r-- | docs/import_export.rst | 25 | 
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  ************* | 
