On the road to gvSIG 2.3: Dynamic segmentation (II)

We carry on with the new features of gvSIG 2.3 related to Dynamic Segmentation. In this post we will see the “Create routes” tool.

This tool is useful to create routes from a linear layer. It works grouping the geometries of the input layer in one unique entity (linear), using a common attribute.

This layer must have an attribute capable of identifying the routes to be created.

Once the tool is activated, gvSIG shows the following dialog:

LRS1_en
The user can set up:

  • Source”, the input layer.
  • Route identifier field”, the attribute from the table of the layer “Source” containing the route ID.
  • Output file”, the file to save all the results.
  • Measure source”, it will show 3 options, from where the measures will be taken for the M dimension:
    • Length, the measure will be based on the graphic length of the original line
    • One field, the original layer must have a field which indicates the length of each sections to reroute and the measure will be based on that field.
    • Two fields,the original layer must have two fields indicating the M coordinate of the first and last vertex of each section and the measures will be based on those M using interpolations.
  • From-measure or length field”. It will be enabled when the options “One field” or “Two fields” was selected in “Measure source”:
    • with “One field”, that one will be used as measure of the section
    • with “Two fields” that one will be used as M coordinate of the first vertex of the section
  • To-measure field”, the M coordinate will be used as the last vertex of the section. It will be enabled when the option “two fields” was selected in “Measure source”.
  • Coordinate priority”. It will be enabled only when “Length” or “One Field” was selected in “Measure source”. This value will be key to decide the vertex from which the measures will be accumulated and it will have 4 options:
    • Up – left
    • down – left
    • up – right
    • down – right
  • Measure factor”, the user can set a factor to multiply the measures before introducing them in the M coordinate of the vertex. By default the value is 1.
  • Measure offset”, the user can introduce one value to be added to the measures before introducing them in the M coordinate of the vertex. By default the value is 0,0.
  • Ignore spatial holes”, to decide if the size between the holes of the geometries has to be taken into account for the calculation of the measures. It will be enabled only when “Length” or “One Field” was selected in “Origin of measures”. If this is selected, the distance between the last vertex of one section and the first one of the next will not be taken into account. If it is not selected, the distance between them will have an effect on the calculation of the M coordinate of the first vertex (and further ones) of the next section.

When accepting the dialog box, gvSIG will create the “output layer” file containing the lines of the original layer grouped by the new entities according to the “Route ID” value and the rest of options already introduced by the user.

If, before the tool execution, the origin layer has a selection, the process only will take place in those selected elements.

Related posts:

This entry was posted in english, gvSIG Desktop, gvSIG Roads and tagged , , . Bookmark the permalink.

3 Responses to On the road to gvSIG 2.3: Dynamic segmentation (II)

  1. Pingback: On the road to gvSIG 2.3: Dynamic segmentation (II) – GeoNe.ws

  2. Pingback: On the road to gvSIG 2.3: Dynamic segmentation (III) | gvSIG blog

  3. Pingback: gvSIG 2.3 is now available! | gvSIG blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s