Using transformers to modify data.
Recently active
Hi, My workspace attached only takes information from the Website and shows values in the log. How Can I expose the response in attributes using Python caller? Thank´s
Hi,I have two polygon datasets (A and B). Of B I want to keep only the parts of the polygons which are not overlapped by A. Let's call these output features the dataset C.Additionnaly, I'd like to calculate the area of the C polygons. Ideally, I'd need to know the area of each C polygon. I've noticed that AreaCalculator seems to ouput only one single feature...Thanks in advance for your help !
Hello I need help .i would like to write the output from Fme in Esri arcsde but this sde has already domain called Base this domain include 2 coded value ,yes or not .i would like to ask ,how could I specify specific attribute in FME regarding to this domain .then when I work with this table in arcmap later ,the user get choose list (yes or no ) at this attribute (column ) .another question to get more knowledge , could I create domains for arcsde in Fme ,will be possible ?i hope if I find the answer .thanks in advance FME 2021
Hi, I'm applying a simple buffer to some polylines with the End Cap Style None and the Corner Style Arc. I was expecting to get rounded buffers on the inner vertices and none at the endpoints. However, I don't get rounded buffers on any vertice of the line, see screenshot. None of the points of my lines are treated as corners. Am I misunderstanding how this is supposed to work?
I struggle to make FME read csv files with correct encoding and datatype.I receive csv files in UTF-8 that includes non ASCII characters.FME think its win-1252 encoding and this interpret signed integer values like -27 as −27 and thus make it a character datatype. To fix the encoding i have to add the csv reader to the workbench and then change en Character encoding to UTF-8, then it works. But at that time the datatype is already set and I cannot change the varchar type column to be int32. It cause issues becasue now I cannot write to my database which expect int and not varchar...So how can I change the datatype of multiple fields after the reader has been added to the workbench? Alternatively (and better), define the CSV reader to be using UTF-8 before the CSV file has been scanned for its content
I'm working with groups of features and I want minimize the number of blocking transformers in my workflow. Right now I'm using a Sorter to sort features in each group and a PythonCaller to make some attribute manipulation and comparison. Both transformers block the flow so I wanted to get rid of the Sorter and do the feature sorting inside the PythonCaller but I don't see how to do it.Once I have the list of features, what should I do to sort them by one or any number of attributes? Thank you! import fmeimport fmeobjects class FeatureProcessor(object): def __init__(self): self.feature_list = [] def input(self, feature): self.feature_list.append(feature) def close(self): pass def process_group(self): for feature in self.feature_list: ## ...
Hello everyone, I have a point cloud of a section of a road, and I'm wondering if i can get a front view picture of the point cloud like in the screenshot using FME. I also have the axe of the road if it can help with the direction. Thank you in advance.
Hi, I have an *.xml file containing a column geometry.polygon.exterior.linearring.pos. with the following value 112771.183 540459.057 0.0 112769.147 540451.142 0.0 112769.904 540450.947 0.0 112764.417 540429.617 0.0 112763.641 540429 .816 0.0 112761.654. Coordinate system is ESPG:28992 how do I convert this into geometry?
Hi !I have a list named "coord" that contain 2 attributes "x" and "y". I would like to create an other attribute that concatate "x" and "y". For example :line number 1 (one geometry) :coord{0}.x = 1.25coord{0}.y = 1.25coord{1}.x = 2.25coord{1}.y = 2.25Résult :coord{0}.x = 1.25coord{0}.y = 1.25coord{0}.all = 1.25;1.25coord{1}.x = 2.25coord{1}.y = 2.25coord{1}.all = 2.25;2.25Thanks for your help !
Boreholes. Im trying to find a transformer that constructs the end points in a dataset with boreholes. The boreholes have all necessary attributes: Z, Azimuth, angle and length. Is there a transformer that does the it or something I have to build? cheers
I have a list of lists resembling this structure:sublists = [[1,2,3],[4,5,6],[7,8,9]] When I try to set this "list of lists" into a list attribute I get the following:code - feature.setAttribute('chunkList{}', sublists) error - Python Exception <TypeError>: Could not convert attribute value to a supported attribute type.Traceback (most recent call last): File "<string>", line 95, in inputTypeError: Could not convert attribute value to a supported attribute type.Error encountered while calling method `input'PythonCaller_Get_chunkList (PythonFactory): PythonFactory failed to process feature The goal is to have a list of 1000 unique IDs or less to feed into a readerI do not know how many lists there will be ahead of time so I need to dynamically break out the lists into individual lists of 1000 elements later in the workflow which is why I want 1 list of lists to start with.
Hi, I'm trying to read PDFs and it looks like each character of each word is represented as individual features. Each PDF has thousands of these text features that I need to combine to make words. I'm stumped as to how to string these single character text features together to create words. I have attached an example below. Any help would be appreciated. Thanks in advance.
to What is most important is i would like to add permanent different symbol for each 'GType' whenever i load it into Trimble Connect + AR Viewer
Good morning. I'm writing this question to see if someone can provide a new idea! I saw couple blogs talking about, but without good result.I am trying to generate an atlas, given an Oracle database, of different files, each one with its ID, generating a PDF file for each one.The problem appears when adding a common image, such as a logo. If it comes from a reader, when doing a "fanout" on the writer, how it detects that it does not have an ID generates a file separate from the others, with the common information.After trying with a cloner, feature merger, or adding an attribute that is the path to the image for each record, I cannot get it to be seen (I can show that the path is physically written).Any ideas? Thank you so much!
Hello. I have a question. In "list_of_fixes" I have a list of track points and some of the tracks have more than 75 points. For tracks that have a higher number of points, I would need to filter and shorten to 75 points. The reduction in the number of points should be from the center to both sides. This means if I have, for example, 81 track points, I will delete 3 points from each end of the list. In the attachment I am sending fmwt, where the list is visible. Some ideas? Thank you very much
Hi everyone, I have a dwg with autocad blocks which has several layers of polygons, polylines and annotation. I have a workspace to extract and convert these to shapefiles. The problem I have is that multipart polygons and polylines are being split by the FME reader. When opened with ArcMap or Autodesk TrueView, the multiparts appear correctly. I have tried to play around with the parameters of the dwg reader (entity option/advanced options...but everything I have tried so far has not worked and some of the settings read far fewer components than needed). Anyone have any experience with this? Thanks in advance! :)
FME Quick Translator 2023.1.1を使用して、CitygmlをIMXに変換したいのですが、エラーになります。原因と解決策をご教授頂けると幸いです。
I have a input data file with a unique ID (BORRHAL_NR) with 2 variables (Date/Granvattenniva). I am using a python caller in a CT to generate a chart with matplotlib. I would like to produce as many charts as unique IDs, and I am using the group by in the custom transformer but even though it produces in this case 4 charts I see that is using all data from all unique IDs in those charts (except for the first one that is actually correct).Any ideas?I am using FME 2022.2.4. (Build 22792)
I used points geometry to create my .shp file. I got the visual preview from the read file. But after extruding, I am not getting anything and it's not showing any error. I want to create 3d cesium tiles.
Hi there, I have a whole lot of OBJ's of course they don't have any coordinate system, but they are tiled, so the first is 0,0 the second is 100,0 etc. I want to move these obj's around the world, I thought to just use an offsetter, but it scales the OBJ down.In ArcGIS PRO I can just move this over the map, and I hoped that the offsetter did something similar.I guess this has something to do with the world not being flat, but is there an easy fix for this, or even a hard fix. I really don't care which coordinate system, I can always reproject it. Thanks :-)
I encountered a challenge with writing to Excel using a template in FME. Despite setting it up correctly, FME wasn't reading the Excel template sheet. This issue persisted in FME 2020 but seemed to be temporary solved in the 2022 and 2023 versions.Progress Made:Identified a Excel plugin we use at work in Excel as a potential cause.Our IT support thinks the windows update for Excell 2023 is the probably reasonExplored potential reasons like multiple Python versions, recent Windows updates, and potential conflicts in the .xlsx files. However I dont want to uninstall my python versions due to other development projects. Cant uninstall windows updates since its restricted due to company policyReinstalled FME to overwrite any potentially corrupted files without success.Various troubleshooting attempts: rebooting, re-saving the FME workspace, re-saving the .xlsx save to 2007 xls template, etc.Upon uninstalling the excel plugin, FME 2022 and 2023 began working normally, but the issue pers
Hello, I use the Affiner Transformer to transform from a local coordinate system to the RD83 national system. Now I want to reverse the transformation, but I don't know how to adjust the 6 parameters. A/E = 1.00002B = -0.00002C = 5300000D = 0.00002F = 5600000 Can someone help me please? Thank you.
Hi, I'm having trouble appending one feature from a geodatabase, with another feature from a different geodatabase. To put it simply I want to turn 2 features into 1 feature. I'm using the terminology ("append") from this article, so I hope I've phrased this question correctly Combining Multiple Streams of Data (Append vs. Merge or Join) (safe.com). The schema is the same, I've attached a .gdb with the example data within it. Note: this is part of a much larger question, of how to append two separate .gdbs together (both with the same schema), but I figured I'd start on this mirco level and expand what I can learn from this forum to solve the bigger task at hand. I've attached a pic of the my attempt (this mess may or may not help) Thanks for your assistance
I have an IFC file containing information about sewage pipes. In theory, it should contain two types of object classes (with geometry), namely IfcDistributionChamberElement (Manhole) and IfcPipeSegment (pipe). These classes use their subclasses as connectors, namely IfcDistributionPort (at each object node). Finally, these IfcDistributionPorts should be connected to each other using a relationship class called IfcRelConnectsPorts. In IfcDistributionPort have attribute named FlowDirection with value (source or sink) like in or out. The attached image shows a depiction of the connection.My question is how to create a shapefile containing line features to represent the flow direction so that when I upload the shapefile into QGIS, I can use arrow symbols on the lines.