Edit tool in the WebOffice core Client

Edit tool in the WebOffice core Client

 

The Edit tool enables various editing operations in WebOffice core. Activating the tool in the toolbar will open the edit ribbon where you need to choose

the edit layer

the edit action

in order to start editing in the WebOffice core client.

Note: It is possible to define both the Default Edit Layer and the Default Edit Action to be preselected in your project configuration.

 

 

core_Editing02

Edit button

 

Note: The button only appears when having Geometry editing switchable configured.

 

Editing features

In general features consist of two different kind of information - geometry and attributes. The edit tool can be configured to edit both information or only one of it.

The geometry is built by vertices, one vertex for points, multiple vertices for lines and polygons.

Note: You will find more details about editing in chapter Editing Geometry.

 

Attributes can be edited in an own form.

Note: You will find more details about the different options for editing attributes in chapter Edit Attributes.

 

After having activated the tool, a dynamic ribbon appears with the following information:

 

 

Edit configuration in the dynamic ribbon for editing

Edit configuration in the dynamic ribbon for editing

 

 

Edit Layer

From the drop down list Edit Layer you can select one of the configured Edit Layers that can be either a

point feature class - symbolized by html_Editing3

polyline feature class - symbolized by html_Editing4

polygon feature class - symbolized by html_Editing5

 

Edit Action

After the edit layer has been selected you can choose one of the available edit layer's edit actions that are configured in the List of Available Edit Actions.

They may include:

create: create new objects

edit: edit existing objects

copy: copy existing objects

delete: delete existing objects

copy from: copy an existing object from another layer to your edit layer

copy from template: select a feature template from a template layer that can be copied to your edit layer

split: split an existing object

merge: merge two existing objects

cut: cut off parts or holes from an existing polygon feature (only polygon feature classes)

 

 

Further options are listed in the table above:

 

Icon

Menu Item

Description

core_Editing12

Zoom To

Zooms to the selected edit feature.

core_Editing13

Reset editing

Reverts all geometric and attribute changes to the object.

core_Editing14

Vertex Geometry

While creating or editing a feature, you can insert, review, edit, import and export the coordinate pairs of the created or edited features using the vertex grid. The currently edited vertex is marked orange. By using the export button it is possible to export the coordinates of the vertices into a specified format. It is also possible to upload a CSV file that contains X/Y coordinates to provide the geometry when creating or editing a feature.

 

WebOffice 10.9 R3 allows to insert, reproject, import or export coordinates with various projections or transformations within the vertex geometry dialog. Furthermore the integration of single vertices of created or edited objects in different projections is possible. Coordinates within the vertex geometry dialog will be reprojected according to the selected projection.

 

The lists of projections are shown in the upper area of the vertex geometry window and can be chosen by the user interaction.

 

Note: To use the vertex geometry dialog with various coordinate systems a list of projections has to be defined on the editing tool. More information can be found in chapter List of Projections.

 

Note: If coordinates will be imported via the vertex geometry dialog the user has to specify the appropriate coordinate system based on the coordinates of the coordinate system of the import file. The projection will not be automatically detected from the import file.

 

Vertex Geometry

Vertex Geometry

 

Note: The format and file extension may be edited in C:\Tomcat\webapps\<WebOffice application>\client_workspace\JSXAPPS\weboffice\editgeometry_export.jsp.

 

Customize the following lines for your purpose:

//---------- begin // can get changed by admin -------------- //
String fileName = WebOffice_geometryexport.csv;
boolean bShowHeader = true;
boolean bShowFieldId = true;
boolean bNormalizeCommaSeparator = false;
String fieldId_prefix = ";
String separator = ;";
//---------- end // can get changed by admin -------------- //

 

Note: Regarding the upload of CSV files to import geometry:

The CSV file must contain the columns COORD_X and COORD_Y which hold the coordinate information.

For point features one or more coordinate pairs will be taken into consideration. If there is more than one pair all objects will have the same attributes.

Line and polygon features need a minimum of 2, resp. 3 coordinate pairs.

core_Editing15

Construction

The construction button opens a form with several, useful construction features for editing.

Note: To be able to use Construct, the variable Simple editing?  of the layer to be edited must be configured accordingly. For more information, see the Edit Layers chapter.

core_Editing16

Submit editing

By clicking this option all changes made to geometry and attributes are submitted.

core_Editing17

Cancel editing

Cancels editing on the currently selected feature. Another feature can be selected immediately after canceling.

core_Editing19

Continue

The Continue button appears after having successfully created an object. When clicking this button you can create another object of the same layer.

core_Editing20

Edit feature

The Edit feature button appears after having successfully created an object. Clicking the button activates the edit action edit to modify the created object. This button is available, if (1) the option Provide direct editing is activated in WebOffice author standalone and (2) the logged-in user has the permission to modify objects.

 

Note: You will find more details about the configuration of Provide direct editing in chapter Edit Layers.