edit buffer by editing its centerline

caver456's Avatar

caver456

14 Mar, 2020 09:05 PM

Hello, this is kind of related to 'buffers and polygons: merge, slice, chop/notch?' in that we're looking for more usable ways to edit buffers. Would it be possible to jut edit the centerline of a buffer? When you go to edit a buffer (not sure if there's a flag internally that records the fact that it's a buffer, or, if it's just saved as any other polygon) it would be nice to have an option to either edit the buffer-polygon's vertices, or, to edit its centerline. Maybe this could just be another context menu choice 'Edit Centerline'. If centerline is chosen, it would effectively be converting the buffer to a line at its center, then editing the centerline as you would edit any other line, then converting it back into a buffer. Seems like it might involve actually internally storing the centerline data of the buffer, since trying to extract a centerline from a buffer on the fly doesn't sound trivial and maybe not always 100% accurate.

  1. 1 Posted by caver456 on 14 Mar, 2020 09:09 PM

    caver456's Avatar

    the line weight and opacity of a line object can get you close, but specifying the line weight as a number of pixels instead of a number of feet or meters means it is not quite the same, along with the fact that you can't modify the line weight or opacity of a line assignment.

  2. Support Staff 2 Posted by matt on 16 Mar, 2020 04:33 PM

    matt's Avatar

    This comes up on a regular basis, but once you create a buffer, it's just another polygon; unfortunately storing the centerline separately would be complicated.

    We're using the Java Topology Suite (JTS) for computing the buffer. I haven't found a way to use it to reverse a buffer into a centerline, but feel free to take a look.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac