Cindy,

> I found it's quit unconvenience to read/write my format. I'd like 
> something that I can put my own format to FME Format list and be able 
> to reader my format and transfer it to anything else or transfer 
> anything else to my format. 
> 
> Am I able to do that? Am I able to write my own reader/writer?
> 
> The customer format seems only can read one format and transfer it to 
> another specified format. Am I right?
> 
> Thanks very much for any help!

You can create an FME Datasource, which is essentially an FME workbench 
that acts as if it's a custom format. You can only *read* these though. 
There's a sample available here that you can take a look at:
http://redgeographics.com/download.php?downloadfile=NMEA-0183_compliant_GPS_log.zip

Keep in mind that not everything can be handled this way. Specifically, 
there has to be a reader for the basic type of file available. In my 
sample, I'm reading a plain text file, so I've used the CSV reader. If 
you want to support totally new (binary) formats, you'll have to write 
your own reader, which is a lot more work.

Hope this helps.
-- 
Hans van der Maarel
Red Geographics
www.redgeographics.com / [EMAIL PROTECTED]





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