Using readers and writers to extract and load data.
Recently active
I have a multiple choice question at first. Depending on the checked values I want to ask some follow-up questions. I only want these follow-up questions visible when the user checked that topic in the multiple choice question.Since I cannot use a condition on visibility like ‘contains’, I tried this by first using a scripted parameter.If the value is checked, return 1, else return 0.I then use this scripted parameter in the conditional visibility of the follow-up question(s).But.. this does not seem to work and affect the visibility.If I run the script, I can see the scripted parameter does work, it returns a 1 if needed and a 0 otherwise.But it does nothing for the visibility of the follow-up questions.Can this work? Or are the scripted parameters only calculated afterwards/during runtime and therefore cannot be used in conditional visibility of other parameters?I'm also seeing some new possibilties in 2024.1 (currently working in 2023.1) with the scripted selection. Would this solve
Something simple but can’t get it to work. I have a Field1 with two records. One record contains numbers as 205202021356 and the other record does not contain numbers as DAKLL. I have an attributeManager where I want to assign a value for the records that do not contain numbers and keep the value the same for the records that are numeric. In the AttribteManager transformer, this is what I have under the AttributeValue field 2 possible values:So if Field1 is not numeric, I want to assign NAIf it is numeric (contains numbers) then leave it with its original valueSample below are the records. I want to assign NA to record 2 and keep record 1 as is.Field1205202021356DAKLL When I run the workbench, it keeps assigning NA to both records, rather than to one record. Thank you.
Hi,I would like to convert an xlsm into xls so that I can then do a task chain. Is there a transformer or several that can help me ?Thank you for your help
Hi.I have a workbench equipped with several runners. I want to send myself an email upon completion of the workbench, detailing the duration each runner took. I implemented a DateTimeStamper at the Succeeded port for each workbench and attempted to merge this with the creation instance, but it failed to function as expected.I would like the result to include the duration each workbench ran and the total time upon process completion.Any help is greatly appreciated.
Hello experts,I need suggestions or some help on getting FME workbench to output 2 excel files based on a user parameter which the user will be asked to supply before the workbench begins to run.Both files will be the result of tracing a feeder (the user parameter) downstream from its origin at the feeder/hypernode point.The first file I am trying to output should contain something similar to the below.So up to column G is trace and H and I is result of spatial intersection. This is based on the above screenshot which shows the feeder extension (brown line). The hypernode is located at the zonesub (blue square) and then we want all reclosers (red and white circles) along the feeder to be captured and outputted as well as the fire polygon(s) the feeder intercepts.The second file I am trying to output should contain the ids of any spans/linear objects which follow downstream of the point object until the line comes to another point object (recloser) and then carry on with that device and
FME kullanarak cad dosyalarını gis dosyalarına nasıl dönüştürebilirim?
Hi folks, I’m trying to setup a writer to a MySQL database table with a calculated column. When importing the table from the data source, FME (correctly) ignores the calculated field, so when I look at the table’s attributes (screenshot below), the column is not listed. However, when I try to use the writer, the calculated field gets included in the generated SQL insert and so the write itself fails with an error that a calculated field can’t be written to:Error executing SQL query ('INSERT INTO `StageDate` (`Date`,`Year`,`MonthNumber`,`MonthName`,`Day`,`Weekday`,`WeekdayName`,`IsWeekend`,`AcademicYearCode`,`AcademicYearDescription`,`FiscalYearDescription`,`Checksum`) VALUES ('19000103','1900','1','January','3','3','Wednesday','0','1899','1899-1900','1899-1900',NULL),...: 'The value specified for generated column 'Checksum' in table 'StageDate' is not allowed.' Note the `Checksum` in the column list and the NULL at the end of the feature values. We use this same technique with an Oracl
Hello, A related question & answer to mine is here:However, in my case, the layer being updated will likely contain features already. In the DWG Writer, selecting to “Preserve Template File Model Space Data” will add data to the layer being updated, but of course will also preserve the existing features already present on that layer. This essentially is just adding more data to the desired layer (resulting in many duplicate features) - which I don’t want. I want to replace the features on that layer and preserve the features on the other layers. Because I want to preserve other layers as they exist already in the template, I can’t select to not “Preserve Template File Model Space Data” in the DWG Writer.What would be the best way to essentially replace the existing features in selected DWG layers?BTW, these layers are coming from an Enterprise Geodatabase.
Is it possible to write lines into IFC4x3 with FME and how to do that since IFC4x3 now supports lines?
Hi there,Today I noticed something peculiar when working with data from a PostgreSQL DB (that includes the PostGIS extension).Initially I used the PostgreSQL reader in an SQLExecutor to query for some specific data, and also included the geometry column 'standardized_location’ in the select statement.That seems to output the geometry column in a ‘Hex Encoded OGC Well Known Binary’ encoding. Using the GeometryReplacer I turned this back into a ~'fme geometry object’. If I then however filtered on the GeometryType, it shows up as a Polygon, where I knew in the PostGIS DB the standardized_location geometry column was defined with type ‘geometry(MultiPolygon, 4258)’.I then used the ST_AsEWKT(), ST_AsGML() and ST_AsGeoJSON() functions to return the geometry from the database in some different encodings. If I use the GeoJSON or GML encoding in the GeometryReplacer, the geometry does still show up as a MultiPolygon feature. Also the EWKT encoding depicted the geometry as 'MultiPolygon’.Furthe
Hello, I am struggling with conversion of several thousands of XML files (same scheme, but different attributes) in to single Excel/CSVThe tool works fine for single XML but not for multiple at once,The XML has nested levels so I am using xml_Id and xml_parent_id to navigate thru and join tohether with featurMerger tool.This is on the other hand the reason why I am struggling with the batch processing - since when multiple files are processed at once, the xml_parent_id is the same among files and the so data are ovewriting themself, or they are rejected in the feature merge with multi-reference error. Don’t you know if there os a way how to proceed? To run one by one, for example with Loop in ArcGIS works but it’s soooo slow. Thank you!
Hello, I’m trying to migrate data from a SQL Server 2016 spatial to a ArcSDE on SQL Server 2022. Using ArcGIS Pro 3.2 on same machine. I am using FeatureReader with schema and featureWriter with dynamic writer. I don’t get any errors but I get thousands of this warning:GEODATABASE_SDE Writer: Renamed user attribute 'attribute{109}.name' to 'attribute_109__name' based on format constraints for invalid characters, length, and caseIf this waring occure the feature with this schema will not be written to the database, so it should yield an error not warning. yield waring on FME version 2023.2yields none-traceable error in version 2024.1Anyway I can’t figure out what it means. Any clues?
Hi there,Can you please help me with this? Every time when a new report came in, I’d have to manually open the “FreatureReader” dialogbox and hit “Ok” (to close) so that the new attributes that are added in new report at the new folder location are emerged. Otherwise, it would just read previous attributes from the new report (in below case, up to the end of June, not the July columns). I’m just trying read an MS Access file that is stored dynamically in different folder each month.
After upgrading FME Server from 2022 to 2023.1 my existing workspaces have started failing due to the following error:Python Exception <TypeError>: init() takes at most 2 arguments (4 given)ARCGISPORTALFEATURES writer: An error has occurred. Check the logfile above for detailsThe same workspace runs correctly locally on FME Desktop (both 2022 and 2023) and I have tested reuploading the WS from FME Desktop 2023 to the Server but without success.I tried creating an entirely new workspace in FME 2023 that should just write a single object using the Portal Feature Service Writer. It failed with the same error on both Desktop and Server when writing to a referenced feature service but was successful with a hosted feature service.In summary:Original workspace (writing to referenced feature service with Portal writer) FME 2022 FME 2023 Desktop Yes Yes Server Yes No New workspace in FME 2023 with Portal writer Referenced feature service Hosted feature service Deskt
Hi I am new to FME and here as well…I am trying to use a PDF that has an image and I want it to use FME ( not sure which one) to export it to TIFF the same as you see in PDF ? Is that possible for me to do that ?
Hi,I am trying to extract the four corner coordinates of a tif file using the RasterPropertyExtractor.What I need are the coordinates of the data extent of the image without Nodata, what I get are the coordinates of the full extent of the image. I guess somehow I have to make the existing Nodata “0” to “real NoData”. Any help is appreciated.Thanks
Hi,I currently work with the Cesium 3DTiles writer and stumpled upon some requests asking for support for the DRACO compression.I tried to do apply the compression afterwards using ‘3d-tiles-tools’ with no luck. So I took a deeper look on the b3dm Files using ‘3d-tiles-tools analyze’ and it looks to me like it’s already DRACO compressed. ‘3d-tiles-tools analyze’ gives me:{ "asset": { "generator": "FME 2022.2.5.0", "version": "2.0" }, [...]"meshes": [ { "primitives": [ { "attributes": { "_BATCHID": 4, "NORMAL": 2, "POSITION": 1, "COLOR_0": 3 }, "indices": 0, "material": 0, "mode": 4, "extensions": { "KHR_draco_mesh_compression": { "bufferView": 0, "attributes": { "_BATCHID": 3, "POSITION": 0, "NORMAL": 1, "COLOR_0": 2 } } } } ]
I have three lines coming from CAD, I have read them and I would like to use “Create Routes”, instead I have used the measure generator. However, the measurements are wrong, and I suppose because on the way the vertices of the line were drawn (in an illogical order).By using “Create Routes” I could select the coordinate priority (lower left, lower right, upper left, upper right) to tell it to start counting from that point onwards (because the coordinate priority will be different per line). Is there a way that the same can be done in FME? Thanks!
Hello All,I am using FME Workbench 2022.2 and ESRI UN branch version. There is an existing branch version that has all the edits to various tables and layers that I want to copy to a new branch version. I have tried to use ChangeDetector but this how cannot detect spatial geometry changes. Is there a way to copy attributes and geometry changes and as well as other UN related table changes from an existing branch version to another version using FME? ThanksAnthea
Hi,I have a process that begins by going through the AttributeCreator2 transformer, but after some transformers, there is a validation. If the result is true, the features will arrive at the DateTimeConverter as shown in the image below... I would like the process to restart at the SentinelDownloader transformer after the DateTimeConverter returns, and to consider the features with the AttributeCreator transformer only at the start of the entire process. I guess the process should work like a loop.Thanks
Hi, I would like to create the option to pass a value by attribute. How can I create it in a custom transformer like in the image below? Thanks
I'm trying to convert an IFC file to Esri Geodatabase format. Is it possible to convert the properties from IFC group ? If so, how could I do that. The properties set is not visible in the traits or the elements object underneath the group layer. I am not sure if that is possible. But the result is visible from the FSKviewer. Please offer me help!
I am using a Python Caller to create new features based on counts from a REST Endpoint. I want to verify the output in Data Inspector, everything acts normally until I click on the record in the table (there is not geometry)When I click on the record, the Data Inspector immediately hangs then crashes and closes.I am using FME(R) 2023.1.0.0 (20230825 - Build 23619 - WIN64)
GML2IFC translation/conversion warnings I created a very simple model where I added a GML reader and I want to transform it to IFC.When I run it, numbers appeared on the connectors. These numbers match with the number of features per feature type. I would assume that the transformation was made, although a couple of warnings appeared during the run of the model (see second image) Nevertheless, when I look for the transformed files, there is nothing on the folder. When I try to inspect the resulting data using the eye, a windows pops up asking for information that was set when i first set the "writers/translator" (see third image) and when I look for the data, nothing was done. I checked about these “warnings” among the FME community, and between not-updated information and broken links, there was nothing there that could help me to find out the reason or meaning or ground for this issue.I have also checked in https://support.safe.com/hc/en-us/articles/25407793929229-GML-Writing and he