Using transformers to modify data.
Recently active
Hi,I thought I'd solved this issue with a spreadsheet reader however I appear to be experiencing the same thing with a CSV reader. Whenever a record with a null date field hits the writer it will have the error "attribute could not be written. The containing feature has been dropped." - but I still require that record. With the spreadsheet reader once the spreadsheet date fields were cleaned up so they only had either a date or a null value (the cell contents were cleared in excel) it worked fine. I would've thought that a CSV reader would have less difficulty. Is there a transformer/parameter out there that remedies this issue?Any ideas FMEers?Cheers,Mike
Hello all,I have two layers, one of roads (lines) and one of electorates (polygons). The roads intersect the electorates and one road can intersect more than one electorate.For each road feature, I want to add the name of the electorate that the majority of the road falls within.I am using a SpatialFilter to populate the roads with the names of electorates but I don't know how the transformer chooses which electorate to populate the road feature with. Is it just the first electorate that happens to intersect?
I have a large raster with 1 band (NDVI) though it could also be multiple bands (different vegetation indices). I also have several hundreds of polygons. I would like to use zonal statistics to determine min/mean/max/stdev of NDVI values of these polygons. How can I do this in FME? In ArcGIS and QGIS this is a one click affair.I am aware of the existence of Rasterstatisticscalculator, but it does not have that much documentation. My current workflow is as follows:but the following things are confusing me: Why does rasterstatisticscalculator turn the three clipped rasters into 1 raster? And how do I extract the results back into the shapefile? Example workflows of how to perform an efficient zonal statistics would help immensely!Thanks!
Hi all,I'm fairly new to FME and have an issue I hope you can help with. I have a shapefile of overhead powerline spans and have been using the FuzzyParrallelLineFinder custom transformer to find spans which (likely) share a right of way (ROW). Each span of the line is a separate feature. Often the ROWs are more complex with not quite parallel lines (hence the Matcher not quite doing the job) but this is just an example:My ultimate goal is to merge these spans into a single ROW centreline with attributes taken from all of the input spans. The transformer has been working great and the matches I am getting back are really promising and make sense. It provides each matched feature with a _line_id and a _match_id linking to the best case match _line_id, along with various other stats I can use to filter matches. There is also a list of best case and additional matches. I can use the stats to filter out matches that aren't useful but beyond this I am unsure how to use the output t
What's the best way to rasterize a 3D polygon (not constant Z value)?The NumericRasterizer is very efficient (3.2 seconds) but uses a single z value (first vertex?) for the entire polygon. The RasterDemGenerator produces the desired results, but takes over 1.5 hours to run. Is there an alternative to the RasterDemGenerator that is more efficient?
I want to warp the image to the oblique photo footprint (the trazpazoid polygon). I can geoference the image to the image footprint (the geoferenced image is represented by the rectangular polygon) but when I perform an AffineWarper transformation the image incorrectly shifts, as represented by the image. I'm using all four sides of the oblique trapazoid (extracted with Chopper) as the control for the AffineWarper. Please note that my exposure to photogrammatry is limited.
I'm making a tree map. Every tree species gets a different color with the FeatureColorSetter. I put the fme_color in the KMLstyler. But in google I only get one color. In the KML I do not get the hex colors.I'm working in FME2015 due to the fact of an old smallworld application.How can I change the colorsettings for KML?
I'm trying to transform Aircom Enterprise Map/Data Asset file to ESRI ShapefileI get empty ShapefileAs input I've : index.txt, menu.txt and two binary files: g2 and g3 .I can open my files in FME data inspector .I tried to transform Asset files to 2D Shapefile or 2D with measurements, as result both transformations skipped the 2 features : g2 and g3Please help , log file attached
Is there any way to calculate an n-ary summation in the expressionEvaluator or equivalent?I have an expression to calculate that includes the following component, where n and a are attributes:?na2n-1
I sShould preface this post with this subject-matter is foreign to me. Seeking solution – with detailed instructions – to offset points on a map. The end application requires lat/long, which I have. I need to take these lat/longs and offset the map points (preferably, in random directions) by 350’.Thanks in advance!
Hi, How can I change the brightness of TIF Raster? I have made same attemps with the RasterExpressionEvaluator but I didn't see any changes in the result. Best regards Steve
Hi,I have created a workbench which migrates data from WFS to spatialite. Only issue I am facing is that I use numeric data types (containing lat and long among other things), the data merges from many wfs into a few spatialite tables, the schema is the same but the precision on the data types differs.As a result I get notices like this:SPATIALITE writer: Existing feature type 'x' contains attribute 'longitude' of type 'real(20,10)' that does not match the schema attribute of type 'real(31,15)'. Attributes named 'longitude' on incoming features will be written to the existing feature type as type 'real(20,10)'Is there a way I can override the schema so that I can set it to a larger precision and avoid this issue?Thank you for your help in advance
we have WS running with no encoding issue on the desktop, when published on the server and used as API we are getting a result with encoding issue we did add an ecoder into the WS , but it didnt solve the problem Any idea, please
In one case, I am getting a random problem with Esri Geodatabase:2017-03-16 12:10:36| 2.1| 0.0|ERROR |Could not open the Enterprise Geodatabase. The error number from ArcObjects is: '-2147155644'. The error message from ArcObjects is: {Cannot connect to database because the database client software failed to load. Be sure the database client software is installed and configured correctly.}In another case I am having a random problem with Oracle:2017-03-15 19:48:48| 248.5| 0.2|ERROR |Execution of statement `INSERT INTO "WELL_HELLO"."TABLE" ( "PKEY_HELLO",.....) VALUES ( :"PKEY_HELLO",.....)' did not succeed; error was `ORA-03135: connection lost contact Process ID: 12345 Session ID: 4321 Serial number: 98765'. (serverType=`ORACLE8I', serverName=`someserver', userName=`SOMEUSER', password=`***', dbname=`')These workspaces are run on FME Server. How can I figure out the problem?
Hi, I want to create a 3D tileset of trees of an city. Whenever i searched for similar process in Cesium and FME related communities, i noticed that people mostly used "instanced 3D tiles" (Cesium3Dtiles with i3dm file format) to represent the objects sharing same geometries (like trees, billboards, citylights etc.). Actually FME have very useful transformers to calculate coordinates of center points of these objects, but it doesn't support i3dm tilesets.Do you know any option or suggestions about creating i3dm tilesets using only FME or with help of a 3rd party solution?
Suggestions for an efficient way to determine the local bearing of an arbitrary location along a line. Local bearing is the azimuth angle of a given point to the next vertex in the line.Bonus points if it iterates easily.
Hi,In my work, I've stored a lot of workspaces on bitbucket. Now I want to create workspaces in such a way that it first downloads the latest version from bitbucket (put file locally) and from there on, processes the workspace and file.I've already tried the httpcaller to get the .fmw file, but it seems that either I don't give correct parameters or it's not possible to do so.Next thing I've tried is a feature reader (format fmw) with the url, but I don't have a clue to get the correct .fmw locally. I've tried with a filecopy to move the location of the file (retrieved from file properties) to new location, but seems like this is also an invalid .fmw.Anybody else who has some experience with this?
Hi,So, I've created workspace in 2016.1, ran it, it went perfect.Then I gave workspace to a colleague who ran it on 2016.0 with same data, some results weren't good at all, specifically creation of donut polygons. The parameters were indeed set to Create Donut = Yes and Drop Holes = No.There was no Error Message 'These transformers are not in your system...' while oppening in 2016.0. Workbench ran workspace succesfully.We've already found solution/workaround. While in 2016.0, delete AreaBuilder that was created in 2016.1 and add AreaBuilder. Everything worked as expected.I was wondering, does anyone know why did this problem occur?Thanks
I have a table "SensorHistory" that has info pertaining to rain gauge data. My goal is to create a summary information to eventually present rain gauge totals attributes such as 1 day, 7 day, 10 day, 24 day and YTD totals. I was wondering how to go about this in FME so that I have 5 attributes with site_id (see picture) and receive time for that day having the maximum rain gauge accumulation? I assume I would have to query out the table for the given time periods and use the max statistic(receive_time) for that day to get the rain accumulation. Not quite sure how to query that either so any help is appreciated!Thanks!
Hi,I have had a look to see if a radio button is available as a user parameter for an FME app that is pulling the parameters back using fmeserver.js.<form id="fmeForm" name="fmeForm" onsubmit="return dataDist.orderData(this);" onchange="dataDist.updateQuery()">Does anyone know if this is doable?
I have one raster with values of 1 and NoData (as defined in an earlier RasterExpressionEvaluator, with an expression such as follows: @if(A[0]>2999,1,0), and a second raster with values of 2 and NoData (defined earlier as follows: @if(A[0]>2999,2,0). In both rasters, NoData value is the same (0)When I want to make a composite raster, by taking raster 1 where values are 1, and else values of raster 2, e.g. @if(A[0]==1,A[0],B[0]), pixels with NoData in raster 1 will remain NoData. The expected behavior is that all pixels that are false in the expression become values of raster 2. Is this intentional behavior? It can be avoided by using RasterBandNoDataRemover but it seems silly to me that RasterExpressionEvaluator does not take it into account while demanding that of all input rasters the nodata values are the same...
Hi everyone,I'm a beginner of FME desktop. I have several raster dataset. Each of them is a folder containing several .adf, .xml and .log files. I want to read them in the FME desktop then convert them into polygons, so that I can next overlay and tessellate these polygon layer. But I got stuck at the first of all step-- choosing the reader. I tried the "GIS Binary Grid", which gives me the warning "File contents may be invalid, or the file format may not be supported".Also chose the format of .hdr raw raster, ASCII Grid and .gdb, the folders are greyed out and cannot be chose in the Dataset window. As additional information, eg. one of the dataset I failed to open in FME is the Esri DEM raster dataset. It's a folder containing a set of .adf, .xml and log files. It shows as "raster dataset" in the platform of Esri Arc Catalog.Figure 1. the raster dataset shown in Esri desktop.Figure 2. The dem10_plains folder contents. Should I transfer the raster
I want to write data to an Autocad object data writer. It will not finish translation and the text "Object Data Reader: Failed to load object data handling module. No object data will be read" appears in de log file. There is a notification that says: File C:\\Program Files\\FME\\metafile\\autocadCorrTemplate.fmi could not be openedIt happens in 2017.x and 2018.x. I have checked if the file exists in that folder. It doesn't. There are two other files that are called "autocadCorrTemplateDestination.fmi" and "autocadCorrTemplateSource.fmi".Strang thing is that colleagues in various FME versions not having this problem. One has the same device I have. Who knows why my workspace is fails?FME version: 2018.1 64-bit smallworld licenseBecause the translation fails, I have turned on logging with debug.
@DaveAtSafeHi I am trying to follow the instructions provided in https://knowledge.safe.com/articles/19640/how-to-create-a-wms-service-using-fme-server.htmlto create a wms service. I have created the 2 services GetCapabilities and GetPNG in FME server, and I can test each successfully using following urls:http://myserver/fmedatastreaming/TestOGC/GetCapabilities.fmw?SERVICE=WMS&REQUEST;=GetCapabilities&VERSION;=1.1.1 http://myserver/fmedatastreaming/TestOGC/GetPNG.fmw?SERVICE=WMS&VERSION;=1.1.1&REQUEST;=GetMap&LAYERS;=PETROLSTATION_PT&STYLES;=&FORMAT;=image%2Fpng&TRANSPARENT;=TRUE&BBOX;=350000%2C284000%2C460000%2C370000&WIDTH;=1024&HEIGHT;=1024&EXCEPTIONS;=application%2Fvnd.ogc.se_xmlHowever using FME web user interface, the GetPNG service does not create any outputAlso, should I be able to consume this wms service in any web client using http://myserver/fmedatastreaming/TestOGC/GetCapabilities.fmw?
Hallo community! I want to give you some vision about my try to create an xml document with the "XMLTemplater". The problem in my workflow is that i can't create an variable in one subtemplate to read it in an other subtemplate. (second picture show what i mean with subtemplate). Thats why i can't fill the right geometry information into my structure because my subtemplate "GEOMETRY" doesn't know in which road he is and so he can't get the right nodes out of a list which includes all nodes.So my question is now which possible ways do i have to solve that problem or how to create the xml-file with an defined structure over an other way (not over an "XMLTemplater") ?