Skip to main content
Solved

Attributes in Contour Line

  • November 22, 2017
  • 8 replies
  • 36 views

danilo_fme
Celebrity
Forum|alt.badge.img+51

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.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

8 replies

jdh
Contributor
Forum|alt.badge.img+37
  • Contributor
  • 2002 replies
  • 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+60
  • Celebrity
  • 3704 replies
  • November 23, 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.
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
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • November 24, 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.
Hi @jdh, thanks your help.

 

The number 1 = is use the transformer SurfaceModeller ?

 

Thanks,

 

Danilo

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • November 24, 2017
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
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • November 26, 2017
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+60
  • Celebrity
  • 3704 replies
  • November 27, 2017
@jdh and @redgeographics

 

hi, is ok with my Workspace above?

 

 

Thanks,Danilo
Yes, that should do the trick.

 

 


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Author
  • Celebrity
  • 2077 replies
  • November 27, 2017

Hi @redgeographics,

This process is so slow? Attached the logfile.

Thanks, - log-file.txt

Danilo


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • November 27, 2017

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.