Hi
Hardcoding is of course farster than using a joiner/@Relate() on the other hand I think FME do a pretty god job. If you have many attributes (more than 10 ?) I think that the @Realte() could be just as farst as using 10 different @SupplyAttributes() functions A few years back using @Relate() with a odbc connection was pretty slow and dBaxe, csv was quit fast, now if you use the caching functionality with odbc makes it just as fast as the more simp local tables. Peter >From: "annettefarrell" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: [email protected] >Subject: [fme] Re: idgs - associate constants with all levels. >Date: Mon, 28 Feb 2005 14:28:49 -0000 > > > > >Peter, > >What's the performance like if you use a joiner transformer or >@Relate function instead of hardcoding the info into the workspace. >Here I'm using the same constants so it makes sense in this case only >to hardcode the info for these constants. > >Thanks, > >Annette > > > >--- In [email protected], "peter laulund" <[EMAIL PROTECTED]> >wrote: > > > > Hi > > > > The best way to do things like this is to create a databse >(dbf,csv, mdb,..) > > contaning a collum / attribute and a key collum (leve) and then use >a > > @Relate() to join the attriubtes onto the features. > > > > This way you dont have to hardcode a lot off stuf in the workespace >and when > > you have to change the data and add a level #36 all you have to do >is add a > > new row in the database. > > > > I always try to use this approach in my mapping files - let the >mapping file > > do the logick and putt all 'metadata' in a databse, the advantage is > > 1. it simplifys the mapping file / workspace > > 2. adding new featues is esay ( just add a new reccord ) > > 3. cheking and validating the metadata is esay when you have them >in one > > place, and can use the tools i a databse to do this > > 4. some time you can reuse the db for more than one project > > > > I normaly use a dBase file, i workes farst with FME and you can >edit it in > > MapInfo, ArcView, ..., but any database will do. > > > > For one project i have databses with 30-40 collumns and 300 rows >and it work > > like a dream:-) > > > > Peter Laulund > > National Survey and Cadastre, Denmark > > > > >From: "annettefarrell" <[EMAIL PROTECTED]> > > >Reply-To: [email protected] > > >To: [email protected] > > >Subject: [fme] idgs - associate constants with all levels. > > >Date: Tue, 22 Feb 2005 18:25:57 -0000 > > > > > > > > > > > > > > >My destination dataset has 35 levels. > > >I was to associate the same constant values with the following > > >attributes for each level idgs_colour, idgs_type, idgs_weight, > > >idgs_style. > > > > > >Is there a quick way of doing this. > > > > > >I notice if I select a level, and the constants that are connected > > >to, I can make a copy and paste the feature maintaining the >constants > > >connected to the new level. > > > > > >That's fine if you haven't already got all the levels set up. > > > > > >Any thoughts? > > > > > >thanks > > > > > >A > > > > > > > > > > > > > > > > > > > > > > > > > > >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 > > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > F� alle de nye og sjove ikoner med MSN Messenger >http://messenger.msn.dk/ > > > > > > > > >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 > > > > > > > _________________________________________________________________ Find alt det, du s�ger p� MSN S�g http://search.msn.dk 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/
