Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a problem with FME:

I published a workspace on FME Server. The workspace converts Geodatabase Files to MapInfo TAB. I'd like to call the generic workspace with FME Server to convert other geodatabase. An idea?

Thanks

share|improve this question
    
Going to need more information, like what your server log for the job says. So we can see what may be happening. –  D.E.Wright Jun 1 '11 at 21:50
    
OK. I have many File Geodatabase to converted into several files -> MapInfo, Excel, KML. I don't know how I make my workbench to make it generic. I like to call it on the server FME whenever I need to convert a geodatabase to MapInfo or KML. Thanks –  twisig Jun 1 '11 at 23:02
    
You might ask this on FMETalk if you haven't already. Also if French is your first language I bet some of the Safe support people speak it. –  blah238 Jun 2 '11 at 2:55

2 Answers 2

up vote 8 down vote accepted

An FME workspace can handle any amount of data in any format if it is predefined in the workspace. If it cannot be predefined then FME has special functionality to read any format of data (what we call "Generic") and read any data schema ("Dynamic").

In this case it's unlikely that the Generic functionality will help. Firstly there is no need for it because the format will always be the same and secondly (as pointed out) the Generic reader won't work with database formats (it's a file only technology).

Whether you will need to use the dynamic functionality depends on the nature of the other Geodatabases.

If all Geodatabases will contain the same set of tables/classes, then you don't need to use the Dynamic tools. You just need to pick a different Geodatabase at run time and it will run to completion.

If the Geodatabases will contain different tables/classes, or the same tables with different attributes, then you need to use Dynamic functionality.

Do it like this:

1) When creating the workspace, check the Dynamic Option on the dialog:

Dynamic Option

2) This will create a workspace like this, with one layer only and no attributes:

Dynamic Workspace

3) Run this workspace (File > Prompt and Run) and you get prompted to select which tables (Feature Types) to read. You can choose any of them:

Feature Types to Read

4) This gives you the required output:

Output

5) The next time you run the translation you can choose a different Geodatabase. This gives a different set of tables to read:

Different Geodatabase

6) But because the workspace is dynamic, it works just the same:

Different Output

This is obviously being run from within Workbench. But run from Server the effect will be the same.

Hope this helps. Sorry for such a lengthy post!

share|improve this answer
    
This is exactly what I was getting towards; you are better and getting through your docs than I was. –  D.E.Wright Jun 2 '11 at 17:04
    
It's dynamic operation with FME Server. So How to read the feature type dynamic ? –  twisig Jun 2 '11 at 20:13

You are probably looking for something similar to this from FMEpedia Sample download that is available from Safe. The sample download and setup is pretty easy, I use a stripped down version in a process to convert files on the fly into a staging location.

blah238 is right, you can post to FMETalk or browse through FMEPedia and get a lot of info. Plus is atleast one SAFE person who pops through here quite often (Hey Mark are you listening?) that can give you some scoop as well.

Better Answer I think...

Ok, I think what you really may be looking for is the Generic format reader. This is the magic in the sample I reference above; this will let you define a array of the formats to read-in and write out that will get you to what I think you are really looking for. So you couple this with the DynamicSchema and you can import just about anything and then run it through your other steps to output what you need.

share|improve this answer
    
Generic reader won't work with databases, which I'm not positive but I would imagine includes ESRI file geodatabases. –  blah238 Jun 2 '11 at 7:09
    
Correct GENERIC READER will not work with database formats only single file formats –  Mapperz Jun 2 '11 at 13:57
    
Sorry for my language ! > blah238. –  twisig Jun 2 '11 at 16:30
1  
I suspect Generic Reader will work with Personal Geodatabases (since they are a single file) but not with File Geodatabases (which aren't a single file - go figure!) Whether it will be able to tell - automatically - the difference between a Geodatabase MDB file, a GeoMedia MDB file, or a plain Access MDB file I'm not sure! –  Mark Ireland Jun 2 '11 at 16:54
    
Generic Reader work fine with Geodatabases Files (FME Desktop 2012 sp5) –  twisig Feb 25 '13 at 17:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.