Hello, I am new to FME and use Quick Translater on files downloaded from GeoFabrik. Is there a way to force Translator to make shape files for each subcategory? For instance, I am extracting the data highway. I would like Translator to make different shapes files for the subcategories primary and secondary in on single step. I tried out different options but did not find a solution. Also, with the default parameters some features are missing. I modified some parameters and now it goes better but I don't which parameter is responsible as the help is very parsimonious. Can you recommend me a set of parameters with which extraction unfolds like a charm?
I think you should start using FME Workbench.
The Shape writer allows you to pick an attribute for the Shape file name (in your case the subcategory).
And then you can run the created FME workspace, using Quick Translator if you prefer that tool.
Hope this helps.
I agree with Erik Jan, the quick translator is for running translations without any transformation.
FME will try to convert the data as is to the destination format.
For transforming the data or manipulating the result (look up fanout in the documentation) the workbench application is what you need.
The script/workspace can then be run in the quick translator.
Hope this helps,
Itay
Sorry, I tried to do what you say but I still cannot separate feature subcategories. What I do is the following: I click on the reader icon and there I indicate the .osm file. In "Dataset" I select the directory where to safe the shapes. In "Parameters" I select the category landuse and I want that for all subcategories shapes are written without merging them together into a single shape. For instance, I want that all forests are written into a single file, as well as grassland, meadow and so on in one single operation. Is that possible?
Apparently, with the writer this is not possible (or must I check "Single Merged Feature Type"?). So I need a transformer. When I click on the Transforme icon, I get a huge list of them. Which one I need? I can't go through all of them and try them out so please tell me which one does what I want to do.
Thanks a lot
Sorry, I tried to do what you say but I still cannot separate feature subcategories. What I do is the following: I click on the reader icon and there I indicate the .osm file. In "Dataset" I select the directory where to safe the shapes. In "Parameters" I select the category landuse and I want that for all subcategories shapes are written without merging them together into a single shape. For instance, I want that all forests are written into a single file, as well as grassland, meadow and so on in one single operation. Is that possible?
Apparently, with the writer this is not possible (or must I check "Single Merged Feature Type"?). So I need a transformer. When I click on the Transforme icon, I get a huge list of them. Which one I need? I can't go through all of them and try them out so please tell me which one does what I want to do.
Thanks a lot
What you need is a feature type fanout, as suggested before I advise you to read in the documentation about it and search the knowledge base for this topic.
What you need is a feature type fanout, as suggested before I advise you to read in the documentation about it and search the knowledge base for this topic.
I saw this fanout and read about it but I can't just check it. It needs an expression. I don't have the time to train myself with FME during months. So please give me exact instructions what to do. Is that so terribly complicated? Its just a simple task I am asking for. What expression I need to add into this fanout field?
I saw this fanout and read about it but I can't just check it. It needs an expression. I don't have the time to train myself with FME during months. So please give me exact instructions what to do. Is that so terribly complicated? Its just a simple task I am asking for. What expression I need to add into this fanout field?
The fanout works on an expression or an attribute value or a combination of the two.
Since you are interested in the subcategories and they are all present in 1 attribute then I suggest using the attribute for the fanout.
See attached template, this will produce 2 different shapefiles since there are 2 distinct values in the attribute (waterschap) used in the fanout