Hi Rafael, There are two ways in which FME can handle measures. The first is to store them as a comma separated list within a format attribute called shape_measures. The second is to convert them to a Z coordinate.
In this case you would be better to convert them to a Z coord. That way the points will have the correct value when they are chopped. You can then convert this to an attribute with a CoordinateFetcher. The 'convert to Z' setting is in the navigation pane under the Shape dataset parameters. With a comma separated list you'd have to match each entry to the correct point. You could do this with an AttributeSplitter to create a list proper, then a Counter to give each point an ID and finally a ListIndexer to extract the correct info for point x. It would work but carries a degree of uncertainty (for me at least) because I would never know if the points were being created in the same order as the measures within the list. Hope this helps, Regards, Mark Mark Ireland, Product Support Engineer Safe Software Inc. Surrey, BC, CANADA [EMAIL PROTECTED] http://www.safe.com Solutions for Spatial Data Translation, Distribution and Access --- In [email protected], Rafael Cruz <[EMAIL PROTECTED]> wrote: > > Hi Mark, > > How about the measures, how do i extract the m (measures) from an m enabled polyline? > > > Regards, > Rafael > > mark2atsafe <[EMAIL PROTECTED]> wrote: > Hi David, > As with Jerry's question you can achieve this by using a Chopper on > the polyline (with number of vertices set to 1) followed by a > CoordinateFetcher. This will give you a whole series of points each > with an X,Y coord as attributes. > > If you need the x/y coords all attached to the line feature (say as a > list) then simply route the chopped point features into a > FeatureMerger as the supplier, and the line into the Requestor port. > Enter a list name into the FeatureMerger settings dialog. If there is > more than one line, and there is no unique ID attribute, then you can > use a Counter first to create a new ID. > > Hope this helps, > Regards, > > Mark > > Mark Ireland, Product Support Engineer > Safe Software Inc. Surrey, BC, CANADA > [EMAIL PROTECTED] http://www.safe.com > Solutions for Spatial Data Translation, Distribution and Access > > --- In [email protected], "Murray, David" wrote: > > > > How can I extract xy coordinates from a shape file polyline in FME. > > > > Any advice would be helpful > > > > David Murray > > Senior GIS Administrator > > Transportation Research & Technical Services > > Planning Division > > Greater Vancouver Transportation Authority (TransLink) > > Phone: 604-453-4671 > > Fax: 604-453-4697 > > > > > > > > > > Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. > Yahoo! Groups Links > > > > > > > > > > > > --------------------------------- > Yahoo! Shopping > Find Great Deals on Holiday Gifts at Yahoo! Shopping > Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> 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/
