Using transformers to modify data.
Recently active
I want to use Inline Querier to find all rows in table CSV that are not in table DCDB. Lot_plan is the common columnthis works (returns rows)SELECT Lot_plan FROM CSVEXCEPTSELECT Lot_plan FROM DCDBThis does not work (returns zero rows)SELECT * FROM CSVWHERE Lot_plan NOT IN (SELECT Lot_plan FROM DCDB)Why does the EXCEPT statement work and not the NOT IN statement?
Starting point: I have a broken topology with nodes an edges as shown in the first picture below. The problem is that not all edges are graphically connected with the respective node.Attempt to solve: I used a "AnchoredSnapper" with the nodes as anchor and the edges as candidate. The "Snapping Tolerance" is depicted with the grey area in the pictures. The edges and the node which belongs together have a equal attribute what I use to group the elements.Problem: After the "AnchoredSnapper" the edges and the respective node are graphically connected as shown in the second picture (green lines). But unfortunately also the ends of the edges which have already a node and are within the "Snapping Tolerance" (red lines). Question: How can I avoid the wrong connections (red lines)? Adjusting the "Snapping Tolerance" is not an option because the not connected ends are not always in the same distance from the target node.
@takashi I have a number of numeric raster datasets with the value of NDVI or vegetation type. I have a polygon dataset with various properties and property types (public, road, private, etc). First I tried the standard raster and vector tools in FME but found that compared to other programs I have used FME is very slow with images. So I got sidetracked into point clouds and FME was on steroids. Then I kinda ran out of tools and knowledge and also realised that the final output would have to include vectors not just the analysis so I will probably bite the bullet and revert to slow and traditional. I would like to continue to see what I could do with point cloud though. Fail points were 1. converting the point cloud into vectors - I did see some workflows of buffering the points, dissolving etc but ran out of time to play and wasn't sure how quick these would be. A brief play with HullReplacer just gave me a big square. 2. Analysing the point cloud against vectors (assuming I didn&
I keep getting an error in my translation because one of the reader attributes is a string (utf-16) and I'm trying to read it into an integer attribute in the writer. But I can't seem to find a way to convert it. I'm sure I've accomplished this in the past but can't remember how and am not seeing anything in the docs about how to do this specifically.
Dear everyone, I have an fme workbench which is maintaing a connection between my sql server enterprise gdb and having some paramaters, I am using it for data download. It is facing two problem, 1) fme is reading featureclass name as we see inside arcgis catalog (i.e, DBO.test) while in sql server we find it as dbo.TEST. We have also a automatic process to read metadata where the table name we read as dbo.TEST. But our fme workflow is reading it as DBO.test so our download button is not working. How can I change the schema name in lowercase? ANother this is , i was trying to use a choice list for automatically updating new featureclass or table name inside reader, but when I import it as fme_feature_type , it is importing nothing!
Is there a transformer in FME that can build sector polygons based on coordinates provided. e.g. Source data has 10,000 point geometries. Output needs to be list of polygons with no more than 500 points within the polygon.
I am using the Arc Data Interoperability ext. FME 2016.0.1.2(20160224-build16177 - win32).Trying to maintain layers in the skp file, I reference @sander solution but am still having difficulty. When I say 'run' I get the translation parameters prompts below.This is my geometry property setter parameters, for the first layer. the others I tried to give numbers, but it makes no difference. And of course then doesn't run so I cant send you a log file. I have been using FME infrequently for years but definitely still at beginner level, clearly.Also battling with the help files for this issue.Below are two pics showing the difference I'm after. If I can maintain the layers (not all in 1 layer), it makes editing in skp easier. I need to simplify the buildings there, by taking cityGML LOD4 and making it +-LOD2.5.
When I create a tunnel from a long connection line than the first annatation is the same length as the connection line.
Hi,it may be a stupid question, but if you add a writer/reader/inspector in fme2018 to a transformer that is in a bookmark, he always puts it out of the bookmark. My model is very large and has a lot of bookmarks that run into each other so that is not so convenient. Is there a way around it?ThxNathalie
I am working to calculate Stream order for Geobase National Hydro-logical network for Canada. I used this link for my task -->https://knowledge.safe.com/articles/1228/calculating-strahler-stream-order-numbers-streamor.htmlThis is really good FME model and stream order are just fine for the network having just one destination point. But I have few problems with this model, which I am trying to solve:1. If the Hydro network have more than one destination point. How can I input more nodes as destination points for each network in stream order calculation tool, so that it calculates stream order for that network based on all the destination points instead of just one destination point. Also, is this even possible with the existing stream order calculation tool?2. I have few destination points for few networks which do have a lowest elevation but those points are on mainland (maybe inside a ditch, pond etc) and not inside the ocean but the network actually ends inside the ocean but mayb
Hi,I'm using the SQL Executor transformer to pull back the most recent records from a SQL server DB since the ETL was last run. The last run datetime will be held in in a Postgres table and pushed through as a parameter to the SQL Executor, the issue here arises when I push the datetime parameter through to the SQL Executor As a test and to trap the error I've used the attribute creator transformer to generate a datetime attribute which would mimic the last run datetime from Postgres, and hence push this through as a parameter. I've set the value = '2018-01-14 09:18:00'If I run SQL Executor with a set datetime ('2018-01-14 09:18:00') the SQL executor runs successfully and returns records. However if I run the same query replacing the specified datetime value with the the parameter I get the following error message, despite the value and format being identical?--'. Provider error `(-2147217900) Incorrect syntax near '09'.'The error message points to an issue with the time element of
Hi there,I'm trying to process an SQL statement for reading a ESRI filegeodb.I want to concatinate the statement in my first workbench and then give it to my second workbench via the WorkspaceRunner. - The first workbench aggregates distributors attributive with a seperator ",". So at the end there is for example a string '0781A21','0761A1'- My workbench2 should dissolves areas based on the distributors. My Reader where clause is actually: DISTRIBUTOR IN ('$(concat)') tried also DISTRIBUTOR IN ($(concat))$(concat) is the published parameter containing the statement. As an example the SQL statement I want to process in the reader of workbench2 should look like: DISTRIBUTOR IN ('0781A21','0761A1')How do I need to definine the statement in workbench1. The workbench2 is actually only processing the first distributor but not the second,third... translation log is --concat '0781A21' --'0761A1'Can find my mistake so I need
I am trying to make 1 tweet per hour with Tweeter using Decelerator, but I get this error with every second tweet:2018-04-05 20:32:30| 16.8| 7.4|ERROR |HTTP/FTP transfer error: 'Timeout was reached' 2018-04-05 20:32:30| 16.8| 0.0|ERROR |Please ensure that your network connection is properly set up 2018-04-05 20:32:30| 16.8| 0.0|ERROR |No proxy settings have been entered. If you require a proxy to access external URLs, please ensure the appropriate information has been entered 2018-04-05 20:32:30| 16.8| 0.0|INFORM|Updating access token for 'sami Google Gmail'
Hi,I always use RasterToPolygonCoercer to convert Rasters to Polygons (which, by the way, takes much much longer than the ArcGIS counterpart). However, RasterToPolygonCoercer no longer exports the raster values, although it did before. The Label Attribute no longer shows up in subsequent transformers.Is this intentional or a bug? If intentional, how do you extract raster values into polygons?
I have created a very simple list using the list builder that contains multiple values of the same key (stationId). the list looks like this in fme inspector: I want to pass all the statonIds in this station list into the sql executer transformer into my WHERE statement. The sql executer recognizes this list however, it only allows me to specify a specific element number in the list like this: where originstationId in (@Value(StationList{0}.stationId))The problem is I don't know how many values will be in the list each time so I can't hard code the list element number in it. I would like to pass all values in this list into my query.
Why doesn't this work?@Value(SP)=FD?@Value(PCT):0 If the value of attribute SP is FD, then use the value of attribute PCT, otherwise 0. I tried using 'FD' and "FD" too. 2018-04-05 22:58:55| 8.1| 0.0|WARN |AttributeManager_19: TCL Error Message: 2018-04-05 22:58:55| 8.1| 0.0|WARN | invalid bareword "FD"2018-04-05 22:58:55| 8.1| 0.0|WARN | in expression "FD=FD?10.0:0";2018-04-05 22:58:55| 8.1| 0.0|WARN | should be "$FD" or "{FD}" or "FD(...)" or ...2018-04-05 22:58:55| 8.1| 0.0|WARN |AttributeManager_19: Failed to evaluate expression 'FD=FD?10.0:0'. Result is set to null.
Hey guys!I'm having trouble with the RasterMosaicker not merging images very well. It's obvious to tell where the imagery is being mosaicked (please see attached image). Is there any way of getting rid of this? I was thinking (from previous remote sensing knowledge) that I could manually stretch the images to have them looking the same and then mosaic them, but I am unsure of how to complete this in FME. Help please!Sam
Hello,I am trying to export vertex coordinates from mesh to the attribute, but I am getting this error:TypeError: Failure to convert list values to native values.And here is the code:class FeatureProcessor(object): def input(self, feature): mesh = feature.getGeometry() vp = mesh.getVertices() feature.setAttribute('VertexPool', vp) self.pyoutput(feature)
Hi everyone,I would like to know because some logs in FME Desktop show me the message |Translation was SUCCESSFULBut there are logs that show the results but not the message Translation was SUCCESSFUL:2018-03-27 07:10:46|2344.9| 0.0|STATS |EstatisticaFluxo 11 2018-03-27 07:10:46|2344.9| 0.0|STATS |============================================================================== 2018-03-27 07:10:46|2344.9| 0.0|STATS |Total Features Written 11Both Log are workspaces that run properly.Thank´s
Hello,I have a network where this are many connected lines on nodes I wanna make from the ones having the same value of an attribute to get connected and became one feature. Is there any way to do it ? Thank you
Hi all,It's been a while since I've been working with this FME Desktop transformer. Today, I found something that woke me up and made me think HOW the "Inside Point" feature (one of the three options) is generated using this transformer. The situation is this one: Input: One polygon feature from a Shapefile.Using FME Desktop 2016.1 (tried older versions and same results)Image:I don't know if you can appreciate that the INSIDE POINT generated is in the same border of the polygon, so, after that, if I try to "Overlay" with other transformers like PointOnAreaOverlayer... it'd give me a non-overlay output.After all this description, I wanted to know "How" is generated this "point" output using the CenterPointReplacer transformer: Is there any potential parameters as could be Bounding Box, Number of coordinates, Multipatch feature... to be considered?Knowing that information, I could anticipate these situations and get it ready before
Hi,We have a proces, that converts some schema-less XMLs into MS/SQL. The output definition is set to "Automatic".It now seems, that later versions of the XML files include more attributes than the original versions. These new attributes are output as-is, but cannot be seen in the workspace.I've tried to update the reader feature types, but even though the attributes are present in the data files, they don't show up in the workspace.How can I by default remove all "unknown" attributes coming from the XML files ?Oughtn't the Attribute Manager have an option for this ?Cheers.
Hello,Can somepne please help me using the MRF2DIntersector ? I'am trying to remove overshoots but I got confused and lost within the transformer's parameters. Thank you in advance.
Hi,I've encountered a problem when using a GeometryReplacer With LineStringZInvalid WKT encountered: LINESTRINGZ(541502.5560000000 152585.6960000000 583.544, 541502.4660000000 152585.4560000000 583.775, 541501.2901908699 152581.1464218800 0.0)I do assume that LinestringZ is not an OGC WKT recognized format yet, although it is recognized as a valid OGC WKB format.http://portal.opengeospatial.org/files/?artifact_id=25355My goal is to check the geometry validity from my linestringz features before sending these to my postgis database.SELECT ST_ISVALID(ST_GeomFromText('LINESTRINGZ(541502.5560000000 152585.6960000000 583.544, 541502.4660000000 152585.4560000000 583.775, 541501.2901908699 152581.1464218800 0.0)'))Any idea how I could deal with this on FME 2018?
I have an UpdateDetector that compares incoming WFS records with a static table which then gets updated. I was supplying the Attributes to Match value from a user parameter. However, I was asked to make it work with a CSV file that supplies the required values. I was able to create a comma-delimited list by using a listConcatenator.However, I can't find any way to make the resulting attribute available to the UpdateDetector. I tried just passing it in to the Original node along with the records to be tested, but this always results in a spurious row appearing in the Delete port that just contains the attribute. As a work-around, I can filter out the unnecessary row to ignore it; however, this is a bit kludgy and I'm wondering if there is a better way to do it. I've tried inserting the attribute at other points in the work flow, but this either results in the attribute not being available to the UpdateDetector, or else the same thing happens. It seems like it should be possi