Hi Michelle, > Could the cell polygon be dropped because FME is reading the > igds_level as 0 and the writer doesn't know where to put them?
That could be - but the level for a cell header is usually 0; it's the level for the elements that matters. I wonder if the cells are actually named cells? Looking at the documentation it seems that donuts are formed by nested cells - one inside the other. However, FME only creates donuts when the root cell is unnamed. If it has a name then "no donuts are formed in case the unnamed cell contained overlapping polygons". See FME Readers and Writers Manual > Design File R/W > Feature Representation > Cells If this is the case then I think you'll have to expand the cells and then try to create donuts out of them within Workbench. You may find that exploding the cells leaves a format attribute that will tell you which elements came from which cell, and that will certainly help. If this isn't the case then I'd suggest you send a copy of your data to [EMAIL PROTECTED] and ask them to look into it for you. 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 --- In [email protected], "Michelle McCahon" <[EMAIL PROTECTED]> wrote: > > Mark > > Apologises for my late response but other work has kept me away from > FME. Thank you for your suggestions to my initial problem, which remains > unsolved. I took your suggestions into consideration and this is what I > did. > > To refresh your memory, my workbench file is set up like this: > 1. source file: dgn (V7) - contains a legend as a cell (this dgn was > created by FME in an earlier step) > 2. source file: dgn (V7) - contains polygons (this dgn was created by > FME in an earlier step) > 3. source file: dgn (V7) - contains labels (this dgn was created by FME > in an earlier step) > 4. output file: dgn (V7) > All the source files are directly linked to the output dgn, no > transformers in between. I have used cloner and value mapper together > and individually without much success (in this case), so I am opting to > test this as simply as possible. > > 1. To start out, I ran this script and the output dgn contained > everything - cells, labels and all the polygons (including cell > polygons) but they were dumped onto level 1. This is a good result but > not practical as I need to have the polygons and associated labels split > onto specific separate levels. > > 2. Next I routed the output to FFS and Viewed the output ffs - all the > data; polygons (including the cell polygons), labels and the cell were > there - based on your thoughts, this result suggested the IGDS Reader is > ok. Out of curiosity I did enquiries on the cell polygons and looked at > the attribute information, noting the following: fme_geometry = > fme_donut, fme_type = fme_area, igds_level = 0, igds_type = igds_solid. > > 3. Next I switched off the route to FFS, and set the Fanout Feature to > igds_level on the output dgn. Result: The output dgn included the cell, > all labels and polygons except for the cell polygons - they were > dropped, those polygons that did come through were put onto the correct > levels. > Could the cell polygon be dropped because FME is reading the igds_level > as 0 and the writer doesn't know where to put them? Even if I use the > fme_donut attribute to identify the polygons, how do I get FME to put > the cell polygons on their correct levels. > > Note: On the source polygon dgn, I switched the expand named cell option > to yes: result included the cell polygons but no level structure, with > expand named cell option to no: result no cell polygons but has level > structure. > > I am assume the writer is having a problem, any other suggestions would > be appreciated. > > Thank you for your time. > Have a nice day! > Regards > > Michelle McCahon > > Cartographic Officer > Land Claims Mapping Unit > Department of Land Information > > 1 Midland Square Midland > Western Australia 6056 > > Telephone: +61 8 9273 7465 > Fax: +61 8 9273 7615 > Email: [EMAIL PROTECTED] > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of > mark2atsafe > Sent: Saturday, 27 May 2006 12:00 AM > To: [email protected] > Subject: [fme] Re: Combining DGN's - Dropped polygons > > Hi Michelle, > The first thing to determine is whether this occurs when reading the > data or writing it. In the navigation pane (left hand side of > Workbench) locate the 'Workspace Settings' and set the Destination > Redirect to redirect to an FFS file. This means that all the data > being read will get sent to this file (instead of being written to DGN). > > Then open this FFS file in the FME Viewer. How does the data look > there? If it looks wrong then reading is presumably the problem, if it > looks OK then it must be in the writing. > > What version of microstation are you using, V7 or V8? Are you > converting from one version to another? It seems strange to me that > reading and writing to the same version of the same format would cause > anything to be lost. > > Anyway - once you determine whether it is reading or writing, > experiment with the settings - for example the explode cells option. > Do you have the three files as three different datasets in FME, or > three files under a single dataset? If they are listed as three > datasets then you'll have three lots of settings to check. > > Also - try it without the fanout, just to see if it works OK. It > doesn't provide a solution but it helps us to determine where things > are going wrong. > > Hope this helps, > > 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 > > > > > --- In [email protected], "Michelle McCahon" <Michelle.McCahon@> > wrote: > > > > Yes - sorry I forgot to mention that. The fanout feature on igds_level > > is working because the polygons and the labels that do come through, > go > > to their assigned levels. > > > > I have now tried bypassing the Cloner and directly link all the levels > > to the output but I am getting the same result - the cell polygons are > > still being dropped. > > > > Thank you for your time. > > Have a nice day! > > Regards > > > > Michelle McCahon > > > > Cartographic Officer > > Land Claims Mapping Unit > > Department of Land Information > > > > 1 Midland Square Midland > > Western Australia 6056 > > > > Telephone: +61 8 9273 7465 > > Fax: +61 8 9273 7615 > > Email: michelle.mccahon@ > > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of > > Martin Olney > > Sent: Friday, 26 May 2006 1:10 PM > > To: [email protected] > > Subject: RE: [fme] Combining DGN's - Dropped polygons > > > > In the destination file have you set fanout to igds_level? > > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of > > lcmu_0306 > > Sent: Friday, 26 May 2006 11:02 AM > > To: [email protected] > > Subject: [fme] Combining DGN's - Dropped polygons > > > > Hello FMEr's > > > > I am having a problem combining 3 design datasets, into 1 final > > design. The master design datasets contain labels, a cell and > > polygons. The master label and polygon datasets will change and I > > want those changes to be reflected in the final design in the future. > > At the moment I have set up FME to read all 63 levels within the > > master datasets. > > At the moment I have used Cloner to combine the datasets but in the > > final design, the level structure is retained but I lose some of the > > polygons. The polygons that get dropped are 'cell polygons' > > (identified in Microstation as Cell Header Type 2's) ie they have > > holes within the external boundaries, all the other 'complex shapes' > > are copied through and on the correct levels. Is there a way to > > identify these cell polygons? Initially I thought that the type > > needed to be specified, ie igds_shape or igds_solid but this didn't > > seem to make a difference. > > Also when I use ValueMapper after Cloner, all the polygons get copied > > through, including the cell polygons but I lose the level structure, > > everything gets dumped onto level 1. > > I am confident it can be done but I can't seem to get the right > > combination. Any suggestions would be appreciated. > > Note: using FME Workbench Beta Suite 2006. > > > > Thank you for your time! > > Have a nice day! > > Regards > > Michelle McCahon > > > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > This e-mail and any files transmitted with it are intended only for > the > > use of the addressee(s). It may contain information that is > > confidential and privileged. If you are not an intended recipient, > any > > use, interference with, disclosure, distribution or copying of this > > material is unauthorised and prohibited. If you receive this in > error, > > please notify the author by Return email to the sender. Information > in > > this message not relating to the official business of DLI shall be > > understood as neither given nor endorsed by it. While every care is > > taken, it is recommended that you scan any attachments for viruses. > DLI > > liability is limited to re-supplying affected attachments. > > > > ********************** > > > > PLEASE NOTE: All dola.wa.gov.au and vgo.wa.gov.au email addresses have > > been decommissioned. These have been replaced by dli.wa.gov.au > > addresses. Please ensure that your records are updated to reflect this > > change. Further information can be obtained by contacting our service > > desk on 92737533 or emailing Servicedesk@ > > > > ********************** > > > > > > > > > > > > > > > > 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 > Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC Canada. For more information, visit www.safe.com/2006uc. 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/
