Using readers and writers to extract and load data.
Recently active
Is there to read in the formatting of the excel? I need to find all the records that are filled in red and exclude them. I tried fme_fill_color and fme_color but those weren't it. Thanks!
So today I learned about how to use webservices and connect to a SharePoint online list using my organization credentials.Regular old SAML wasn't cutting it so I had to use the WebService feature of FME.I created a new template by replacing the [tenant] with the subdomain to which I was trying to connect. And everything went swell, I authenticated successfully and the connection saved.Then I went and created a new workspace with a new reader for the SharePoint reader.The good news is that the authentication went successfully.The bad news is that when I then clicked on the ellipsis to select the list, it didn't work. Updating access token for 'NewConnectionFromWebServiceTemplate'Microsoft SharePoint List Reader: Client-side error: '401 Client Error: Unauthorized for url: https://subdomain.sharepoint.com/sites/subSite/_api/web/Lists?%24select=Title%2CId&%24filter=Hidden+eq+false' returned from SharePoint. Error message was: ''OK Fine I've permissions to authenticate against the site
Hi,i have to read an Excel-file from a Sharepoint-Site. The Authentication Method is Kerbeos. Any suggestions ?Barbara
I have 1900 tables inside a single schema inside a PostGIS database. I need to convert each table into a KML folder and then have all folders placed inside one giant KML parent folder and viewed in Google Earth. Additionally, I have 5 syle colors classes I need to apply to the tables as well.
Hi,I would like to set the default filename for the PDF which is opened in my Data Streaming service (using the PDF2D Writer). I can't work out how to do this. I have seen the following post which mentions setting the MIME Type, but I'm not sure how to do this..https://knowledge.safe.com/questions/85804/fme-server-data-stream-datafile-writer-pdfs.html Thanks!
Hi, I need to write the results of multiple files (let´s say raster data like .jpg) from multiple folders including subfolders into their source directory/folder...I can´t get it working with the proposed solution from this similar question here: https://knowledge.safe.com/questions/108973/write-file-in-the-same-directory-where-source-file.html. It seems that it does not work if I am recursing through subfolders. Does anyone have a solution?
Hello, Whilst looking at ifc and revit files, I saw that some instances are written away as Geometry Definition and Geometry Instance.I was wondering how you do this in FME. I was looking at the GeometryPropertySetter but I dont' see any possibility to write away geometry definitions.I also looked at https://knowledge.safe.com/articles/54027/creating-and-using-geometry-instances.html#:~:text=A%20geometry%20definition%20is%20a,and%20a%203D%20affine%20matrix.&text=This%20is%20especially%20true%20if,is%20very%20large%20or%20detailed.But I could't really work it out myself.Anybody can point me in the right direction. Kind regards, Andreas
Shape to kmz issue. Workbench runs and records getting written, But then the KMZ is 0 bytes.
I want to create an automation in FME Server for a user to validate his data.He sends in an email with his data as attachement and the topic of the validation as part of the email subject.In the workbench, the email subject is parsed and the topic is kept as an attribute. At the end a logfile is written with the name: topic.log (I do this with a fanout in the writer).This logfile I want to send back to the sender of the email as an attachement. But to attach the file to the email, I have to fill in its path and I don't know the filename at this point. How can I pass the value of "topic" (=filename) as parameter to the Automation, so that I could use it in the "Email Details"?(I'm using FME Server 2019.0)Thanks, Vera
I have a workbench, which calls a REST API via HTTPCaller and get a Response in JSON Format. Then it writes the response via a FeatureWriter into a directory as a json-File. That works with no trouble in FME. But as soon I published it for FME Server and start the process there, it doesn't write no jsonfile into the directory. The workspace runs on the FME Server without problem. I testet with different workflows like AttributeFileWriter etc. It never writes a file......
Hi!I have a background map on DWG + a set of data. My workbench look for an error on the set and if it found it, a buffer is output.I would like to export the backgroud only when an error is found. Is it possible?Thanks!
I'm beginner user of FME Desktop. Transformation from shp to Citygml is working, but when i'm trying to export to CityGML a values that are in table (csv) i can't do it. I'm trying to move values from attribute code_citygml to attribut citygml_function, but i can't do connection and finally those values from code_citymgl are missing in final file. Could someone show me right transformation tool or place in model when this sholud be done? Thanks.
Hi all!Has anyone else had the problem of doing an Upload with GoogleDriveConnector, and then getting <null> or <missing> in the attributes specified as 'Shareable Link' and 'Direct Download Link'? My colleague and I just noticed that one of our automated workbenches started leaving these blank some time in January. Perhaps Google made an API change around that time and this is no longer possible? The actual file upload goes through fine, so the transformer isn't actually failing, it's just not giving any values for these.
Using Build #19136 of FME Workbench 2019, and the first and last letters are getting cut off for some reason. Source dataset is in ArcGIS Server 10.6 (running on Oracle 12c). Anyone else having this issue?
Hi, I have a table that has 2 fields, one with the name of cities and the other with the date. Features with the name of the same city are repeated, but the dates do not. How can I make a filter to use only each city but with the most recent date?Eg. City | DateDC 20200621WD 20200619DC 20200620DC 20200619WD 20200618 Thank´s
Hi,I have spent most of the morning going down a rabbit hole and really am none the wiser. I am writing out some content to a feature class in SDE. When I run the full process with feature caching on or off I get a failure to write with a very unhelpful ESRI error: An error occurred while attempting to insert a row into the table 'DBO.xxxx' using a cursor. The error number from ArcObjects is: '-2147418113'. The error message from ArcObjects is: {}However if I run it with feature caching on, up to the last transformer and then run to the writer afterwards the content goes into the SDE, no error.If I write to a ffs file then push that to sde. It works. My suspicion is that I am using a feature reader, it seems like SDE doesnt recieve all the right info about the schema before FME tries to write to it, whereas it does when feature caching is enabled?Any ideas very much appreciated.ThanksOliver
I have several GML files that I read via the FeatureReader, and format =«GML» and reading all feature types. An unknown amount of these GML files results in Nested Attributes. Nested Attributes is appearing in the workflow as lists with one to several sub-levels. So far so good. But the problem occurs when I want to use the jsonpacker to create json strings that I am able to write to a PostGis table. The jsonpacker demands that I declare what attribute to pack. But making a generic workflow to handle any GML files and then pack all the lists without knowing the names of the lists at forehand, makes this a difficult task. I need one json string for every list, and the name of the json attribute should be the top level name in every list. So in stort : I am creating a generic workspace that packs all lists individually to just as many unique json string attributes. Sorry for not posting any pictures of the workspace, but all I have is a generic reader of GML files that results in an unkn
I'm working on setting up a script that reads in an Excel file. I'm merging the spreadsheet with another based on a unique column and the owner doesn't want the formulas in one column to be disturbed. They still want access to view the formula. Is it possible to write to that sheet but still preserve the formula?
Hi,I'm trying to figure out a way to create a couple of paramaters in my workflow so that the user can select from a picklist of SDE Connection Files and available Versions to use in the various FeatureReader transformers in the workflow. Is there a way to do this without hard-coding all the values in ahead of time?? Thanks,
Good morning,I have a lot of files to convert from .idgn (Bentley) format to .sp (Synchro Pro) file format.To do that in microstation, there is a specific plugin from Synchro to do that.I am looking a way to do that automatically for a lot of files at the same time, so I was thinking FME.I am not a FME expert but do you think it is possible to configure that ?Thank you.Best regards,
Hello all,I have the experience is that a FME workbench will never update or truncate the data of a writer after that a fault condition has raised in a FME workbench.I would like to know if this is the way an FME workbench works to be sure that our data will never be changed after a fault condition in a FME workbench.Could you inform us if my experience is correct? Thank you for your answer.
I need help with FME Data Streaming Service. I am having trouble serving up a pdf file in a browser. I am using the DataFile writer to write my pdf because my pdf comes in binary form. It all works in workbench, but when I try it in FME Server as a Data Stream it downloads the pdf with the workbench name and a .fmw as the extension. If I change the extension to .pdf my pdf is there and I can open this. I would think that FME should serve up the pdf with the file name I specified in the writer. Any help would be greatly appreciated.
I am using a Google Drive transformer for my project, but I was considering to make the URL I use to connect to my spreadsheet, public. So, there is no need to provide my credentials or any other person credentials in the process. Is it possible to do that?
I am working with many autocad files and trying to extract data from paper space objects. The objects i am trying to extract are mtext object (of type autocad_multi_text) I am trying to match up objects that start with a specific string to objects just below them. to do this i want to use the autocad alignment_x and ycoordinates. I have enabled the feature type format attributesneeded and do see many of the attributes populated in the visual preview.but not the ones i need. I can get the coordinates using a coordinate extractor but those are the lower left and will not help me select the adjacent below text that i need.
Hello to all, I have created with FME 2019 a CityGML file with the UtilityNetwork ADE extension. Some of the ADE feature types I am using are: Cable, ProtectiveElement, ConnectorComponent or PowerTransformer. These features have their own attributes according to the ADE specification but also, I added to them some generic attributes like: <gen:stringAttribute name="CableType"><gen:value>MT</gen:value></gen:stringAttribute>After that, I want to convert this CityGML files to other formats. To do this, I am trying to add a reader for this CityGML file (with the ADE extension), but it doesn’t recognize the generic attributes. In the CityGML reader, I have specified the parameters like that: And I I get all the feature types lo load: But when looking at the attributes of Cable for instance, I don’t see the generic ones on the list. I only see the ones from the ADE Specification: I also have tried to add a Generic reader, but the problem here is that it only identifie