Hi

If you place the below factory as the first factory in you mapping file it 
will test any feature and then reproject if the projection is different from 
LL-GDA94, this is don automaticaly as long as the Coordsys attribute is not 
null.

You should be able to implement the same in WB using a few transformers

FACTORY_DEF * TestFactory                                      \
    FACTORY_NAME "Reprojecter"                                 \
    INPUT FEATURE_TYPE *                                       \
    TEST &fme_geometry != fme_no_geom                          \
    TEST @CoordSys() != LL-GDA94                               \
    BOOLEAN_OPERATOR AND                                       \
    OUTPUT PASSED FEATURE_TYPE *                               \
         @Reproject( @CoordSys(),LL-GDA94)                     \
    OUTPUT FAILED FEATURE_TYPE *

Peter Laulund

>From: "gunter_nt" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: [fme] Extracting coord sys
>Date: Thu, 08 Dec 2005 03:17:05 -0000
>
>Is there a way to extract the coord sys from the input file.
>Basically I want users to be able to pass TAB files in one of 3 or 4
>coordinate systems into a batch file and I want the first step of the
>batch file to convert it to 'LL-GDA94' before processing any further.
>
>Thanks
>Gunter
>
>
>
>
>
>
>
>
>
>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
>
>
>
>
>
>

_________________________________________________________________
Del din verden med MSN Spaces http://spaces.msn.com





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