Using transformers to modify data.
Recently active
Hey,I have multiple xyz-Files that I would like to Clip with a shapefile. And then save it as xyz-Files again.I used the reader POINTCLOUDXYZ as well as the writer POINTCLOUDXYZ. I tried the transformer Clipper as well as PointOnArea. Somehow it won't work.Is there a transformer/ or multiple transformer connected that I could use to clip xyz-Files, that you can recommend to try?Thank you,
HiI am trying to extract the EXIF GPS coordinates from a .TIF file. I have managed to extract EXIF from a JPEG, but it seems .TIF readers doesn't expose the right additional attributes: The .TIF file I am trying to extract:Anyone know of an alternative way to do this?
Y((@YValue()/0.999604)-5447183.654)-(((@XValue()/0.999604)-482902.876)*0.000039706) X((@XValue()/0.999604)-482902.876)+(((@YValue()/0.999604)-5447183.654)*0.000039706) Thanks
We have created a dataset in a WebViewer with Google Charts in the maptips. Now we got the request to print a weekly snapshot to pdf. I wonder if anyone had this same challenge and found a solution. We can always reproduce the charts in the ChartGenerator but we really prefer the Google Charts layout.
Hi,For a client we are developing a system to preview survey data (bathymetry) in a browser. Additionally, we also need to indicate differences between surveys over time. These survey data are supplied as rasters. I have some troubles when reprojecting rasters with different extents to Web Mercator, please find attached a document with more information and screenschots. Raster 1CRS EPSG:32643 - WGS 84 / UTM zone 43N - ProjectedExtent 272800,2092300 : 276600,2097600Unit metersWidth 3800Height 5300Origin 272800,2097600Pixel Size 1, -1 Raster 2CRS EPSG:32643 - WGS 84 / UTM zone 43N - ProjectedExtent 261500,2088600 : 281600,2100300Unit metersWidth 20100Height 11700Origin 261500,2100300Pixel Size 1, -1 I'm looking for a way to prevent small displacements using a correct combination of FME transformers, using FME 2020.1 Thanks, Richard.
I am using an Area on Area Overlayer and Expression Evaluator to calculate the percentage of overlap of one polygon dataset with another -the scenario is percentage ownership. I have noticed that those polygons that should have 100% overlap / ownership because they are completely within the other, do not show as a nice round 100%, always 99.something up to 101.something. I'm guessing this is something to do with geometry and /or tolerance, but how to solve it? 101% ownership will raise questions when the data is presented!
I was looking at ways to create Elevation profiles but did not find any transformers or other easy ways to do this in FME. Should I be searching for some other word?I don't need anything fancy, the sources are some polylines and a DEM file. I would be happy with something as simple as a csv file as output.
Hi, I make an attempt at removing the effects of building heights on a DSM (Digital Surface Model) in order to obtain a result looking more like a DTM (Digital Terrain Model), in other words something closer to the bare soil elevation. My thought was to use a RasterResampler transformer and define a cell size a bit larger than the buildings, and also assigning the minimum elevation value to the new pixel. However I don't see a minimum value method for RasterResampler. I looked at the RasterConvolver but there is no way to define the kernel size in terms of distance instead of pixels. Correct me if I'm wrong. In other words I need to find the minimum over a great number of neighboring pixels (much more than the traditional kernel sizes).How would you achieve such a raster operation using FME Desktop? Thanks in advance! Best regards,Olivier
What is the fme_where syntax for specifying multiple fields to update by?I've tried this syntax, but it doesn't seem to work in my scenario. New Attribute: fme_whereAttribute Value: YEAR = @Value(YEAR) AND MONTH = @Value(MONTH) AND PLANT = @Value(PLANT) AND UNIT = @Value(UNIT) I'm using a DB2 writer and I have to handle inserts and updates coming through. It seems that the single DB2 writer can only handle INSERTS or UPDATES, not both. When I enter values in the "Update Key Columns" property on the DB2 Writer, all incoming rows are treated as Updates even though the fme_db_operation value says INSERT. And vice versa. When I remove the value in the "Update Key Columns", all rows are treated as Inserts, even when the fme_db_operation values says UPDATE. I thought I could delete the values from the "Update Key Columns" property on the DB2 writer, and then create the fme_where attribute and specify the key columns to use for the UPDATE. But it didn
I have 2 versions of data in autocad format: 1 old and 1 newer The difference between these 2 versions and that the insertion point (blue square) of the blocks has been changed. For the oldest version it is located at the bottom right image 1 and in the most recent and in the middle of the block see image 2 I need to move this insertion point inside the block, it is good to move the coordinates of the insert point and not the polyline coordinates of the block. I have established the formulas for the displacement of the insert point with the unit of angles in grades and wish to be able to apply it to evolve my files from the oldest version to the most recent image 3.I am new to FME and admit not knowing how to go about it. Can you guide me to solve my problem
According to https://community.safe.com/s/article/working-with-geodatabase-field-aliases , when reading aliases from a GDB, an additional attribute with fieldname_alias is created, containing the alias. When writing to a GDB, this field is used to write the corresponding field's alias. So I figured formatting an Excel table like below would work, but the fields are written to the GDB normally, and there don't seem to be any options to flag the fields as alias fields.
I am working with a 3D city model (composed of meshes), where the vertex normal pool is simply a copy of the vertex pool. Obviously, this is incorrect and I do not know why that is the case, as I was simply handed the model ready-made. I am wondering therefore if there is a possibility to do a reset for these measurements? To calculate the vertex normals in some automatic way anew? I appreciate any input on this matter! Many thanks.
I have a folder of ~300 2gb DEM files. I want to produce hillshades of these 300 individual tiles so that when viewed together the colour ramp is the same across file boundaries. Rasterhillshade doesn't work well if the min-max values on a file is 5m-300m and the adjacent file is 5m-900m. I've previously put DEMS through a raster mosaic and then produced a hillshade but with this size of data that's not feasible. Any ideas how this can be done?
I would like to know about difference between inside point, centre of gravity and centre point transformer ? if any example to see differences. I tried with general shape file didn't find any differences.
These jobs currently take 1-2 hours to run on FME Server (6 CPU, 48 GB) each day. Due to the nature of the data source, incremental updates are not possible at this time.
Dear community, I want to read a geopackage, transform it, and write into the same database. After the process the geopackage f_id need to be the same as in the beginning. When I choose "update", "drop and create" and geopackage_fid as the ID Attribute in the writer settings, I get the warning "OGCGEOPACKAGE writer: Cannot perform Update on feature type 'grundnutzung' because feature with ID '21024' does not exist. Skipping feature". When I choose "update" with "use existing" it works but features that have been deleted during the transformation still exist in the database. When I choose "insert" and "drop and create" it works but then the features geopackage f_ids change. What are the correct settings to write into the database keeping the same geopackage f_ids? Thanks!
Dear,colleagues. @ebygomm @nielsgerrits @david_r please help me with a .json file (reading, converting, and writing it). So the details:1 - I have extract the names of the main foldersTile_p502_m6014Tile_p502_m60152 - then I have a .json file {"asset":{"version":"1.0","gltfUpAxis":"Y"},"geometricError":2965.7869354899398786,"root":{"boundingVolume":{"sphere":[2868547.6520226998254657,2203510.7712099198251963,5235902.6513763302937150,1482.8934677449699393]},"refine":"REPLACE","geometricError":2965.7869354899380596,"children":[{"boundingVolume":{"sphere":[2868210.6526993899606168,2203251.1590014300309122,5236183.9360417695716023,954.5398049977940218]},"geometricError":1909.0796099955900900,"children":[{"boundingVolume":{"sphere":[2868210.6526993899606168,2203251.1590014300309122,5236183.9360417695716023,954.5398049977940218]},"geometricError":16,"content":{"uri":"Data\/Tile_p502_m6014\/Tile_p502_m6014.json"}}]},{"boundingVolume":{"sphere":[2868861.2329204198904335,2203750.24563178
Hello, I am running a conversion, using a generated workspace and the information I found here: https://knowledge.safe.com/articles/1470/how-to-convert-dwg-to-dgn-autocad-to-microstation.html Now this is a very basic conversion and what is supposed to be written in the .dgn format is this:However, when the dgn is created the output is this: Essentially, the Multisurfaces are converted into Lines. Now I have checked the writer parameters, but I was unable to find relevant information, besides the seed file (I tried both the seed3d_v8 and seed3d_m_v8_). Now as I am not very experienced with the dgn structure and geometry types, I would like to ask you how can I keep the solid (multisurface) geometry as an output and not break it into lines?Thank you for your time. Regards, George
I'm properly stumped and would love some thoughts on this one. I'm taking a collection of GPS points that make up a track. I've taken these points and sequenced them and created line separate line segments (strictly 2 points). These segments now span the length of the track and they have been sequenced with an ID in the order they occur (based on timestamp). I'd like animate these lines in a stop motion/claymation fashion. And show a cumulative line segment (in order to reduce the number of features) and assign a frame identifier that dictates the frame in which to show/reveal the feature. So far, I've been using the Cloner and setting the number of copies as the ID of the feature and assigning the output clones a _copynumber. This results in large volume of features that I can then combine using the LineCombiner and grouping based on the _copynumber. This works but it's not very efficient. Due to the number of segments in the tracks the number of features obvio
Hi, i have a citygml file and i want to convert it to .obj format but while i am doing this i gets error and also the output obj file have no texture. Can anyone help me to convert citygml to obj with texture.
Hello FMEers ! I am struggling with a specific issue : for various reasons, I applied a very small buffer on a set of lines (IFMEMultiCurve), just to apply a CenterLineReplacer right after (on "Approximate Center Line" mode) . By doing so, I was hoping to get rid of geometry issues, but in the end, I am getting some brand new issues ! On some portions of the resulting lines are actually many small segments which are (or seem) colinear :It also seems that some segments have a lengh of 0 : starting and ending points have the exact same coordinates.Is it possible to avoid this kind of side effects ?Or to fix the kind of issues ? I don't care about the global line direction, and merging some not-perferctly-colinear segments would not be a problem.(I tried some LineOnLineOverlayer, Matcher, LineCombiner, but none of them seem to do what I want.) Here is a geojson file resulting from such process : [file] (link is valid for a month) Thanks in advance ! 😃
I am trying to convert DXF file to Geojson using the same proj4 as a source and destination coordinate system.tried to :1) use 'define a new custom coordinate system' suggested solution, not working because my proj4 coordinate system includes this parameter: +towgs84 which is not in the coordinate system parameters2) use 'proreprojector' transform, failed because the source and the destination coordinate systems are equals.I need to use this workspace as a dynamic one, which means that the reader/writer types may be different.Any suggestion to achieve this task?
Hi, I am trying to perform a LEFT JOIN inside InlineQuerier.I have two files with similarly named tables, (except for a _).Inside my TABLE A, in the "CITYCODE" column, I have some values, for example: "LATAM - RX12345 - SIE0950331501 - Monclova - CITY SERVICE"On the other hand, in my TABLE B, in the column of "_CITYCODE" with the value "Monclova". Just like this case, there are thousands more in my tables with the same structure, what I want is to be able to do a LEFT JOIN that partially matches a complete text string containing the values of my column "_CITYCODE". I have tried to do a LEFT JOIN like this: ---------------------------------------------------select * from "TABLE A" LEFT JOIN "TABLE B" on "CITYCODE" like '%'+"_CITYCODE "+'%'-------------------------------------------------- But I don't get the '%' as a wildcard for a partial match. Could someone help me wi
Hi, we moved recently from FME 2017 to FME 2020. We noticed changes to the Bufferer transformer. We used round end caps and round corner styles. We use the end product to compare to the previous end product to detect if there are any changes. Since the new bufferer in FME 2020 works a bit different, the datasets are now rejected after switching to FME 2020. Which parameters do I have to set on the new bufferer to ensure the results from the workspace run under FME 2020 are the same as the results from the workspace run under FME 2017? We did upgrade the Bufferer transformer in the FME 2020 workspace.
Hello Community,another question ... I try to add a z-value (new attribute) to my 2D polygones (SRID 25832) by putting them on a 3D DEM (SRID 5555). The plan is to "throw" the 2D Polygones from above on the 3D DEM and the z-value result from the first touch, where the 2D Polygone hits the 3D DEM. The icing on the cake would be, if I could create a 3D Geometrie (SRID 5555) out of the 2D Polygones additional to the z-value attribute)