I’m trying to use FME to transfer attribute data (elevations) from points to the vertices of a Z enabled polyline. I am using an Attribute Keeper so the elevations don’t get dropped, Chopper to break up the lines, SpatialRelator to relate the points and vertices, and rebuilding the lines using the Linejoiner. The Eastings and Northings are transferring over but not the elevations. Any suggesting’s to what the issue could be? Is there an alternative solution?
I suppose the elevations that should be related to a single polyline are multiple numeric values, and the number of them should be equal to the number of vertices of the polyline. Is it right?
If so, how can a single polyline feature contain the multiple elevations? A list attribute (e.g. _elevations{0}="100", _elevatins{1}="110", _elevation{2}="120" ...), or a comma-concatenated string (e.g. _elevations="100,110,120,...", or else?
If multiple point features other than the polyline feature contain the attribute that stores the elevation for each point, you can insert a 3DForcer between the SpatialRelator and the LineJoiner to set the elevation value to z-coordinate of the vertices.
If multiple point features other than the polyline feature contain the attribute that stores the elevation for each point, you can insert a 3DForcer between the SpatialRelator and the LineJoiner to set the elevation value to z-coordinate of the vertices.
I'm trying to extract z values from a surface. I have a z-enabled line feature that represents the middle of a stream. This line has approximately lets say 50 vertices. Is it possible to extract the elevation for the vertex?
Without automating this process it becomes time consuming, I have to assign elevations to each vertex manually.
Hope this helps.
Thanks
I'm trying to extract z values from a surface. I have a z-enabled line feature that represents the middle of a stream. This line has approximately lets say 50 vertices. Is it possible to extract the elevation for the vertex?
Without automating this process it becomes time consuming, I have to assign elevations to each vertex manually.
Hope this helps.
Thanks
you could extract begin and end coordinate of every line (after chopping or segmenting the polyline) or use the vertices required, then drape the features on the surface.
Then extract the z of the draped features.
If you rebuild the line, then rebuild the line and want to keep the info, you either need a list (as Takashi said) or set them a a measure (f non-linear..) if needed.
Here is a pic where the roadcenterline is interpolated form the AHN.
I think i posted this befrore including script (acording to the image somewhere feb. 2016)
Other method would be to use neighbourfinder or poinptonpoint with tolerance.
I'm trying to extract z values from a surface. I have a z-enabled line feature that represents the middle of a stream. This line has approximately lets say 50 vertices. Is it possible to extract the elevation for the vertex?
Without automating this process it becomes time consuming, I have to assign elevations to each vertex manually.
Hope this helps.
Thanks
Okay nm I got it small enough. So there are two layers in there. What I'm trying to do is assign z values to the River_Instream dataset.
Okay nm I got it small enough. So there are two layers in there. What I'm trying to do is assign z values to the River_Instream dataset.
Sorry I attached the wrong file.
So what I have here is a feature class called "River_Instream". It is a z enabled line. If you look at the sketch properties for this layer you'll notice that there is X and Y values but no Z values. My goal using FME is to extract elevations from a surface and populate the missing z values for the "River_Instream" feature class.