Hi all,
I'm trying to generate two circles that regard one node of a line 
segment as center point respectively,using the follwing statements in 
my mapping file.

¡­¡­
FACTORY_DEF * TeeFactory                                          \
FACTORY_NAME "Get Line Segment Nodes"                             \
INPUT FEATURE_TYPE line                                           \
OUTPUT  FEATURE_TYPE line_1                                       \
   x @Coordinate(x,0)                                             \
   y @Coordinate(y,0)                                             \
   @SupplyAttributes(z,0)                                         \
OUTPUT  FEATURE_TYPE line_2                                       \ 
   x @Coordinate(x,-1)                                            \
   y @Coordinate(y,-1)                                            \
   @SupplyAttributes(z,0)   

FACTORY_DEF * TeeFactory                                          \
FACTORY_NAME "Create Circle"                                      \
INPUT  FEATURE_TYPE line_1                                        \
INPUT  FEATURE_TYPE line_2                                        \
OUTPUT FEATURE_TYPE circles                                  \        
   @Dimension(2)                                                  \
   @XValue(&x,RESET)                                              \
   @YValue(&y)                                                    \
   @GeometryType(fme_point)                                       \
   @SupplyAttributes(fme_primary_axis,2)                          \
   @SupplyAttributes(fme_secondary_axis,2)                        \
   @SupplyAttributes(fme_rotation,0)                              \
   @SupplyAttributes(fme_start_angle,0)                           \
   @SupplyAttributes(fme_sweep_angle,360)                         

FACTORY_DEF * RecorderFactory                                     \
INPUT FEATURE_TYPE circles                                        \ 
FEATURE_FILE "$(FME_MF_DIR)/temp.ffs"                             \
MODE RECORD_PASS_THROUGH

¡­¡­

Though I could see the circles in the temp.ffs file with FME Viewer,I 
could not found them in the destination file.

Why?

In addition, how to generate circular arc using CreationFactory?

Any help will be greatly appreciated.

fang









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/
 


Reply via email to