Sure.

The first thing you will need to do is to extract those first two
characters into a new attribute.  There are quite a few ways of doing
this.  The easiest is the SubstringExtractor.

Once you have this in place, you will want to look at (depending on your
output data type) a feature type fanouts or a dataset fanout.  There are
some great movies available here demonstrating how to do this:
http://www.safe.com/support/demos/index.php#workbench

You may also want to take a look at the Feature Type Filter tutorial, as
it may help in your case.

Jason

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
gelt78
Sent: Thursday, November 09, 2006 08:11
To: [email protected]
Subject: [fme] New user of FME

Hi, I'm a new FME user and I have a little problem.

In our database, there is a field which is the 1:50 000 NTS sheet number
(ex: 32C04, 31J09, 22F12, ...) and i'd like to convert data according to
that field. But in my destination dataset, I want it divided according
to the first two characters (ex:one dataset for 32, one for 31, one for
22).

Is there a way to do it by using a Transformer and how?

Thx!

CG


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