User-defined attributes for line vertices

Hello,

Is it possible to create user-defined attributes on a vertex of a line?

I can see the standard attributes (X, Y, length etc.) in the Feature Vertex List and add elevations based on terrain, but I'd also like to assign my own attributes to some vertices, if possible.

Thanks!

Answers

  • Hi @stuchar,

    I don't know of a way to do what you want to do directly in GM (but others might?).

    My workaround is to select the vertices of interest in the "Features Vertex List" (use Ctrl key to select individual vertices) and then right click and select "Create Point Features from Selected Vertices". You can then assign whatever custom attributes to those points individually via the "Modify Features" dialogue box. You can then display your modified vertices over the top of your original line and label accordingly.

    Hope that helps.

    cheers,

    /al



  • Thanks for your suggestion, @CarrickCon.

    For a little more context, I was hoping to build on the discussion here: Curves on a line — Global Mapper Forum but using a Python / GM script to generate a layer including the curves based on a line feature and the bend radius at each vertex.

    Ideally then, moving a vertex (which knows its own radius) and/or changing the radius associated to a vertex and re-running the script would allow route options (including realistic bends) to be explored quickly.

    Having to copy the vertices to points and adding all of the radii is OK for a one-shot thing, but it would be pretty clunky to repeat.

    Thanks again for your help. At the very least this is another post asking for an easier way to do pipeline routing to add to the pile!

  • I feel your pain @stuchar.

    As posted on the thread you referenced I use AutoCAD LT for all horizontal and vertical curve geometry work. Its not ideal importing/exporting, but its really easy to do in AutoCAD and pretty well impossible in GM.

    A simple "Fillet" command of know radius would go a long way to fixing this in GM. Fingers crossed for next version!

    Cheers,

    /al

  • Sorry for the typo, that should be "known" radius above...😉