Im working with this original template(https://knowledge.亚搏在线safe.com/articles/59335/autocad-dwg-block-attribute-extraction.html).Same reader,but now the Writer is a Geotable.I have added additional transformers for coordinates and to extract attributes in multiple fields instead of one field with all attributes as a list.This is where my question takes place,If I am for example exposing 10 elements(from the AttributeSplitter) but only 6 elements have attribute data,How can I set it up to automatically remove/delete the 4 elements from the Writer that have null values?Attached is the file I am working with,which has the example I mentioned above.
I am currently mapping a MVDxml and I am not able to create multiple values for an attribute.
This is what I want to map:
This is my current xfmap attempt:
I am currently getting one Feature called IfcWall with the attribute Property Sets for Objects,but I get only one value which is PsetName[Value]='Pset_WallCommon'.My Question is: In what way do I have to change my xfmap so that all the other elements show up as values.(Like PsetName[Value]='PsetConcreteElementGeneral' and so on)
*edit
added some pictures for better visibility
What I really love in the new versions of FME is the 'Attribute Tree'.This occurs if you place a.(dot) into a attribute name.It is a great way to group attributes (from different streams) into sub groups.
For example in this project I have global parameters that are generated in the beginning and used in every feature.
If I create anewattribute before this transfomer,all AttributeKeepers need to be adjusted.It would really help to wildcard these groups,because I know I need all my "global." attributes.
So a small toggle on the main group with 3 modes:
- empty (no childs)
- block (some childs)
- circle?keep all childs,without having to reselect when a new one is added to the group
The last option would be a dynamic selection.For example: keep all "_global.*“属性
I use a SQL creator on a Oracle Spatial database extracting around 40 columns.
I would want to score the fid of this extraction in order to use it in the where clause of a post-gis reader.This to avoid the post-gis reader to read all 1 000 000 records when I only need 300 of those.
How can I do this?I did some research but seems I am using the wrong key words as I can't find it.
Thank youSee attaches screen dump.
Is it possible to expose the 3d face boundary coordinates ?
ie coordinates:
0
1
2
3
No luck with GeometryPropertyExtractor (Traits) but I could be missing something.
.............
Geometry Heirarchy is
IFMEFace (not shown on screen dump)
Area:IFMEPolygon (see screen dump)
Boundary:IFMELine (see screen dump)
...............
Any suggestions most welcome
...............
Regards
Howard L'
Hi,
I'm working with openflight models and have been looking for ways to extract the texture name or file name from each model.
Using the SharedItemRetriever,I am able to visually see the textures in Inspector.Each feature displayed,has a IFMERaster listing with an Attribute Name (encoded: UTF-8) and contains the file directory path I need.
How can I access this attribute?Raster Property extractor does not provide a Name attribute output.I tried Geometry Property Extractor and Appearance Extractor and similarly,they either don't reveal a Name attribute or similarly,show the Name attribute under the IFMERaster list.
Hello,
With help of you,I managed the read the osm transportation data that I have attached.However,I am puzzled with tag information.If I open the data in QGIS,I seeother_tagsattribute in linestring data.However,I can not see the attribute when I read in FME.I used AttributeExposer but I still am not able see this tag.
I am particularly interested in this tag as it has additional information such as number of lanes,oneway and width etc.
Thanks in advance.Hi there,
I have some data where one column is only sparsely filled,and I want to fill these missing ones based on another present attribute.Here's a basic representation:
Class | Type |
Mammal | Dog |
Dog | |
Fish | 鳟鱼 |
鳟鱼 | |
鳟鱼 | |
Reptile | Lizard |
Lizard |
What I need to do is fill in all the empty "Class" lines based on the "Type".In the data,each Type will always have at least one entry in Class (aka,no Type will ever be classless),and no Type will have more than one class.
So in short,my current data may have 3 entries with "Trout" and only one of those specify the class as "Fish".What I want is to derive the info from that one Type entry,and fill in all the blank Class lines.
Thanks in advance for any tips!
Best regards,
I would like to identify 360 degree loops formed from a polyline and its attributes.ID's are the same but should only occur on 3 or less edges and not 4,forming the "loop".
Below image gives a clearer overview.
How will I go about identifying these issues?
Thanks
String text = "John.Davidson/05051988/Belgrade Michael.Barton/01011968/Krakov Ivan.Perkinson/23051986/Moscow";
Hello,
I'm currently having a problem with my PostgreSQL and Postgis writers.
When the feature operation is set to "INSERT",the INSERT is perform on all columns of the table instead of just the columns that are specified in the attribute definition.
It result in empty data on columns that arn't defined in the feature attributes but have a default value in the DB.
For exemple :
I have a table with 4 columns (column_1,column_2,column_3,column_4).
Thecolumn_3have a default value ('my_default')
In my script,I have a feature to INSERT some data into this table.This feature have an automatic attribute definition (to avoid defining every new column each time I modify my script).
But my customer havn't any data for the column_3 and the column_4.
So,the feature in FME have only column_1 and column_2 defined in it's attribute definition (beacause I chose the automatic definition option).
After I run the script,the result I'm expecting is this one :
column_1 | column_2 | column_3 | column_4 |
data1.1 | data1.2 | my_default | NULL |
Instead of this,I have this result :
column_1 | column_2 | column_3 | column_4 |
data1.1 | data1.2 | NULL | NULL |
It's beacause FME perform this request :
INSERT INTO my_schema.my_table (column_1,column_2,column_3,column_4)VALUES ('data1.1','data1.2',NULL,NULL);
Instead of this one :
INSERT INTO my_schema.my_table (column_1,column_2)VALUES ('data1.1','data1.2');
As it inserts NULL value for the column_3,the default value can not be used.
My question :
Is there any option to avoid this behaviour and keep my default value ?
PS : I've extremly simplified my case,as our data model is constantly evolving,it will be complicated to define the structure of every table in the attribute definition of FME.It's easier to INSERT only in column that have data and let others working with default values.
The automatic definition helps us as we just have to name a field with the correct name to have it inserted in the DB (we don't have to defined it into the attribute definition).
The reader in my workspace is an ESRI shapefile.I am clipping this to a buffer,changing coordinate system (SnakeGrid) and writing to a MicroStation .dgn.I am copying all the attributes from the .shp and writing as tags.Can I do this for several .shp's at once and it only carry the necessary attributes for each .shp?When I input '*.shp' to read all .shp in a folder,it outputs then individually but with the attributes of all the input shapefiles.
After authoring a workspace I would like to have the ability to automatically remove all attributes from the readers that are not used by transformers and/or writers inside the workspace.Removing these attributes will have a positive effect on performance.It's sometimes a hassle to do this manually in large workspaces.
Hello,
I have please a question about the "CombineOnAttribute" parameter for LineCombiner (FME 2019 Beta)
Is the logical relation between selected attributes to combine on is "AND" or "OR".In other words,2 lines will be combined if they have same values for all selected attributes together or at least one common attribute ?
Thank you very much.
While preparing the Workbench,doing calculation with two or three attribute columns its working fine,but in future the source data if its comes with null values the FME workbench is getting failed.
To avoid failing the workbench currently we need to use filter transformers to success the process,so that the workbench is becoming big.
If we have any option to filter null values and redirect to null port in each calculation transformers like ExpressionEvaluator,DateTimeCalculator and if possible in Arithmetic editor.