Wiki source code of Gestionnaires de cartes
Last modified by Aurelie Bertrand on 2026/07/15 17:04
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{ddtoc/}} | ||
| 2 | |||
| 3 | ---- | ||
| 4 | |||
| 5 | (% class="wikigeneratedid" %) | ||
| 6 | The **Map Manager** allows you to manage layers or map backgrounds used as a base in Map-type flows. | ||
| 7 | |||
| 8 | (% class="box infomessage" %) | ||
| 9 | ((( | ||
| 10 | The term **Map **used here will refer to a layer or map background. | ||
| 11 | ))) | ||
| 12 | |||
| 13 | (% class="wikigeneratedid" %) | ||
| 14 | DigDash comes with a set of maps that cannot be modified (read-only). | ||
| 15 | |||
| 16 | (% class="wikigeneratedid" %) | ||
| 17 | You can add new maps. | ||
| 18 | |||
| 19 | (% class="wikigeneratedid" %) | ||
| 20 | [[image:Map_manager_en.png]] | ||
| 21 | |||
| 22 | = Adding a map{{id name="Add_map"/}} = | ||
| 23 | |||
| 24 | (% class="wikigeneratedid" id="HAjouterunecarte" %) | ||
| 25 | To add a map: | ||
| 26 | |||
| 27 | 1. Click the **New map** button. | ||
| 28 | ➡ The **New map** dialog box appears. | ||
| 29 | 1. Select the map background format: **SVG**, **SHP**, or **JSON**. | ||
| 30 | 1. Select a **Role** to restrict map access to, or **None** to share the map with all roles. | ||
| 31 | The field can also be used as a search bar when there are many roles. | ||
| 32 | 1. Fill in the other requested fields according to the selected format, then click **OK**. | ||
| 33 | [[image:New_map_regions_en.png||height="578" width="542"]] | ||
| 34 | |||
| 35 | (% class="box infomessage" %) | ||
| 36 | ((( | ||
| 37 | The generated map will be placed in the **maps** folder in **<DD APPDATA> \enterprise server\config\web\public\.** | ||
| 38 | ))) | ||
| 39 | |||
| 40 | * **For an SVG or SHP map:** | ||
| 41 | |||
| 42 | 1. In the **Add or drop files** area, click the **Add** button and select the source file. | ||
| 43 | 1. Enter the **Level** name. | ||
| 44 | 1. Check the **Vector options** box if you want to simplify the final SVG. | ||
| 45 | [[image:New_map_svg_vector_options_en.png]] | ||
| 46 | 1*. **Simplify document**: Simplifies the final .SVG file. | ||
| 47 | Select a simplification level from **Low** to **High**, or select **Custom** to set a value of your choice between 0 and 1**. **The closer the number is to 1, the coarser the curves will be. With 0, you will get the most accurate file but also the heaviest. | ||
| 48 | 1*. **Curve tolerance**: Provides tolerance on the shape of the created paths (Bézier curves) using the same principle as the previous option. | ||
| 49 | 1. Select a **Translation file** that will be used to translate the keys generated in the final SVG. | ||
| 50 | Here is an [[example translation file>>attach:frmap.properties]] where "fr-occ" corresponds to "Occitanie". | ||
| 51 | |||
| 52 | (% class="box infomessage" %) | ||
| 53 | ((( | ||
| 54 | ℹ The hierarchical recognition file is automatically generated when saving the map. | ||
| 55 | ))) | ||
| 56 | |||
| 57 | * **For a JSON map:** | ||
| 58 | |||
| 59 | 1. In the **File(s)** section, click **Add a file...** and select the source file. | ||
| 60 | |||
| 61 | (% style="line-height:1.38; margin-top:32px; margin-bottom:8px" %) | ||
| 62 | = Add a level = | ||
| 63 | |||
| 64 | (% style="line-height:1.38; margin-top:16px; margin-bottom:16px" %) | ||
| 65 | (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)It is possible to add map levels to associate a map with a hierarchy. To do this: | ||
| 66 | |||
| 67 | 1. (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Select the map and, if necessary, the level below which you want to add a level. | ||
| 68 | 1. (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Click the (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**Add a level... **(%%)Then... | ||
| 69 | |||
| 70 | (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**For a JSON format:** | ||
| 71 | |||
| 72 | 1. (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)In the (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**Add a level**(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %) dialog box that appears, enter the level name and select the map background file. | ||
| 73 | [[image:Map_add_level_en.png]] | ||
| 74 | 1. (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Click (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**OK**(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %).(%%) | ||
| 75 | ➡ (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)The level is added below the selection.(%%) | ||
| 76 | [[image:Map_added_level_en.png]] | ||
| 77 | |||
| 78 | **For an SVG or SHP format:** | ||
| 79 | |||
| 80 | 1. (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)In the (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**Add a level**(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %) dialog box that appears, enter the level name then click **OK**.(%%) | ||
| 81 | ➡ (% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)The level is added below the selection. | ||
| 82 | 1. Select the newly added level. | ||
| 83 | 1. Then click the **Add files** button in the toolbar. | ||
| 84 | ➡ The **Add file(s) SVG **(or **SHP**) **to the level **dialog box appears. | ||
| 85 | 1. Proceed as described in the [[**Add a map**>>doc:||anchor="Add_map"]] section to add the files. | ||
| 86 | For this additional level, an extra option is available: **Enter file prefix/suffix manually**. It allows adding the prefix or suffix to the configuration file if the file name differs from the SVG identifiers "{id}". | ||
| 87 | [[image:Level_SVG_prefix_en.png]] | ||
| 88 | |||
| 89 | = Other options = | ||
| 90 | |||
| 91 | In the toolbar, other options are available: | ||
| 92 | |||
| 93 | * **Rename a map**: select the map, click the [[image:en_Rename_button_FR.png||alt="Rename" height="21" width="21"]] button and enter a new name. | ||
| 94 | * **Edit a map**: (% id="cke_bm_66490S" style="display:none" %) (%%)select the map and click the [[image:en_Edit_button.png||alt="Edit" height="22" width="21"]] button. | ||
| 95 | * **Delete a map**: select the map and click the [[image:en_Delete_button.png||alt="Delete" height="20" width="20"]] button. | ||
| 96 | * **Visualize the map usage scope through dependency analysis**: select the map and click the [[image:en_1736937985068-235.png||alt="Dependency analysis"]] button. See the [[Dependency analysis>>doc:Digdash.user_guide.studio.managers.dependencies.WebHome]] page for more details. | ||
| 97 | |||
| 98 | = Related pages... = | ||
| 99 | |||
| 100 | * [[Map-type flow>>doc:Digdash.user_guide.studio.Create_flow.Flow_types_and_configuration.Flow_type_map.WebHome]] | ||
| 101 | * [[Geographical map: adding an IRIS level>>doc:.Management_of_geographical_map_Add_iris_level.WebHome]] |