Hi Bjørnar, That is an interesting task you need to carry out. I can confirm that the VertexSnipper isn't working - or at least it doesn't produce what I would expect - so will file a PR without our developers to have them look at it.
In the meantime you could use a custom transformer on fmepedia called the CoordinateFeatureExtractor - which extracts sections of a line/polygon feature according to the chosen coordinates. It's a bit like the vertexSnipper, without using that transformer in it, so you should be OK to use it. I can't really see another way to snap to a point at an arbitrary distance from the end of the line - but I hope the above transformer should help to make things easier. > By the way, using AnchoredSnapper with points as Canditate and lines > as Anchore does not work if I choose Snapping Type = Vertex (i.e. > Im "forced" to use end nodes). I don't see that problem. Have you tried the latest beta? Do you have a demo dataset I can recreate this with? Regards, 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], Bjørnar Nordeidet <[EMAIL PROTECTED]> wrote: > > VertexSnipper > I would like to remove the first and last node of lines (i.e. > existing end nodes). > Using VertexSnipper works ok for removing first node (use 1 as > starting vertex) but I tried using -2 as ending vertex but that did > not work....Why? Possible work around is of course to flip all lines > (orientor) and then use VertexSnipper again.... > > Add point along line: > Acutally my use of VertexSnipper is another workaround :-) > I need to snap point features onto existing lines but not to the end > node but at a user spesicied distance from line end (start or end). > > I have used the Densifier tranformer and then removed last vertex > and then used AnchoreSnapper (my point are all near pipe ends). But > with thousands of rather long lines the amount of vertexes is huge! > Any suggestions how to only create 1 point along a line at a user > spesified distance eighter from start og end? > > By the way, using AnchoredSnapper with points as Canditate and lines > as Anchore does not work if I choose Snapping Type = Vertex (i.e. > Im "forced" to use end nodes). > > It would also have been great to have a "snapper" transformer that > snaps point features angular onto nearest line (and not depending on > vertex or endnode) and at the same time NOT split the line. > > Bjørnar > 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/
