====== Vectorization ====== The digitizing process goes through the vectorization of the following layers: * Frame (line) * Points (point) * Lines (line) * Labels (point) Those layers are displayed in bold in the [[man:gui#table_of_content|table of content]]. ===== Getting ready ===== ==== Link data ==== Your project is now opened, but you will need some support themes as reference and base of vectorization. **Data -> [[man:data_manage#link_data|Link data... (Ctrl+O)]]** Navigate to __ToolMap__ -> __02 - data__, select all the files and click on **[Open]**. The linked files now appear in the table of content. ==== Activate snapping ==== The snapping option allows you to be certain two vertices are indeed at the exact same location. **Edition -> Snapping -> [[man:edition&#snapping_panel|Snapping panel... (Ctrl+G)]]** By right-clicking on the panel display the contextual menu allowing you to add a new layer to be considered for the snapping. Display the layers **Lines** and **Frame** Set the tolerance to 6 (depending your preferences and at which scale you are working you may want to increase/decrease this value). {{tuto:tuto-vectorization-snapping.png?nolink}} ==== Draw the frame ==== Now that the snapping is set, define the area of study by drawing the frame. **Right-click on Frame -> [[man:edition#edition_tools|Edit layer]]** The layer is now underlined in the table of content meaning it is in edition. By selecting the draw tool start vectorizing the frame. **Edition -> [[man:edition#draw_feature|Draw feature (D)]]** Draw the frame by creating vertices all around the desired zone. Once at the end, put your last vertex a bit on the side and validate the frame with the **[Enter]** or **[Tab]** key. The vectorized line may not be very visible, to solve this little issue change the symbology of the frame. **Right-click on frame** -> **[[man:visualization#symbology|Symbology]]** Change the color for orange (or any visible color) and set the width to 3. {{tuto:tuto-vectorization-frame1.png?nolink}} You now have to close properly your frame: **Edition -> [[man:edition#modify_feature|Modify feature (M)]]** Click on the last vertex and drag it near the first vertex, if the snapping is set correctly it shall be attracted to it ensuring the geometrical validity (vertex displayed in green if it is the case). Finish the modification by clicking on the **[Enter]** key. {{tuto:tuto-vectorization-frame2.png?nolink}} ===== Drawing the lines ===== ==== Settings ==== There are some few things to set before truly starting to vectorize the lines: * **Right-click on Lines -> Symbology**\\ Set the color to a nice flashy green and the width at 2. * **Right-click on Lines -> Show vertex -> begin/end**\\ This will display the vertices on both sides of every line. This will help a lot to know where you will be able to snap your lines. * **Attribution -> [[man:attribution#object_kind|Object kind...]]**\\ Open the //Object kind panel// where all the objects of the project are listed and sorted by layer type. * **Uncheck** all the support files but "Intensity_map" in the table of content.\\ You will use the others after finishing the vectorization of this map. ==== Edition/Attribution ==== The line creation is a 3 steps process: - Vectorization - Object definition - Object attribution (if available) Remember that every segment of line can be attributed differently depending upon the other levels of information. So every time you encounter an intersection you will have to undergo the 3 steps process. Like we did for the frame, we have to enter the edition mode on the **Lines** layer this time. **Right-click on Lines -> Edit layer** **1. Edition -> Draw feature (D)** Draw your first line until you find an intersection. Validate it by clicking on the **[Enter]** key. For the lines starting/ending at the frame don't be afraid to draw them out of it. They will be cut on the export anyway. {{tuto:tuto-vectorization-line1.png?nolink}} The created line is automatically selected after validation. By default the selected lines appear in red, all their vertices are also visible. When editing the **Lines** layer the line objects are automatically displayed in the //Object kind panel//. **2. Check Border of Intensity_map -> press [Add] button** {{tuto:tuto-vectorization-line2.png?nolink}} **3. Attribution -> [[man:attribution#object_attribute|Object attribute (single feature)... (Ctrl+A)]]** Nothing happens, your object "Border of Intensity_map" is a line delineating a polygon. It has consequently no attributes. The 3 steps process is now finished, reiterate it for the rest of the lines. The frame act as a border of polygons, so don't bother vectorizing lines on it to close your polygons. Finally your project should start to look like the following: {{tuto:tuto-vectorization-line4.png?nolink}} ===== Drawing the labels ===== At this stage the lines delineating the borders of the polygons of the intensity_map layer are drawn. But they are actually only empty surfaces. To give them their descriptive object and attributes you have to edit the labels. The process is similar to the lines but somehow more simple. ==== Settings ==== **Right-click on Labels -> Symbology...** Set the color a nice light blue and the radius at 8 ==== Edition/attribution ==== **Right-click on Labels -> Edit layer** The labels don't have any topological meaning. It is why the exact location of your labels is not important. The relevant thing is to have one label laying within the borders of every polygonal surface you want to digitize. **1. Edition -> Draw feature (D)** As the labels are point type geometries it is quiet easy to draw them. Click on the wanted location and the label is already created. There is no need to press a finalizing key like for the lines. Once it is created it is automatically selected and ready to be attributed. **2. Check appropriate object -> [Add]** {{tuto:tuto-vectorization-label1.png?nolink}} **3. Attribution -> Object attribute (single feature)... (Ctrl+A)** The //Object attribute (single feature)// window pops up. Set process to innondation, recurrence_age to 300 and you have the liberty to write a comment if you desire. {{tuto:tuto-vectorization-label2.png?nolink}} Reiterate the process as many time as needed to put one label in every surface appearing on your Intensity_map. You should slowly get to a map such as this one: {{tuto:tuto-vectorization-label5.png?nolink}} The vectorization/attribution of labels and points are exactly the same ===== Move from one support to another ===== Until now you went through the vectorization of one support theme but there is still plenty information to digitize. Change the display of the support themes. move from Intensity_map to Hazard_map. {{tuto:tuto-vectorization-moveto1.png?nolink}} As you can see on the picture above, a lot of structures are actually redundancies of what you already vectorized. The lines consistent with the new support theme have to be attributed as part of this layer. **Right-click on Lines -> Edit layer** **Edition -> Select feature (V) -> [Add] new attribution** {{tuto:tuto-vectorization-moveto2.png?nolink}} Once you have attributed the existing lines, you have to draw and attribute the rest of them. On this map there are new intersections. For that purpose create them by cutting the existing lines. The tool cut line allows you to cut a line on an existing vertex. The cutted line will be divided at the location of the vertex. If there isn't a vertex at the desired location, you can easily add one with the insert vertex tool. //Optional//: **Select a line -> Edition -> [[man:edition#insert_vertex|Insert vertex (I)]]** **Select a line -> Edition -> [[man:edition#cut_line|Cut line (Ctrl+X)]]** {{tuto:tuto-vectorization-moveto3.png?nolink}} When you are finished with the vectorization/attribution of the lines, reiterate the operations of the chapter "[[tuto:tuto3#drawing_the_labels|Drawing the labels]]". At the end you shall have something looking like this: {{tuto:tuto-vectorization-moveto4.png?nolink}} ===== Move on ===== There is still the last layer to vectorize and attribute, the instability structures. As it is a line layer you just have to follow the process of the chapter "[[tuto:tuto3#drawing_the_lines|Drawing the lines]]". Hint: No vectorization should be required ;) In this exemple each support theme represent a different layer. It is however possible to have more complex maps with more information on it. The processes remain the same you just have to mix them. [[tuto2|{{man:button-previous.png?nolink}}]] [[tuto:tuto4|{{man:button-next.png?nolink}}]]