Hi Mark

Thanks for that ... the key was the READ_INVISIBLE_LAYERS on, add 
the source mdx and then once in the workspace turn it off. And you 
were right FME "skipped the layers" not visible.

This is a very cool function ... give those programmers a beer!

Regards Garry

--- In [email protected], "Mark Ireland" <[EMAIL PROTECTED]> wrote:
> Hi Garry,
> I think that capability is already in FME - at least in the latest
> betas.
> 
> There is a keyword called READ_INVISIBLE_LAYERS (which should be 
in the
> navigation pane of the workbench GUI) which you can turn on and 
off.
> 
> If you turn this off then FME will only read visible layers.
> 
> NOTE! - it is important to have this keyword turned to ON when you
> create the workspace. 
> If you do this then FME will create source Feature Types for ALL 
of the
> layers - but subsequently you can turn the setting off and FME 
will only
> read visible layers.
> 
> If you don't do this then FME will only create source Feature 
Types for
> visible layers - so turning an invisible layer back on for 
subsequent
> reads will have no effect because there will be no Feature Type 
for it
> in Workbench (which means the data is ignored - check the 
Unexpected
> Input Remover in the log file to see if any items have suffered 
this
> fate).
> 
> Hope this helps; if you aren't keen to use a beta build then 
FME2005 is
> being released very shortly and will contain this function.
> 
> Regards,
> 
> Mark
> Mark Ireland, Product Support Engineer
> Safe Software Inc. Surrey, BC, CANADA
> [EMAIL PROTECTED] http://www.safe.com
> Solutions for Spatial Data Translation, Distribution and Access
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of
> garry_christoffersen
> Sent: April 26, 2005 7:22 PM
> To: [email protected]
> Subject: [fme] ESRI ArcGIS 9.x Map (.mxd)
> 
> 
> 
> 
> Greetings all
> 
> I'm currently experimenting with FME 2004 Ice 3 and the ArcGIS 9.x 
Map
> format. 
> 
> The ultimate goal is to build a workbench that takes the data from
> ArcMap (of visible layers that by the way ... will change), use 
some
> transformers to work with attributes and other stuff and produce an
> AutoCAD dwg. I've got it working with my source ArcMap document 
and the
> dwg also appears to honour the feature colours and map extent etc
> defined in the map document and its all pretty cool.
> 
> But what I want to be able to do is to change the ArcMap visible 
layers
> ie have a sub-set of the original layers in the map document (and
> originally read into workbench), save the mxd and then re-run the
> original workbench (without editing the workbench or changing the 
source
> or destination datasets). The idea is ArcMAP would become 
an "interface"
> for exporting data, where the user can choose the visible layers,
> without having to modify the workbench.
> 
> Would appreciate any thoughts, approaches or advice on this.
> 
> Regards Garry
> 
> 
> 
> 
> 
> 
> 
> 
> 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






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