Using readers and writers to extract and load data.
Recently active
Hi,I have a problem setting up a dynamic excel writer. If an input attribute has leading zeroes, they are removed in the output excel file. Can this behavior be prevented somehow? The input excel files are read via a FeatureReader.
H?,I want to do a wfs query with fme. as normal url =>http://cbsservis.tkgm.gov.tr/tkgm.ows/wfs?service=WFS&version=1.0.0&request=GetFeature&typeName=TKGM:parseller&cql_filter=durum=3&maxfeatures=10 if the result =>I want to query according to a certain value . I want to get values that are only 3 .<TKGM:durum>3</TKGM:durum>I've tried using xml filter. Is there any idea? Thank you.
Hello,In some cases I get out of memory exception when using writers. The reason is that FME needs to get all results for example from postgis into memory and then save it (for example in GML or DWG format).When there is a lot of data then problem appears. One soluton for that would be to use paging. First execute count() query to check how many records are we expecting and then for each part run workspacerunner with some limit and offset parameters. That works nice but:In my case I need to first take a polygon by which I will do filtering and then take all rows from another table that intersects with this polygon. Using FME Reader with intersects in works quite well but when I want to execute that query on my postgres DB then it takes forever even though I have geo indexes set on both tables :/ Do you have any experiences with such a problem?
I would like to detect from a postgis database the number of records and the filesizes (mb) of the tables in a schema so i can write it to xlsx. I can't find the solution.
We store a large number of files in a Bytea type as base64 ecoded strings in our database. If i use the pgAdmin to retrieve the data as Text it works fine.If you excecute the statement below in PgAdmin you get a different result then when you run it in sqlCreator to a Postgres database.How do i setup FME to get the same results as PgAdmin?What am i missing here?select ('\\x55457344424251414141414941474e7a4b6b3535706a744957514141414873414141414b414141414d584a6c593256774c6e4a6a6343584679776d414d4252453062316744314f427650796553545642564e796f415546527133636b44476675666d416674686c33486b7335384e514d31354a6677565332764a355954304f5748486b4b704e5254704e5132677567546a427276416d7a534b414c704e495a6b4453774571727736352f393855457342416a3841464141414141674159334d71546e6d6d4f30685a414141416577414141416f414a41414141414141414141674141414141414141414446795a574e6c634335795933414b4143414141414141414145414741444956446774364b6a55415276594e43336f714e5142473967304c65696f314146515377554741414141414145414151
I tried to convert a gml file to cesium 3dtiles. But the conversion didn't went well.What could be the issue.When i converted the same gml file in other software it got converted correctly.What wrong i have done in the workspace . I have attached the workspace , gml file and 3dtiles. Please help me with the issue.
Has anyone else had issues reading items that aren't shared to a group, but are shared to your organization? The only items that show up when I try to read them in are groupname/servicename or username/foldername/servicename, which indicates they are in a group or the user you are using owns them. We've been using FME for over 7 years, and I'm just now noticing this (which I guess either shows how important it is or how rare it is) :P
I am a first time FME user. I want to analyse the closest LiDAR points that are to my point data (pit). I tried using NeighborFinder but I guess it does not like LiDAR data and produces a empty .shp file or .gdb file. I want my .shp or .gdb with the nearest 5 LiDAR points that are averaged to produce a z value for my point vector data (pit data). It will be very kind if someone could help me with what code I would need to produce the required result? PS: plz disregard the aerial image in the background.
When I try to save a database connection. In Tools -> FME Options -> FME Database Connection. The dialog is displayed: Unable to Store Connection.Can anyone tell you why this happens?
Hi allIn a GIS to CAD transformation, I'm trying to make all autocad linear entities with line type generation attribute = true per entity.I added a DWGStyler to my workbench with "linetype generation" property set to "continuos" for lines. However, it's not working so far.Could someone please point out what I'm missing?Many thanksAlan
Hi,I have to read Excel files with FME 2017 but the first column of the table can be at different position in each file.(but there are always the same number of columns)So, I'm searching a way to link the first column position to a published parameter like the screenshot attached (which doesn't work...).I can't believe that with such a powerful soft like FME we can not do this...Thank you for any help !Christian
I am trying to connect to database using Presto JDBC driver. Need to know how to define and set parameters for this driver e.g. SSL = true, SSLTrustStorePath etcjava.sql.SQLException: Authentication using username/password requires SSL to be enabled
i am trying to update xml column in oracle and getting errors which i am not able to resolve . need some help hereif the data exists there and $t/row/c178[@m=82]='USA' then only update the value or do nothing update USER.TABLE t1set t1.xmlrecord=XMLQuery('copy $t := . modify (if fn:exists /row/c2 then replace value of node $t/row/c2 with concat("firstname",$t/row/@id) else(),if fn:exists /row/c3 then replace value of node $t/row/c3 with concat("lastname",$t/row/@id) else(),if fn:exists /row/c178[@m=83] and $t/row/c178[@m=82]='USA' then replace value of node $t/row/c178[@m=83] with ("NEW YORK") else() ,if fn:exists /row/c4 and $t/row/c178[@m=82]='USA' then replace value of node $t/row/c4 with ("Manhattan")else() ,if fn:exists /row/c5 and $t/row/c178[@m=82]='USA' then replace value of node $t/row/c5 with concat ("NY 10036, USA.",$t/row/@id) else(),)return $t'passing t1.xmlrecordreturnin
Hi,I have a job of transforming osm to imdf with a custom osm map feature config file. When I push this job to FME server, it seems to miss that config file and fail to run the job. How do I solve this problem? Any help? Thank you very much.
I am running a following script, set serveroutput on;DECLARE message varchar2(20):= 'Hello, World!'; BEGIN dbms_output.put_line(message); END;Its throwing error for set serveroutput on. If I remove that statement query runs successfully with no results returned from oracle db.
Can we save credentials for an ArcgisOnline writer in the workbench? Our Final Goal is to run this workbench from an automated batch script. This runs fine but after a period of time the connection to ArcGISOnline fails and we need to reconnect manually in the workbench
Hi,I'm trying to create a dynamic workspace to create file geodatabase extracts of data out of ArcSDE. Ideally, I would like to make use of change detection in some form, so that data that hasn't changed doesn't get processed for no reason. Even more ideally, I'd like to query the database system tables to quickly narrow down what objects have experienced any change (I have some ideas on how to satisfy the second part, but haven't gotten to it yet).The SDE extracts in FGDB form will end up on a network share and be replicated out to the users.This article is pretty much what I want to do, I think.https://knowledge.safe.com/articles/1157/dynamic-workflow-tutorial-destination-schema-as-a.htmlI have to presume that I don't know the schema, nor the quality of the data, in an effort to make this flexible for the many SDE databases we're running this for.My workspace looks like this: Where I'm getting stuck, right now anyway, is applying the delete operation t
Is it possible to create a PostGIS database with FME ?
Hi Guys,I've trying to write a LAS file (Creating a TIN surface with TIN Generator) to IFC file. The final purpose is add this TIN surface to a BIM Platform. I've tried, but I dont get it. I appreciate any help. Cheers!
I'm writing information with geometry in Postgis table. It is currently in UTM, (SA-SIR-22S), before I need reproject for EPSG 4674 (SIRGAS 2000 LL). A failure occurs: The bulk copy failed in the 'public.amb_app' table using the ':' delimiter. Error was' ERROR: new line for relation "amb_app" violates verification constraint "enforce_srid_geom"CONTEXT: COPY amb_app, line 1: "8.34: 4: 461: 0400046100001: etn.sao francisco (flavio): 010300002042120000010000008503 ... 'A fatal error has occurred. Check the log file above for details... Last row repeated 2 times ... How to solve this?
Hi All,Hope you are doing good.I have an excel sheet containing a set of data wherein i wish to read only a specific set of rows. Test Excel.xlsxIn my case, i wish to read the data below the string (in mass percent) in row 280 from 281 to 296 with 281 as the column names. The whole table is supposed to be read below the above mentioned string. These row numbers may change with different excel sheets. So i need a generalized solution.Please help. Thanks.
I am returning a variable string from oracle stored plsql function. Function is executed successfully in sql creator without an error. I need to know how/where to see/populate the output returned from stored function.
Hi guys,I have this point cloud that I have filtered and clipped so that only vegetation areas remain. These areas I want to build a mesh of so that I can import this as a 3D-model into another software. I use the pointcloudsurfacebuilder for this purpose. Using construction mode "simple triangulation", everything works fine, a separate mesh is created for eache area of vegetation.This mesh is quite coarse so I want to use constrouction mode "poisson" instead. This creates a much smoother mesh, only problem is that it also creates a rectancular surface around the whole extents of my pointcloud thus making the mesh useless for me.Anyone here who can help me sort this issue? See attached screenshots of both results.
Hi,From a vb.net program, we need to create a MI Table like MITAB. We are having problems with MITAB so we are looking for an alternative.Can you help us? Thank you.Alejandro
There are a plethora of discussions on the "Error running translation" error, but none seem relevant to my simple workflow, as shown in the attached image, that writes a simple point geometry to an ArcSDE layer. The error msg was misleading as the point had been successfully written.I turned on the debug log and found a "BADNEWS" error in the log - - which I was not sure of its relevancy.