Using transformers to modify data.
Recently active
The usage notes in ProjectWiseWSGConnector states:The FeatureReader can access ProjectWise directly (without using the ProjectWiseWSGConnector), however, a local copy of the dataset will not be created. But how is this done? Thanks in advance.
I have an OS mastermap GML data file. I have multiple <osgb:changeHistory> tags for one particular featureID. Which is as below: <osgb:changeHistory><osgb:changeDate>1998-07-03</osgb:changeDate><osgb:reasonForChange>Modified</osgb:reasonForChange></osgb:changeHistory><osgb:changeHistory><osgb:changeDate>1998-07-03</osgb:changeDate><osgb:reasonForChange>Reclassified</osgb:reasonForChange></osgb:changeHistory><osgb:changeHistory><osgb:changeDate>2002-08-12</osgb:changeDate><osgb:reasonForChange>Attributes</osgb:reasonForChange></osgb:changeHistory><osgb:changeHistory><osgb:changeDate>2003-10-14</osgb:changeDate><osgb:reasonForChange>Position</osgb:reasonForChange></osgb:changeHistory> I am trying to read all <osgb:changeHistory> nodes and write them in PostGIS database as below (I did it with GDAL):Here, I want to count the number of
Hi,This isn't so much a question as pointing out a minor issue.The WorkspaceRunner transformer (FME 2022.1.2) doesn't allow the user to select an attribute value for the value of a parameter in the workspace to be called if that parameter is in a group:
From original source data, I already have created four corner points (in red) with correct XYZ values. I just need to connect these points and create polygons at vertical plane which will vertically intersect existing gray polygon at XY plane. Any suggestion ? Thanks.
could you please take a look at this question, if you have any idea how to solve it we are taking a picture every 5 m, we found some duplicated area taken more than once how could we keep all coverage without the duplicate point, the sample data show only a few features we are running this on millions of features thanks https://community.safe.com/s/feed/0D54Q00009ltB8eSAE
Hey - I'm using a python caller to execute this script (shortened version of original script): --------------------------------------------------------------------------------------------------------- import fmeimport fmeobjectsclass FeatureProcessor(object): def __init__(self): self.Types = [] self.features = [] def input(self, feature): if feature.getAttribute('_is_ftr_type'): self.Types.append(feature.getAttribute('Feature_Type')) else: self.features.append(feature) def close(self): # Create and output a Schema Feature schema = fmeobjects.FMEFeature() schema.setAttribute('fme_schema_handling', 'schema_only') # indicates it's a schema feature schema.setAttribute('fme_feature_type_name', 'MySchema') # schema definition name schema.setAttribute('fme_geometry{0}', 'fme_area') # geometry type definition schema.setAttribute('attribute{0}.name', '
I have 3 counters in my workspace. And I want them to produce a single count. The documentation says : "When multiple Counters have the same name and Count Scope is Global, they produce a single count." In my workspace the Scope of the Counter is set to Global but, I cannot figure it out how to write the same name for the three counters! When trying to write the same name for the counter transformers, FME (2021.1) automatically changes the names to Counter_2, Counter_3, Counter_X .... so I'm not getting a unique count for my workspace, what I have is three different counts starting from 0. This is a basic question, Is the name of the transformer what I have to change to get a unique count? I'm sure I'm missing something and maybe someone can help me with this. Thanks!
Hi there,I have a database containing a BUILDING table which is related to a BUILDING_FUNCTION table.A building can have 0-n functions associated to it (i.e. Schools, Public buildings, etc).But it's more complicated than that. The functions are timely (Origin, Intermediary, Present)And there are three levels of details in the functions (I-basic, II-medium, III-detail) Here is an example simplied dataset for only one building, number 14...I need to denormalize this table to get only one entry per building.Here is the desired result. Note that in INTERMEDIARY functions, there are two functions listed. This is due to the fact that the a building can have more than one set of functions for each timely period. In the example above, where the TIME attribute has "2 Intermediary", you have two sets of basic-medium-detail FUNCTION_LEVEL. I'm joining an excel spreadsheet as sample data.Thanks a ton in advance for your help ! PS. This is somewhat related to my previous post but
Hello everyone, I have a question with regard to preserving the pattern style of hatches in DWG files. I have a simple DWG file with two lines (blue), one text (yellow), a dimension (magenta), and a polygon (blue) which is filled with a hatch (cyan): If I now simply read the DWG file with a REALDWG reader and do nothing but write it again with the REALDWG writer, the hatching pattern looks very different in the result - which is basically because the lines of the hatching pattern are much closer together than they were in the original DWG file:More details below. Does anyone know how I need to parameterize reader and/or writer such that the pattern style of the hatch is preserved 1:1? In the REALDWG reader, I already linked the read-in DWG file as a "Template File". This helped to preserve the styling of the dimension but unfortunately not with regard to the pattern style of the hatch. Here some more details:Regarding the parameterization of the REALDWG reader, I only unch
I have a workspace with dozens of Readers & Writers that all point to the same database, all using the same connection. How to point all the relevant Feature Types to a single Reader/Writer definition, and then delete all the duplicates?(and then I'll need only one User Parameter!) An output Feature Type let's me select which Writer to use, but input Feature Types have Reader field disabled. Why? How do I enable the UI control?
We are wanting to check one feature service and one field in that service and whether it changed from "Sampled" to 3 other options. If it did change we want to send an email to let us know what the unique ids that did change. How would we use change detector to accomplish this task? We would like to schedule a task each night in FME server to send the email.
Issue: I can set the Alternative and retrieve data from that Smallworld alternative, but only once at a time. Current work around: I have to clear the Alternative parameter, cache the Reader, and then re-enter the Alternative name and re-run the workspace. Potential cause: It seems to me like the Reader moves into the Alternative on the first run and then when I run it again it cannot find the Alternative because it is already in it. Which is why I need to cache it without a value in the Alternative parameter, effectively moving back out of that alternative. More details: In the smallworld environment I have moved into the alternative of interest ( mainly for testing ), do I need to stay in TOP?I am not writing back into Smallworld just reading out. Potential Fixes: I have tried messing around with 'Export Changes from baseline' but that does not seem to help.
Hi. I am trying to model some buildings' roofs in LoD2 using point clouds(las) and some shp files from arc gis, but I cannot find the right transformation. I have seen the sixth demo in this webinar, https://www.safe.com/webinars/gain-total-control-of-your-lidar-and-point-cloud-data/but they are just roofs in LoD1.Can someone help me how to do that?Many thanks
I'm trying to write hierarchical XFM-elements, one parent with all the xml data, and two graphical child elements (a point and a text). This is the warning I get on every parent element:DESIGN WRITER: Feature found with igds_type of 'igds_xfmstore', that has unsupported 'Topology' information. Skipping XFM feature store element write Because of this, all parent elements are skipped.What is this 'Topology information'?
I am trying to create a pdf file using the straight line diagram. I have a data file with the Road reseals as lines and I would like to be able to show the distance or length of the Reseal, the Year Applied, and stone size as a stacked straight line chart. This will then show the overlaps as well. Many years ago we used to do the very same thing on paper, in a book, by hand so we could see the surfaces applied to the roads over time. I am currently reviewing or trying to, do some analysis and update what we had on paper into a modern approach. I have watched the video of it being used here https://www.youtube.com/watch?v=2tPhZMSrnYw at the end of the webinar but I am struggling to sort it out given it was a very short session at the end. I would like some more specifics or how to on setting it up, or even a sample workspace may be the one from the demo would be a good example to follow. This is a great tool as it can be used for many other things like Pavement, Road Construction by y
Hello, I try to read the attribute"IFCPROPERTYSINGLEVALUE" with FME. Unfortunately this does not work,in the "list builder" I can see the attribute "IdentityData.Assembly Code" only it is empty. While in the data with GlobalId"0q2mDI5en2pRRKYDPxu88G" it does have an attribute. How can I make this data visible withina workbench so that it can be filtered. I added the .ifc as a text file, thereis already some described on the forum of how to read the"IFCPROPERTYSINGLEVALUE" only I didnt get it working.
Hello FME community, I have loaded a text file as CSV into the workflow so that a table is created.This then looks like this:I need a process that can work independently of the number of attributes but according to a pattern. Therefore I have converted these attributes into a list. Here is an excerpt from it: (fme_basename: 102)_list{0}.col2 892_list{0}.col3 1448_list{0}.col4 48_list{0}.col5 70_list{0}.col6 874_list{0}.col7 1628_list{0}.col8 50_list{0}.col9 78 The pattern looks like this:col2 and col6 belong in one attribute (x)col3 and col7 belong in one attribute (y)col4 and col8 belong in one attribute (dx)col5 and col9 belong in one attribute (dy) So every 4th element belongs to the same attribute.I would like to change the list so that the index can be set according to the pattern. This would then have to look like this: _list{0}.col2 892_list{1}.col3 1448_list{2}.col4 48 _list{3}.col5 70 _list{0}.col6 874_list{1}.col7 1628_list{2}.col8 50_list{3}.col
Hi,I'm using a FeatureMerger to check that two files contain the same features based on their attributes.Apparently, they don't seem to contain the same features although I thought they would. I must be missing something in the data. That's allright, FME's there to help me isn't it :)But strangely, the features which are not merged are not output by the UnmergedRequestor port of FeatureMerger. Isn't that weird ?
Hello, I need more input/ information on what are all the scenarios I can use the below rest api call ? POST /transformations/transactdata/< repository >/< workspace >Query-based job transformation submitter (synchronous Also, the input here is a file and The 'application/octet-stream' type is used . So, may I know what type of input file should I use ? Will this API call convert my any input file into a streamed data and pass it to a workbench ? Thanks.
I'm new to FME and the Vmap/VPF format, And I would like to now how to convert an ESRI shapefile, obstacles (points with attribute height), to the VPF format. Is there someone who can guide me?
What is the best solution to transfer files from IFC format that have a geo-reference as shown in the picture to KML, bearing in mind that I kept the same geographical reference? Thanks for the help.
Hi all,I have roof shapes which I transform to fme_composite_surface (GeometryCoercer). Now I will use BRepSolidBoundaryCreator.Beta to create ground and walls. It works for a single building. Unfortunatley if I use a bigger area the transformer stopped by saying:BRepSolidBoundaryCreator.Beta_2_DonutBuilder_<Rejected> (TeeFactory): BRepSolidBoundaryCreator.Beta_2_DonutBuilder_<Rejected>: Termination Message: 'Element BRepSolidBoundaryCreator.Beta_DonutBuilder gibt ein <Rejected>-Feature aus. Um mit der Umsetzung fortzufahren, wenn Features abgewiesen werden, ändern Sie 'Workspace-Parameter' > Umsetzung > 'Behandlung abgewiesener Features' in 'Umsetzung fortsetzen'' What is going on here? Are donut polygons not working? Inside Transformer BRepSolidBoundaryCreator_Beta error comes from DonutBuilder: INVALID_GEOMETRY_DEGENERATEHow can I avoid this?
Hi all, we are using the transformer BRepSolidBoundaryCreator.Beta to create buildings based on 3D roof shapes. For most of the buildings it works fine but we found some buildings with strange results. For example:We have this roof shape as input: The roof polygons have adjacent roof polygons that directly connect (lower left corner). Because of this we have 5 nodes First step is to create faces so we can use it later for the transformer.Result roof shape after creating faces:We have 3 Faces. After using the BRepSolidBoundaryCreator.Beta we have this result:The result of the walls are not correct. We have duplicate wall surface. The transformer should take the roof polygon (input) an should create a vertical sidewall surface that bridges between the boundaries of the planar surface and the source surface. Why does it turn multiple wall surfaces? Is it because we have three faces? Is there a way to create only the outer wall? Or do I have to manipulate the input polygon that I only have
Is it possible to loop in FME? I want to connect a transformer back to the previous transformer in a particular condition.
I am not that familiar with the SQLexecutor, but I was wondering something. When I am running the SQLexecutor, I don't get any feedback, so therefore I was wondering if I can get some kind of feedback mechanism that the database operations have occurred succesfully or not