Good Morning All,
I am attempting to get the coordinates for points and the start, 
mid, and end points of polylines from MapInfo into an Access 
database.  I have attempted to use the @Coordinate, it just will not 
fill in the data in the database.  I have also used the 
CoordinateFetcher in the Workbench, it will fill in the coords for 
the points and the start point for the lines.  I see where it is 
mentioned to use the index on the CoordinateFetcher to change the 
location of the point that you want to get; however, I don't see 
where you can set it up to retrieve 3 sets of points.

Here is an excerpt of my fme file that was partially created using 
the workbench file that works with the points.  I do need to name 
the x and y coords with a specific name for another use.

# -----------------------------------------------------------------

FACTORY_DEF * TestFactory                       \
   INPUT  FEATURE_TYPE GIX                      \
   TEST @NumCoords() > 1                        \
   OUTPUT PASSED FEATURE_TYPE *                 \
        STARTX @Coordinate(x,0,FLATTEN_AGGREGATE)    \
        STARTY @Coordinate(y,0,FLATTEN_AGGREGATE)    \
        MIDX    @Coordinate(x,@Evaluate(@NumCoords
()/2),FLATTEN_AGGREGATE) \
        MIDY    @Coordinate(y,@Evaluate(@NumCoords
()/2),FLATTEN_AGGREGATE)  \
        ENDX    @Coordinate(x,END,FLATTEN_AGGREGATE)  \
        ENDY    @Coordinate(y,END,FLATTEN_AGGREGATE) 

Thanks for any help.

L Gilbert
Orlando               





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