Thanks for that Peter. I had thought of that option, however someone 
here more knowledgable than me on mapinfo claims that even when that 
is done, hidden obj attributes are left which causes problems??? 
He's not here until next week though and I can't for the life of me 
find these obj attributes. From what I can see the deletions do the 
trick so I'll just start heading down your suggested path in the 
meantime.

Thanks again. :)

Damian


--- In [email protected], "peter laulund" <[EMAIL PROTECTED]> 
wrote:
>
> Hi
> 
> I dont think you can do that, but you can just delete the *.map 
and *.id 
> files after the translation, then Mapinfo would see these files as 
not 
> mappable
> 
> To do it automatically you can use the FME_END_TCL directive and 
then have a 
> smal tcl proc do all the 'dirty' work
> 
> a tcl function doing this could look like this
> 
> In the mapping file / workespace put
> FME_END_TCL source {<path>/mytclscript.tcl}  ; dropMI_Map 
{$(DestDataset)}
> 
> where <path> is tha path to the script
> 
> and in the myscript.tcl file put this
> proc dropMI_Map {dataDir} {
> 
>      set worDir [pwd]
>      cd $dataDir
>      foreach f [glob -nocomplain -- *.id ] {
>              catch { file delete -force -- $dataDir/$f }
>      }
> 
>      foreach f [glob -nocomplain -- *.map ] {
>              catch { file delete -force -- $dataDir/$f }
>      }
>      cd $worDir
> }
> 
> have fun
> Peter Laulund
> 
> 
> 
> >From: "badsac64" <[EMAIL PROTECTED]>
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: [fme] Making Mapinfo Tab files non-mappable
> >Date: Wed, 09 Aug 2006 07:23:19 -0000
> >
> >Hello. Not sure if this is doable in fme or not. But I'm 
converting
> >csv files into mapinfo tab datasets. However they are coming out 
with
> >ID and MAP files and Mapinfo sees the files as mappable. It's
> >important that these files don't be mappable so I've been trying 
to
> >figure out a way of stopping this. I've tried setting the 
mapinfo_type
> >to mapinfo_none but that didn't work. So with that I've drawn a 
blank.
> >
> >Has anyone got an idea of whether this can be solved from within 
fme?
> >
> >Thanks,
> >
> >Damian
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >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
> >
> >
> >
> >
> >
> >
> >
> 
> _________________________________________________________________
> Log på MSN Messenger direkte på nettet  
http://webmessenger.msn.com/
>









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/
 


Reply via email to