Hexagon Geospatial
MENU

GeoMedia

Search for an answer, post a question, or answer other users' questions in our GeoMedia support discussions. This discussion board is a great way to collaborate with industry peers around the world. It is intended for discussion and support of the GeoMedia Desktop and Add-on applications.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 94
Registered: ‎03-01-2017
Accepted Solution

Alternative linear endcap type for buffers

Hi community

 

When generating a buffer in GeoMedia, there are two linear endcap type options:

  • rounded
  • squared

Is there a way to generate a buffer around a line feature, which ends where the line endpoint is? I added an illustration to the attachment to make clear what I mean. 

 

Have there been any thoughts on extending the linear endcap types by such an option?

 

Any inputs or workarounds are very appreciated.

 

Regards 

Cristina

 

Technical Evangelist
Posts: 521
Registered: ‎09-11-2015

Re: Alternative linear endcap type for buffers

Hi Cristina,

 

maybe it is not what you want, but the command "Copy parallel" might help. You would make two parallel copies on each side, and then join the ends manually.

 

Pavel

Technical Evangelist
Technical Evangelist
Posts: 274
Registered: ‎02-03-2016

Re: Alternative linear endcap type for buffers

Regarding your question "Have there been any thoughts on extending the linear endcap types by such an option?", we have received this request at various times through GeoMedia's life, but has not yet received sufficient weight of interest to take precedence over other priorities.  Thanks for letting us know of your interest.  - Hal

Frequent Contributor
Posts: 94
Registered: ‎03-01-2017

Re: Alternative linear endcap type for buffers

Hi Pavel

 

Thanks for the hint! This might be a good solution for a small dataset. For a large amount of features that would mean a lot of work Smiley Happy

 

Cristina

Frequent Contributor
Posts: 94
Registered: ‎03-01-2017

Re: Alternative linear endcap type for buffers

Hi Hal,

 

Thanks for your reply. We got many requests from our customers as well. Since there's no simple workaround to achieve such a result, there is a high interest in such an additional endcap type for buffers.

 

Regards

Cristina

Highlighted
Staff
Posts: 152
Registered: ‎02-02-2016

Re: Alternative linear endcap type for buffers

If you want to experiment further you could try the following odd workflow.  I doubt that it would satisify your requirements completely, especially for lines that are shorter than the buffer distance and/or lines that deviate in angle within the buffer distance.

 

Requires GeoMedia and data with primary key (could use a LRS key if you have such data); an LRS key is an identifier for a set of segments forming a route.  Try out the following queries:

 

Q1

  1. Input the linear data into Functional Attributes to build expressions for :
    1. FA_Begin_Meas  0.0
    2. FA_End_Meas LENGTH(Input.Geometry,ProjectedMeas,Kilometer)

Q2

  1. Input the linear data into Functional Attributes again (you can select another feature to clear the previous expressions displayed from Q1) Build Expressions that reflect your buffer distance in Kilometer (matching the unit used in Q1); for example if we wanted to create a 100 meter buffer the expressions might look like:
    1. FA_Event_Begin  0.1
    2. FA_Event_End  LENGTH(Input.geometry, ProjectedMeas, Kilometer) - 0.1

Q3

  1. Use Dynamic Segmentation command to create a linear event segmentation query of the Q2 Functional Attribute query. Use the Q1 query as the linear event with the Measure option, selecting the FA measures created in Q1.  You can use the primary key for the LRS key fields.

Q4

  1. Create a buffer of Q3 using the 100 meter distance.
New Contributor
Posts: 3
Registered: ‎01-10-2018

Re: Alternative linear endcap type for buffers

Thanks for this creative solution!

 

However, I fear that these queries could lead to performance problems. The original suggestion would be the easier solution, IMHO.

Polls
Please register to vote
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.