Hello Heather,

> Hi.  I'm a fairly novice user to FME and am stuck trying to figure out 
> the best transformers to use on my project.  I'm inputting a geodatabase 
> polylinez feature class and I am exporting out to a pointz shapefile.  I 
> need to get the beginning vertex and ending vertex of the line and save 
> it as points with it's associated lat/long coordinates. 
>  
> I have tried using the chopper transformer with maximum vertices as 1 
> and I get points but every vertex of the line.  I only want the 
> beginning and ending point of the line.  I also think I need to use the 
> coordinate fetcher to grab the x and y values.

You can use 2 CoordinateFetchers: one set to "1" and one set to "-1". 
That way, you can grab the coordinates of the first and last points of 
the line. Then use 3DPointReplacers to create point objects. Since you 
want both the beginning and the end of the line, you'll have to use 
these in parallel.

Hope this helps.
-- 
Hans van der Maarel
Red Geographics

Zevenbergsepoort 44b            www.redgeographics.com
4791 AE  Klundert               [EMAIL PROTECTED]
The Netherlands                 phone: +31-168-401035




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/
 

Reply via email to