Using transformers to modify data.
Recently active
Hi there,I'd like to add an arcgis online feature service to my Html report. When I use the Map Esri leaflet, I'm confused by the terminology of 'feature layer URL'.... Documentation/helpThis parameter allows the user to specify a list of comma delimited ArcGIS Online feature layer URLs, that will be displayed as additional layers on the map. Is this the feature service item Id URL? or do we need to be more specific and enter the REST URL of the layer in the feature service? As I understand it leaflet provides visualization capabilities for data hosted in Feature Services, Map Services & Image services. I think the documentation needs some detailed wording and/or examples. I don't seem to have much luck using this option in the html reports, but I'd very much like to!
Saya hendak menukar file IFC kepada geopackage. Semasa meletakan writer geopackage saya telah memilih table definition manual dan juga Automatic. Masalah yang saya hadapi pada writer yang disetting Automatic, tiada objek geometri dan pada writer yang disetting manual berlaku kegagalan…Hanya apabila memilih dinamik sahaja ianya ok. Maslah saya disini dalah tidak mahu menggunakan table definition secara dynamic. Mohon bantuan bagi yang mahir. Bersama ini disertakan file2 tersebut. Tqvm.
Experiencing, Schema features output from the SQLExecutor only after the Data features. This is causing issues for dynamic workspace. Currently managing this by connecting FeatureHolder to the Result (Data features) port of SQLExecutor, to hold the Data features and let the Schema features reach dynamic writer first. From the above screenshot it can be noticed that, Schema features are started coming out only after the Data features. To address this, required either of the below for SQLExecutor.Schema features output first before Data features all the time.Required "Output Schema Before Data Features" parameter, similar to SchemaScanner. FME version: 2022.2.2
I am trying to think through the best way to approach this in FME. I need to create polylines from a CSV file. I have two files in the following format: File1 contains one row per line, including the start and end coordinates for all lines:Line123, StartX, StartY, EndX, EndYLine456, StartX, StartY, EndX, EndY File2 may or may not have additional midpoints. Each midpoint is on a new row. So two midpoints for Line123 would look like: Line123, X1, Y1Line123, X2, Y2 I need to combine these in the correct order to rebuild the line. For each unique LineID, I need [StartXY] + [Midpoints] + [EndXY], and the midpoints need to be in the same order as originally presented. There are likely many ways to approach this. Here is my first attempt. I know I can use LineBuilder to construct any midpoints from the second file. It's set to wait for all inputs and process at the end, grouping by LineID. I know the order of vertices depends on the input. I want the LineBuilder to process the span S
Hi,My workspace worked in 2019.x, but I noticed an issue when it was migrated to 2022.2.0. I read in multiple *.TXT files from a single folder using a FeatureReader (passing the folder name with a parameter), they are actually csv files - so use that as the format. In the Parameters I set "Field Names Line" to None as there are none. I expose "col0,col1". It reads all the files and I get the correct feature count, but it reads the first file fine, but all subsequent files it uses the values from the first line as the field names - effectively ignoring the "Field Names Line" Parameter. Is this a bug? As I say, it worked before. Kind regards John
Hi everyone, I am looking for the right transformer to do a simple table manipulation here. So I have T1 (a table with multiple columns) and T2 (a table with a single column representing groups). I would like to duplicate T1 n number of times (n = number of groups in T2) where each row in T1 would be copied to be represented in each group to give T3 as a result. Thanks in advance!
I have to write my results in EPSG:4099 and FME does not offer the coordinate system. I found the opportunity offered by safe to define a custom coordinate system by supplying (ESRI Projection) WKT.The resulting fme file and exception file went into my documents folder into the respective sub-directories of the FME folder.The webpage explains that by doing so every project in any installed FME version will know the coordinate system. The WKT definition for EPSG:4099 can be found here. I use the Reprojector to bring my data from EPSG:25832 to EPSG:409, write the results to file, where the writer is set to have a coordinate system of EPSG:4099. When I import the resulting dwg into QGIS the layer is recognized as EPSG:4095.When I read the resulting dwg again into FME and check the coordinate system with a CoordinateSystemExtractor then there are no information at all. Am I producing data in EPSG:4099 or not?
I have some datasets with unpredictable white spaces in the attribute (column) names. Is there a way to automatically trim these? The trimming tools I found all seem to be dealing with strings.
Hi all, I have two geopackage files in QGIS: One of them a multipolygon with coverage tree and the second one a multipolygon with the plots. Im looking to calculate the afforestation rate by plots, that's means the percent of total plot surface that's covered by the tree layer and add this afforestation rate as a attribute in plot layer As you see in the image below, in green I have the coverage tree and the lines show the plots limits Thanks you allPablo
There are 95207 features within the Anchors layer and 82716 features within the Candidate layer. All Candidates are exporting through the Untouched Port and nothing is coming out of the Snapped port. I have attached the workspace. Our data is projected to GDA2020 MGAZ55. Any help would be greatly appreciated. Yours sincerely. James Blythe.
Hi i have feature with 2 vertex (represent pipe line). How to built line from this 2vertex?
Please take a look on the attached files and update my workspace. It would be great if anyone highlight the process which I am missing in the simple conversion?Thanks in advance.
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.