Skip to main content
Solved

Attributes in Contour Line

  • November 22, 2017
  • 8 replies
  • 18 views

danilo_fme
Evangelist
Forum|alt.badge.img+44

Hi,

I have Yellow lines with values ( attribute Value ) and i need to assign value to quotes ( red lines ), respecting the interval Value+1:

My situation:

What i want ( black numbers ):

Attached my files.

Thanks, -

Danilo

Best answer by jdh

I have two wildly different suggestions.

1. Generate a surface model from just the known contours (yellow) and drape the unknown contours (red) on the surface, get the average Z value for the contour and round to the nearest interger.

 

2. Use some combinations of the LeftRightSpatialCalculator and NeighborFinder. Thought is that for each known contour you check whether the nearest known contour on the Left is increasing or decreasing. Then the nearest unknown contour on the left side will be +/-1 and the opposite on the right. Wash, rinse, repeat.
View original
Did this help you find an answer to your question?

8 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • November 22, 2017

I have two wildly different suggestions.

1. Generate a surface model from just the known contours (yellow) and drape the unknown contours (red) on the surface, get the average Z value for the contour and round to the nearest interger.

 

2. Use some combinations of the LeftRightSpatialCalculator and NeighborFinder. Thought is that for each known contour you check whether the nearest known contour on the Left is increasing or decreasing. Then the nearest unknown contour on the left side will be +/-1 and the opposite on the right. Wash, rinse, repeat.

redgeographics
Celebrity
Forum|alt.badge.img+49
jdh wrote:

I have two wildly different suggestions.

1. Generate a surface model from just the known contours (yellow) and drape the unknown contours (red) on the surface, get the average Z value for the contour and round to the nearest interger.

 

2. Use some combinations of the LeftRightSpatialCalculator and NeighborFinder. Thought is that for each known contour you check whether the nearest known contour on the Left is increasing or decreasing. Then the nearest unknown contour on the left side will be +/-1 and the opposite on the right. Wash, rinse, repeat.
My first suggestion would be #1 too, it would be an interpretation though, depending on how wild the terrain changes in the black contours it may or may not be correct.

 

 


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Author
  • Evangelist
  • November 24, 2017
jdh wrote:

I have two wildly different suggestions.

1. Generate a surface model from just the known contours (yellow) and drape the unknown contours (red) on the surface, get the average Z value for the contour and round to the nearest interger.

 

2. Use some combinations of the LeftRightSpatialCalculator and NeighborFinder. Thought is that for each known contour you check whether the nearest known contour on the Left is increasing or decreasing. Then the nearest unknown contour on the left side will be +/-1 and the opposite on the right. Wash, rinse, repeat.
Hi @jdh, thanks your help.

 

The number 1 = is use the transformer SurfaceModeller ?

 

Thanks,

 

Danilo

danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Author
  • Evangelist
  • November 24, 2017
redgeographics wrote:
My first suggestion would be #1 too, it would be an interpretation though, depending on how wild the terrain changes in the black contours it may or may not be correct.

 

 

Thanks @redgeographics :)

 


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Author
  • Evangelist
  • November 26, 2017
danilo_fme wrote:
Hi @jdh, thanks your help.

 

The number 1 = is use the transformer SurfaceModeller ?

 

Thanks,

 

Danilo
@jdh and @redgeographics

 

hi, is ok with my Workspace above?

 

 

Thanks,Danilo

redgeographics
Celebrity
Forum|alt.badge.img+49
danilo_fme wrote:
@jdh and @redgeographics

 

hi, is ok with my Workspace above?

 

 

Thanks,Danilo
Yes, that should do the trick.

 

 


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Author
  • Evangelist
  • November 27, 2017

Hi @redgeographics,

This process is so slow? Attached the logfile.

Thanks, - log-file.txt

Danilo


redgeographics
Celebrity
Forum|alt.badge.img+49
danilo_fme wrote:

Hi @redgeographics,

This process is so slow? Attached the logfile.

Thanks, - log-file.txt

Danilo

Hard to say without knowing how much data you're processing. It has to build a surface model out of the existing contours, then drape the intermediate ones over that.

 

 


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