Using transformers to modify data.
Recently active
To report about certain datasources, I need to retrieve the bounding box's xmin, ymin xmax, ymax values for later insertion into a text file.I have coupled a BoundingBox Accumulator Transformer to my Reader, which gives me a geometry object for the bounding box, but alas, I don't know how to get the aforementioned coordinates from this object.Any help would be greatly appreciated - Markus
Using FME2018.1 and SQLcreator reading attributes from an Oracle database, the attribute names always are in uppercase (although written lowercased in the SQL-select statement). Is there a way to avoid forcing the names to uppercase (I know the use of attributemanager or bulkattributerenamer, but am looking for a way to just leave it as specified by my SQLselect-statement)? Is there e.g. some ..\\FME\\2018\\metafile-file where one can parameterise the behaviour?
Hello, I am trying to reproject a .dwg file and write it in .dwg format as well. I am using a GeometryValidator and a SnakeGrid transformer. The workbench runs fine, until I connect a .dwg writer, where I get the error as shown in figure.Any ideas more than welcome. Thank you for your time.Kind regards,George Floros
Hello,I am stuck on a problem that is probably very simple, I just don't get it...I have a simple test IFC file with two rooms and some random furniture:I would like to use FME to run an inclusion test, which furniture is in which room.My thinking is to extract a center point of every furniture instance and run a spatial join using the Clipper tool. Something like this:Now, the confusing part.The clipper attribute merge is telling me all the furniture are in just one room:Why is that?It works fine using an AreaOverlay, but I really need a 3D inclusion test...Test IFC and my workspace:Thanks.
I used the Ifc-Writer to writeout an IFC-file succesfully. However, I need to add some elements that are not supported by FME yet (IfcZone and IfcPresentationLayerAssignment. The latter is quite easy to do, if you take the relevant ID's from the IFC-file.For the first however, I need to add an IfcGlobalUniqueId. This is not a regular GUID, but some sort of encoded uuid, see documentation here.Now FME already writes those IfcGlobalUniqueId's and I am not that much of a developer. So I am hoping someone can help by either passing me a bit of Python-code or maybe Safe can create a Custum Transformer like IfcGlobalUniqueIdCreator? Any other solutions are welcome as well off course!In this case it is about IFC2X3 or higher.Best regards, Lars@DaveAtSafe, @takashi
Im using FME 2016, and i need to merge attribute of the clipper and the clippee on the outside clipper, i already checked the merge attributes checkbox , Is there any transformer can help me with that please?
Hi, my workspace runner sends off a job to a child process which grabs files from a file system and zip them together.The files are being copied to a temp location such as E:\\Temp\\_auto_zip_dataset_1549542585771_21996 but they don't clean up after the child process is done with the zipping job and the zip file is written into a desired output location.Could you please suggest how to make sure the temp location doesn't run out of space?Thanks, Monika
Hello FME members, I try to marage two polygons ech other, but system coordinate is unknown (Left polygon). I try AffineWarper but reports empty output (it does not work). Another "trans" what i tested it's RubberSheeter, but coordinate system results not changed.How to reproject polygons like "georeferencer" tool and saving information at attribute field: (angle, scale, rotation) in FME? FME ver. 2018.1 PS: I found the solution in QGIS VectorBender tool.
I have a csv file with both lat and long fields that I would like to be converted from GAUSS-Kruger to UTM system. I tried a .csv reader and a "reprojector" transformer and a csv writer. The output csv is simple the same as my original input. Any ideas? thanks!
Hello, I need to use FME to do some custom cellwise manipulation of different rasters. I am quite new to FME, but so far my plan is to import rasters using a GeoTIFF reader and then doing custom manipulations in a PythonCreator transformer. Ideally I would like to be able to do operations equivalent to manipulating an numpy array, but I obviously realise that the operations do differ. So far I have gathered that you can access different bands in rasterdata by using getBand(), however I am uncertain in regards to how you go about accessing the data itself and further, how you can change individual values and so on. I have also read up on tiles, and seen examples such as " prevData = prevRaster.getBand(0).getTile(0, 0, tile).getData() " (by @takashi), but I am not confident in exactly how to change individual datapoints within the raster. And as a side question, what is the best/preferred way to troubleshoot code to be used in an PythonCreator? Any help would be greatly apprici
I am performing a reprojection on triangulation (in dxf format) to a custom coordinate system. However I still need the Z values shifted by 2000 metres, which is not covered by the reprojection. How can i approach this? Do i need to extract all vertices?
Hi,I have been able to run SpatialRelator with one DE-9IM string representing one matrix. In this simple case I used a text User Parameter. I have expressed the relation Within as the text T*F**F***Now, I want to test whether Requestor is CoveredBy Supplier. This is a generalization of the relation Within and can be expressed in DE-9IM with 4 matrices, see https://en.wikipedia.org/wiki/DE-9IM#Spatial_predicates T*F**F****TF**F*****FT*F*****F*TF*** I don't understand what I should provide to SpatialRelator. A list of strings? a longer string? Any idea? Best regards
I have a workspace that deletes polygons that are inside larger polygons, but multiple files at the same time. The files are DWG and the polygons are on the same layer. I´m using a dissolve but the error appeared below: 2019-02-07 23:03:58| 182.1| 0.5|ERROR |Dissolver(PolygonDissolveFactory_base_factory): INDEX FAILURE - requested predicate not implemented Why did this happen? With one file worked fine, but when I put more than one file the execution failed.Can you remove the internal polygons without using the dissolver transformer? Thank´s
Has FME made an update for this yet? I am currently trying to print our massive FME workspace on the plotter but am running into the issue of it not changing the size of the actual workspace but instead just changes the paper size and prints an 8.5 x 11 in the middle. All I want to do is print the workspace to 36 x 60. I can change the paper size to this but the model does not come with it in that size, it stays at the standard sheet size. Scaling will just make it blurry.
Good day, I have this Cancel Date "2018-11-06T00:00:00-05:00". I would like to convert it into %Y%m%d%H%M%S (FME datetime) Format but as UTC time. What is the best way to do so?
Hello Everyone, I have the following attachment The geometry type is fme surface. The end goal is to visualize in ArcGIS Pro. While I can do it successfully, it struggles quite a lot (even FME does) and my laptop is relatively adequate (i7, 32 GB Ram, SSD). Would you have any recommendations on how to improve it performance wise? Tried SurfaceDissolver, it did not do anything. Thank you in advance. Kind regards, George Floros
Hello,I have more than 300 TIFF files and I need to merge them into 1 TIFF/ECW file... Is there any way how to merge them please?Thank You so muchLubo
I have a Workspace containing an Excel Reader. The Reader parameters specify two of the columns as x_coordinate and y_coordinate. After updating the Reader to point at a new version of the XLSX with 2 additional columns (after the x_coordinate and y_coordinate ones), the geometry is not created. If I inspect the output from the Reader, it says there's no geometry. The x_coordinate and y_coordinate columns have the same names, so why is the geometry not getting created?Also, if I wildcard the file name in the Reader e.g. "data*.xslx", the geometry does not get created from the Reader, even though x_coordinate and y_coordinate are specified.I want to be able to wildcard the file name in the Reader for regular updates e.g. "data*.xslx" so I don't have to update the Workspace for "data Feb 2019.xlsx", "data Mar 2019.xlsx", etc. Is this just the Reader, or do I need to do it with a VertexCreator rather than in the Reader for this scenario?
Hello,I'm new to FME and I'm looking to get a JSON file formatted like this :{ "depart": { "INCENDIE" : 533, "AUTRES" : 30, "RISQUES TECHNOLOGIQUES" : 71, "OPERATIONS DIVERSES" : 320, "ACCIDENT" : 411, "SECOURS A PERSONNE" : 3813 }}The data comes from the following treatment : And the inspector give me that informations : I've try to use the following treatment : With that configuration : But I can not get the desired result as above.If anyone could help me ...? Best regards.
@DaveAtSafehello, Dave, we are using the fuzzyStringcompare software in order to compare Arabic strings from 2 different data set, but it's not giving the expected result even when the ration is high,Since you have been involved in this costom transformer any idea on how we could fix this Thanks
Hello,Because of the python 2 deprecation, I'm updating existing workbench to python 3 and I'm having an issue with the transformer GeographicBufferer This is the error message that I'm getting after pressing ok.What should I do?Thanks?
I would like to identify 360 degree loops formed from a polyline and its attributes. ID's are the same but should only occur on 3 or less edges and not 4, forming the "loop". Below image gives a clearer overview. How will I go about identifying these issues? Thanks
Hi, I have to remove segments of roads, which are closer than 37,5 meters from each other. How can I do it?I mean roads' segments like this:
I have some different 3D-models in different formats. I want to batch create a 2D image without opening them with FME Data Inspector or another tool - take a screenshot and save as image.Are there any way to do this?Ie - do you know of any open source or other tools that can take as an input an inputfile (vector / 3D) - a viewpoint and write that as a raster?
This is my first real experience with rasterdata so my knowledge quite basic.What I want to do is to convert rasters to vectors using Potrace and the PotraceCaller. The rasters are 8 bit PNG's, see attachments.In the PotraceCaller, the raster is being written to BMP. The BMP is commandline converted to DXF by Potrace. The DXF is being read, world file applied.This works great, but not for all rasters. When running the workspace the following warnings show up:2019-02-06 12:11:52| 0.5| 0.0|WARN |BMP writer: Unsupported palette value interpretation 'RGBA32'. Converting to interpretation 'RGB24'. If this conversion is undesired, consider changing the interpretation explicitly2019-02-06 12:11:52| 0.5| 0.0|WARN |@ReinterpretRaster: Converting some band/palette interpretations from 'RGBA32' to 'RGB24' might result in a loss of dataI think to understand that a palette is an overview of all variations being used in the raster.The raster which is successfully converted has the following