Hi Mark, and thanks for your reply. First; the lines that I was talking about do not have a constant elevation. They are originally based on a table with linear referencing, and get their geometry (including elevation) from the road they are referenced to. When I move them away from the centre line, I would like them to still follow the elevation profile of the road. The lines represent walls for noise reduction, and I want to generate as good geometry as possible for them without measuring out there in the real world.
Before I posted the message yesterday, I tried a solution similar to the one that you are suggesting. I saved the elevation of each point in a list, and was planning to merge these elevations to the matching points in the buffered feature. But, the problem is that the lines are curved, and therefore, the buffered lines can get more points (outer curve) or fewer points (inner curve) than the original feature. So there is not a 1:1 relation between the points in the original line and the points in the buffered line. Maybe there could be a way of interpolating the elevation of the points in the new line from the points in the old line? Anyway, I ended up draping the new lines on a surface that I built from road lines only. It seems that the result from this solution is good enough for my purpose, but what I would really like is a 3D buffer transformer, or a parallellize transformer! Regards, Knut Jetlund --- In [email protected], "mark2atsafe" <[EMAIL PROTECTED]> wrote: > > Hi Knut, > I think it might be easier to work with the Bufferer and try to copy > the elevations back onto the feature. Do these features have constant > Z values (eg contours or perhaps buildings)? If so, the > ElevationExtractor and 3dForcer transformers would do the job very simply. > > Otherwise, I think you'll have to drop the line features into points > (Chopper), extract the Z coord from each point in the original feature > (CoordinateFetcher), copy the Z value to the matching point on the > buffered feature (FeatureMerger) then join the buffered points back > into a line (PointConnector). > > And I'd do the process on one side at a time - ie buffer on the left > hand side and do the above. Then buffer on the right hand side and > repeat - the reason being I'm not sure how well the order of points > will match up with more than 2 features. > > Hope this helps, > > Mark > > Mark Ireland, Senior Product Specialist > Safe Software Inc. Surrey, BC, CANADA > [EMAIL PROTECTED] http://www.safe.com > Solutions for Spatial Data Translation, Distribution and Access > > > --- In [email protected], "kjetlund" <knut.jetlund@> wrote: > > > > Hi > > I'm working on a project where I want to create parallell lines within > > a certain distance from existing lines, and keep the elevation (Linear > > referenced objects that i want to move out from the center line). I've > > tried using the Buffer transformer, which does a good job on creating > > the parallell lines, but looses the elevations. I can of course drape > > the new lines on a surface that I build from the old lines, but is > > there a better way to do this? > > Thanks, > > Knut Jetlund > > > For insights into what's up at Safe Software and what's on the development horizon, visit Safe's blog at spatial-etl.blogspot.com. Safe Software has also made slides available that outline enhancements planned for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 of the FME Worldwide Users Conference. To view these slides, visit www.safe.com/2006uc. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/fme/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
