Using transformers to modify data.
Recently active
I'm trying to convert various features of an IFC file to OBJ files. I'm able to do the entire transformation up to the point where I save the OBJ files, but it seems that the coordinates are in a projected CRS, evident from the very large X and Y coordinates. I have tried using a CommonLocalReprojector transformer (with a FeatureHolder just before it to make sure the transformation is done relative to the entire feature set):But the models appear stretched when I view them in Blender. Quite drastically. You can see that the doors are much taller than they should be, based on their width to height ratio:The only geographic information I really have from this file is RefLongitude and RefLatitude. But like I said, the coordinates themselves appear as large X and Y values, at least after being read from FME Does anyone have any idea on how I can fix this?
Hi folks I'm searching informations for importation of donuts (archipelago) inside GDB format. Up to now, all my donuts are ejected when I try to integrate them. I can do the import in GDB open API or GDB with ESRI licence.
Dear community,I am running a conversion from dwg to ifc. the necessary information is placed on a layer which is named differently in each file. I can't find a way to process this automatically, since everytime the workspace-runner brings in a new dwg-file, the attributes are stored on a differenty named layer. Is there a possibilty to read in dwg-files with a filter looking for specification within a layername?Thanks a lot for any hint on this matter.
We are using FME 2017.1 to transfer facilities from one company to another going from a SW 5.2.3 database to a SW 5.1.2 database. I can connect to the SW 5.1.2 Gas_transmission dataset from the SW 5.2.3 session. When setting up my Workspace, I have multiple geometries being exported like gt_line_loop (beg_location, end,location, route_satellite and route_aerial). Iff I have 11 records that I am exporting from SW 5.2.3, I will have 4 sets in the reader (11 per geometry). If I just run a straight tranlastion, I end up 44 gt_line_loop records being inserted into the SW 5.1.2 database. I only want 11 records to be imported/inserted. I did an AttributeCreator and created sworld_geometry{0}.sworld_name for beg_location. I set up another AttributeCreator sworld_geometry{1}.sworld_name for end_location. I crete and Aggregator and do it on ID and Merge Attributes. I run translation and it appears to work fine. I get 11 records with beg_location and end_location populated. I
Hi, you lovely fellow FME-people! I have a question that I have tried in this forum before but I really didn't get help so now I'm trying it again. I use FME to create earth samples speedy and elegantly in an output DWG-file using the DWGStyler. I point out a cylinder block in a template file and then use it in the output REALDWG (after inputting x,y and z and length to each individual sample). The challenge is that I also want to use FME to add tilt and rotation to the block in the output file. Is this possible? Or do you have other suggestions. It is important for me that the geometry can hold attributes and that the output file size is kept to an absolute minimum.
Whenever I try to write data in Irish National Grid TM65 (EPSG:29902) to Esri formats, FME writes Irish National Grid TM75 (EPSG: 29903) instead. The only time FME writes the desired coordinate system is if my source data is from an Esri format that is already in TM65.How can I get FME to write the desired coordinate system?
Hi all, I am working with a dataset that has been generalised and contains ALOT of spikes so I am trying to clean them up. Spike Remover- easy, its a great transformer. However there are spikes I want to keep and those I don't so I have been running a lot of tests on the parameters to get the optimum balance . When you set the parameters you can choose your max angle and length and if the criteria is met then spike is removed. The output shows the spike line segment values 1 & 2 for both sides. It seems to me that if one of the Spike lengths meet that max value criteria then the spike is removed. What I want is to have the option of when both spike lengths meet a criteria then spike is eliminated. This way I have much greater control over what is being removed and allows me to better keep the integrity of the dataset . Am I missing something that I cant do this easily? My Fix--I have put in some rules that basically takes the spike remover outputs for spike_length and tests tha
I have a polygon on which I run a CenterLineReplacer (medial axis). I would like to calculate the longest path spanned by the center lines. How is this possible within FME (preferable within FME 2016) ?
I am currently looking for a way to query a list to either return all the values that contain the value found in an attribute or return the list index for these values. I have currently managed to return the list index for the first value in the list to meet this query using a ListSearcher but can't seem to figure out how to return all values.
Documentation mention 'Syntax Highlighting' as an option in the advanced text editor.Is it possible to set the highlighting scheme to a given language (SQL) from a stringConcatenator transformer?
Hi all, I have a 3D mesh in a DWG file (3D surface of a pavement) and want to convert its footprint to a single polygon in an Esri file gdb polygon feature class (for use in 2D GIS). Can ignore all attribute information. Tried following this post but without luck (I think I need more detailed instructions re settings for each transformer). Anyone here able to help me? Thank you!https://community.safe.com/s/question/0D54Q000080hgjISAQ/turning-a-mesh-into-a-polygon
I've tried using the raster selector but it always fails (probably because I do not know how to correctly introduce the parameters)I am attaching a print screen of the Raster Calculator from QGIS with the "Expression" I used to filter my raster image. Thanks
Hi, We are collecting data with Esris Survey 123 and I would like to export the data within the shapefile (table) to specific cells within a excel template. With our gathered data we would like to make excel reports where different data ends up in different single cells within the worksheet. Anyone who has a simple smart solution for this?
Checking this, but surely this has to be a Bug? FeatureJoiner in Left Join Mode and Right Hand Side Conflict Resolution is overwriting LHS Attributes with NULLs where:a) There was no matching Feature on the RHSb) The Attribute Name exists on both the LHS and the RHS I would have thought that for any Left Feature that did not match any Right Feature, there is no "conflict" to resolve and it should exit the Transformer with the same Attribute Values as what it went in with?
I have simply transformed an IFC file to OBJ format, but the default result is that everything has the same flat grey colour. I notice that I can edit the created "materials.mtl" file afterwards to change the different material types, and when I then import the created OBJ file into Blender, I see that the new colours are there. I would like to automate this however, for example making all walls a certain colour, all floors a certain colour, etc., or even changed their colour based on attributes. Is this possible? I see under the OBJ Writer parameters that I can specify a custom Material Library File, but I don't have one to start and I would prefer to simply generate it dynamically, just with the colours for each feature that I specify. How can I do this? I tried using a ColorSetter transformer just after reading some specific feature types but that didn't do anything.
I'm trying to group together polygons from a single dataset that are in close proximity to one another (0.5 metres). I've used a NeighborFinder (Candidates Only) which gives me a value for distance and have set it to give me a Close Candidates List so that it returns more than one neighbour. However, it is not clear to me how I can tag the features that meet the criteria for belonging to the same group and I have no attribute that I can group by
I have a simple workbench that reads a postgis database and outputs an excel file based on a user parameter in which the user enters a filename that filters the input table into one record. This works fine within FME, however I'd like to create a batch file that runs the workbench from the command line. The problem I have is getting the batch file to prompt for the user parameter. It just runs the workbench with the last parameter I set within FME. I'd like to be able to run the batch file and get the prompt for the parameter in the command line.
I'm trying to analyse an area/DEM with these two criteria: -Even sloping terrain steeper than 1:20 and total slope height > 5 m.Finding areas with slope of 1:20 (5%) could be done with the slope function. But I can't figure out an easy way to filter these areas to only include areas with slope height over 5 meter. I.e. the total vertical height form start of slope to top should be at least 5 meters.Anyone have any ideas or thoughts on this problem? Background: The criteria are to identity possible land slide areas (quick clay), so it's already clipped to only include areas of old marine sediments. https://www.ngu.no/en/topic/quick-clay-and-quick-clay-landslides
I have a shapefile or esri geodatabase file of Appraisal data that I need to join to two different appraisal data tables based on a single field and add the table fields to the original file. What transformer(s) should I use?
My inputs are 3D point shape files and 3D point clouds in LAS format. These have been re-projected from OSGB to London Survey Grid using the transformer - SnakeGridProjector. The XY positions of the data are converted correctly but the Projector is set up to handle 2D data and the elevation values pass through untouched. It is a 'black box' projector so can't itself be manipulated to incorporate elevation shifts. Ideally a fixed value needs to added to the elevation to complete OSGB/LSG re-projection. We can apply the Z shift in alternate software, but would like to add this stage within the FME workspace if possible.
Hi All - I am attempting to take a geo polygon and shrink, rotate, and offset the polygon to the correct location. For this I was attempting to use Affine Warper. The polygon I'm trying to change is the "Observer" and I have a geojson polyline with 2 points as the "Control" that I want to shrink the polygon down inside. No output is given in the Affine Warper.
Day one in FME... Coming from an SSIS background. What would be the approach to dynamically set a reader location based on the results from a transformation? I'd like to take the Joined results I have and for each filepath start a whole new batch of work. The readers have me stumped as I'm used to being able to set the source locations using an expression. I can see I'm not able to add a reader in a custom loop. Just looking for a push in the right direction. (see below). Could be I need to re-wire my brain for FME use too!
Why does the FeatureMerger flip some line directions when supplying their geometry to another feature? It seems that only features that begin running in a southerly direction are flipped. Here is the transformer: Input:Output:
Is it possible to use a dynamic writer to update? I want to read multiple feature classes, join each feature class and then update the joined records in a different database. Matching columns are not available when selecting Update feature operation.
I am a very new user to SAFE FME and I am still learning the tool. What I am trying to figure out is how to publish a .hyper data source file to our on-prem tableau server. I am using the 2020.1 version of safe fme with the new .hyper writer. My basic question is how do you do this. More specifically what I need help understanding is: (1) how to write the XML into Safe FME to do this per tableau (see this document: https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_publishing.htm); (2) can I do this without having to save a .hyper file locally; (3) can I create a macro to make this easier for others and adjust the settings (like append the data, replace the data, etc.). Thanks in advance, Greg.