Hi Martin,
I checked around and am fairly sure the answer is you can't do this
using a fanout.

What I think you'd have to do is a batch process - so if all your
photos are currently in a single dataset you'll need to run it as a
two-part translation to a) separate them out then b) process them in
batch, setting the GEODB_FEATURE_DATASET keyword for each one.

eg fme workspacename.fmw --SOURCE_DATASET x --GEODB_FEATURE_DATASET x

I can see that creating a batch file with a command for each index
would be potentially as time-consuming as doing everything manually,
so what I'd suggest is creating the batch file using the
separate-dataset part of the translation.

ie Create a workspace that...

Reads the source for the index
Uses Concatenator to create a string...
"fme workspacename.fmw --SOURCE_DATASET" + (INDEXNAME attribute) +
"--GEODB_FEATURE_DATASET" + (INDEXNAME attribute)
Write the string to a text writer
Do a Dataset Fanout on the source data to create the separate inputs

Secondly create a workspace to take a single index as input and write
it to the geodatabase

Run the first workspace
Run the batch file created by the first workspace (that calls the
second workspace once for each index)

You get the idea? It might need tweaking a bit (eg for full pathnames)
but I think it should work fairly well.

I will also file a PR to see if there's a way that we can expose this
writer keyword on a fanout (would probably be dataset fanout, but with
the same effect)

Hope this helps,

Mark

Mark Ireland, Senior Product Specialist
Safe Software Inc. Surrey, BC, CANADA
[EMAIL PROTECTED] http://www.safe.com
Solutions for Spatial Data Translation, Distribution and Access

--- In [email protected], "Martin Olney" <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> ________________________________
>
> From: Martin Olney
> Sent: Fri 5/01/2007 10:00 AM
> To: '[email protected]'
> Subject: Fanout feature datasets
>
> Hello to all
>
> I sent this question on the Friday before Christmas (msg #13109) but
> haven't had any response. Either this has been put into the too
> basket or most people are still on holidays or both. Just in case it
> slipped through unnoticed I have sent it again.
>
> I have more than 3000 aerial photography indexes that I would like
> to have in 1 Personal Geodatabase. Each index will be a separate
> Feature Dataset containing Feature Classes for frames, points and
> runs. Is there a way to create Feature Datasets as a fanout from an
> attribute? I can fanout to a Geodatabase and Feature Class with no
> problem, but a Feature Dataset appears to be a manual parameter
> setting.
>
> Regards
>
> Martin Olney
>
> Geospatial Maintenance - Topo Section
> Geographic Services Branch
> Information Services Division
> Landgate
>



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