Skip to main content
Solved

Line joining/tracing till getting elevation value


lazarlubomir
Contributor
Forum|alt.badge.img+7

Hello,

please, I wanna solve one problem with line elevation on wastewater network. I have really big network of lines in 2D, but every line has 2 attributes (BOTTOM_ELEVATION_FIRST - elevation of first line vertex and BOTTOM_ELEVATION_LAST - elevation of last line vertex). Unfortunately, values of these 2 attributes are not filled for all features. So, I have situation when some features have both values, some features have just one value and some features have none values. :-/ What I need is to join lines according to fact if the attribute of elevation is filled or not - the goal is getting lines which have filled both attribute values.

Do you have any idea, how to figure out this issue, please?

Thank You so much!

Lubo

Best answer by takashi

Hi @lazarlubomir, this workspace might help you: wastewater-elevation.fmwt (FME 2017.0.1.1)

View original
Did this help you find an answer to your question?

9 replies

danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • August 4, 2017

Hi @lazarlubomir, i dont have any example similar with this case. Could you share us a piece of your data?

Thanks,

Danilo


stalknecht
Contributor
Forum|alt.badge.img+19
  • Contributor
  • August 4, 2017

I'm think of joining the lines, use a 3dForcer and use the MeasureOrZvalueInterpolator to interpolate the values.

Can you share some example data? What do you want to happen with the pink line?

It is also helpful if you update analyze.jpg by not only displaying <missing> but also what values you want to generate.


lazarlubomir
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • August 4, 2017

Hello, @danilo_inovacao and @stalknecht, I attached small sample of data in SQLite. My aim is to analyze whole network and to find lines which are wrongly oriented according to elevation logic.wastewater-elevation.zip


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • August 4, 2017
lazarlubomir wrote:

Hello, @danilo_inovacao and @stalknecht, I attached small sample of data in SQLite. My aim is to analyze whole network and to find lines which are wrongly oriented according to elevation logic.wastewater-elevation.zip

Thanks @lazarlubomir your source data.

 

I opened in FME Data Inspector and i have doubt. In image below red color ( miss attribute ) and blue color ( with attribute ):

 

 

In this case, what is necessary to do with red line?

 

 

Thanks,

 

Danilo

lazarlubomir
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • August 4, 2017
danilo_fme wrote:
Thanks @lazarlubomir your source data.

 

I opened in FME Data Inspector and i have doubt. In image below red color ( miss attribute ) and blue color ( with attribute ):

 

 

In this case, what is necessary to do with red line?

 

 

Thanks,

 

Danilo
@danilo_inovacao Probably this is connector line, sign of this is attribute value of ID_FUNCTION=2. Option is to filter out these connector lines...

 


takashi
Influencer
  • Best Answer
  • August 4, 2017

Hi @lazarlubomir, this workspace might help you: wastewater-elevation.fmwt (FME 2017.0.1.1)


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • August 4, 2017
takashi wrote:

Hi @lazarlubomir, this workspace might help you: wastewater-elevation.fmwt (FME 2017.0.1.1)

Good Job @takashi :) I executed your workspace here in my machine and i believe that @lazarlubomir want.

lazarlubomir
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • August 9, 2017
takashi wrote:

Hi @lazarlubomir, this workspace might help you: wastewater-elevation.fmwt (FME 2017.0.1.1)

@takashi and @danilo_inovacao

 

Hello guys, its great solution! Thank You so much!

 

Anyway, I met one more problem, but with line direction. Do You have any tips, how to figure situation with network where are cycles? I suppose that NetworkFlowOrientor can do that, but based on distance from destination, right?


takashi
Influencer
  • August 9, 2017
takashi wrote:

Hi @lazarlubomir, this workspace might help you: wastewater-elevation.fmwt (FME 2017.0.1.1)

According to the help, the behavior on cycle edges seems to be undefined. By case, you will have to modify the network data based on the requirement.

 

"Usage Notes: The functionality works well in a non-cycle network; however, it does not always yield desired results in a cycle network. One way to fix a cycle network is to omit edges that should not be modified from the input." -- NetworkFlowOrientor Help

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings