From e865a565e065e3b6e2e8bcf1d4784248763beac4 Mon Sep 17 00:00:00 2001 From: SJiB Date: Thu, 29 Aug 2024 16:42:39 +0200 Subject: [PATCH] adapte note syntax: .. note:: and then new line --- docs/en/admin-guide/interlis-io/index.rst | 32 +++++++++++++++-------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/docs/en/admin-guide/interlis-io/index.rst b/docs/en/admin-guide/interlis-io/index.rst index 1347fcb8f..24db8f274 100644 --- a/docs/en/admin-guide/interlis-io/index.rst +++ b/docs/en/admin-guide/interlis-io/index.rst @@ -42,7 +42,8 @@ If the command fails, try:: >>> pip3 install --upgrade pip -.. note:: If pip cannot be found, make sure you’ve installed the python3-pip package using the OSGeo4W network installer (if you’ve installed the standalone version of QGIS, it should be included). +.. note:: + If pip cannot be found, make sure you’ve installed the python3-pip package using the OSGeo4W network installer (if you’ve installed the standalone version of QGIS, it should be included). If this command still fails, try:: @@ -94,22 +95,27 @@ The export tools is capable of exporting label positions for different scales. Y Then, confirm the dialog and choose where to save the `.xtf` file. -.. note:: Note that windows file pathes with empty strings in the directory path or filename are not supported at the moment. +.. note:: + Note that windows file pathes with empty strings in the directory path or filename are not supported at the moment. -.. note:: Note that for large/full exports, the command can take a long time. +.. note:: + Note that for large/full exports, the command can take a long time. -.. note:: Note that QGIS standard behaviour for too long labels is to turn them horizontally (orientation = 0). You can adjust the properties of the vw_tww_reach layer - Symbology - Placement - Label overrun from "no overrun" to e.g. 7 mm (Millimeter) +.. note:: + Note that QGIS standard behaviour for too long labels is to turn them horizontally (orientation = 0). You can adjust the properties of the vw_tww_reach layer - Symbology - Placement - Label overrun from "no overrun" to e.g. 7 mm (Millimeter) .. figure:: images/layer_vw_tww_reach_label_overrun.png -.. note:: Note that remark fields are truncated to 80 characters on INTERLIS Export, as the INTERLIS definition is like this. If you have remark fields with more text then consider to move this data to documentation with the classes "file" and "data_media" so it can be exported to INTERLIS completely where you can add any document, photo or video to a class. +.. note:: + Note that remark fields are truncated to 80 characters on INTERLIS Export, as the INTERLIS definition is like this. If you have remark fields with more text then consider to move this data to documentation with the classes "file" and "data_media" so it can be exported to INTERLIS completely where you can add any document, photo or video to a class. The following validations are run as pre-process: * Validate subclasses before export: check_subclass_counts -.. note:: Currently you will only find an ERROR message in the tww procotol tab if this check fails: -`2024-07-26T10:29:03 teksi_wastewater.utils:ERROR: number of subclass elements of structure_part NOT CORRECT in schema tww_od: checksum = 1 (positive number means missing entries, negative means too many subclass entries)` +.. note:: + Currently you will only find an ERROR message in the tww procotol tab if this check fails: + `2024-07-26T10:29:03 teksi_wastewater.utils:ERROR: number of subclass elements of structure_part NOT CORRECT in schema tww_od: checksum = 1 (positive number means missing entries, negative means too many subclass entries)` Exports include a validation step at the end using `ilivalidator`, which will inform you whether the export contains INTERLIS validation errors. @@ -148,11 +154,13 @@ INTERLIS Import To import `xtf`files, click on the `INTERLIS import` button and navigate to the `.xtf` file. -.. note:: Note that windows file pathes with empty strings in the directory path or filename are not supported at the moment. +.. note:: + Note that windows file pathes with empty strings in the directory path or filename are not supported at the moment. **Organisations before data !** -.. note:: Starting with release 2020 all organisations are in a separated dataset and need to be imported first, else a bunch of errors will be thrown on all references like fk_dataowner, fk_owner, fk_provider, etc. Download the VSA Organisation data set from https://www.vsa.ch/models/organisation/vsa_organisationen_2020_1.xtf and start with importing that data set. This data set is updated regularly - so please come back and check (and maybe re-import) at a later stage to have access to all available organisation. +.. note:: + Starting with release 2020 all organisations are in a separated dataset and need to be imported first, else a bunch of errors will be thrown on all references like fk_dataowner, fk_owner, fk_provider, etc. Download the VSA Organisation data set from https://www.vsa.ch/models/organisation/vsa_organisationen_2020_1.xtf and start with importing that data set. This data set is updated regularly - so please come back and check (and maybe re-import) at a later stage to have access to all available organisation. If you have organisations that are not yet in that data set `please inform the VSA and hand in an application to be added `_. @@ -167,9 +175,11 @@ The left part of this dialog lists all elements that are going to be imported fr The right part of this dialog shows a form specific to the type of element selected in the list, allowing to adapt the import. -.. note:: Currently de-selecting and selecting objects might take a long time depending how many data sets are in that respective class. +.. note:: + Currently de-selecting and selecting objects might take a long time depending how many data sets are in that respective class. -.. note:: Special feature for TV Inspection import: For instance, it allows to attach "examinations" to their pipes. +.. note:: + Special feature for TV Inspection import: For instance, it allows to attach "examinations" to their pipes. Once you're happy with the import options, confirm the dialog to persist the changes to your database.