Using transformers to modify data.
Recently active
What does it mean if the pipes are broken as in the second and third example?? Anything?
Hi,I've been playing around with this for a few hours with no joy. I have lots of linework (imagine like river drainage) that is automatically generated, which I am trying to simplify and remove many of the vertices. The lines are split wherever there is a junction so during the simplification there should never be an issue with lines overlapping the end points of other lines.I am using the Generalizer transformer (Thin No Point (Generalize)), and to the large part this is working exactly how I want it to, but there are the occasional lines which over-simplify to straighten out and overlap other lines. Obviously with rivers this cannot happen! See the two offending lines highlighted above and below.When smoothing using the Generalize tool, I have previously used NURBfit, preserving shared boundaries, which seems to work fairly well, I get no overlaps. In this instance I'm trying to generalize and remove vertices, not smooth and add them. I'm struggling to get this functioni
I would like to find the coordinate for the tip of a leader line in autoCAD I tried extracting coordinate at vertex 0 but the point is not at the exact same location as it is in AutoCAD is there an autocad attribute that represents this information? I have used aggregation method and coordinate extraction on the line feature to get really close but the point is not at the exact location after processing.It looks like the location I am getting is actually the center of the arrowhead and not the location of the tip on the arrow.
Hello,Situation:I connect to an API on a daily basis and write that data back to a SQL server.The API returns a JSON with also a modificationDate. With the ChangeDetector I check if there's a change on that date, if so Update the attributes.But I thought there were a lot of updates so I added a list to check what. Here we can we can see that OriginalValue is trimmed where as revisedValue is not. The OriginalValue source:And the RevisedValue source: Both look the same to me, so how can it be the data is cut off?I'm not doing anything with it, just reading it straight from the DB?Sincerely, Jonathan
This seems such a simple thing but I can not find a transformer to achieve it. I want to measure the distance between two points along X and Y. I could of course do this with a LineBuilder, LengthCalculator, a AzimutCalculator and some math. But surely there is a simpler way?
I have an AutoCAD text & leader (mleader AutoCAD object) that are on one layer and a structure they describe that is on another layer. The structure is an autocad block, which FME reads as a point located at the block insertion point. The the leader line always connects to it's strucutre's block insertion point. The text is contained in a box that connects to the leader line always in the same pattern. I want to create a workbench that will determine which text/leader objects go with which structure. So it seems like a SpatialFilter transformer set to check if the leader layer touches the block layer should be able to capture this relationship. When I try this nothing passes the filter though, why could this be?
I have a raster file and i would to fill sink and after to make a diffrence with the initial raster. There is a transformer for that ?
Hi, can I have some advise on which is the best transformer to use? I have an overlay of topographic features in PostGIS. I have another overlay which consists of boundaries of 10 electoral districts. The electoral districts each have an attribute of feature name. How doI assign the feature name from each electoral district to every topograhic feature as a new attribute of that dataset?I then want to write out the topographic overlay to individual gml files for each electoral district.I've tried AeaOnArea and SpatialRelator but am struggling.ThanksJon
How create?
Hello, We've been doing 3d modelling with agisoft metashape, mainly small buildings. Right now we have a project of modeling 300 hectares of city and the outcome has to be cesium tiles and it has to be one unity. The problem is that agisoft cannot produce that large of an object in one go so we have to split into parts. How can i merge those parts back to one with FME? Kind Regards
I have a problem with maximum and minimum value of raster. I have a script (on screenshot, and attached) that calculates NDVI. Firstly I use RasterExpressionEvaluator to count NDVI, and then RasterBandMaxMinExtractor to extract max and min (I need those for further calculation). The maximum and minimum I get are different then maximum and minimum in QGIS for the same raster file. I checked raster before I run RasterExpressionEvaluator, and minimums, and maximums of bands are the same in FME, and QGIS, so I think the issue might be with the RasterExpressionEvaluator, but I am not sure. Has anyone has idea how to get this issue right? I need proper max and min value for normalization of NDVI, and I can see that results I get with this max and min value are wrong.
Hi all,I am attempting to create a series of tiled OBJ files with a terrain mesh and an ortho image draped over the top of the mesh. In order to ensure that the geometry between two adjacent tiles matches up I have a set of tile edges as a Geodatabase line feature. These are heighted, based on the input terrain and the tile edge dataset are used within the overall tile creation. These act as a set of breaklines and geometry between tiles is shared. The resultant terrain mesh is as I expected (see tile-edge-mesh.jpg) - N.B. this has only 1 tile selected as I can't see how to select more than 1 tile at a time.Anyway, the geometry that results from this looks good and tiles edges match up in terms of geometry. The problem that I have is with the textures draped over the top. If you look at the original-orthos.jpg image, you can see that there is no discernible edge between the 2 tiles. However, once you run the workspace an artefact seems to have appeared at the edge (see obj-f
Hi. I have a spreadsheet containing stations, offsets and direction of offset (left or right). This needs to be translated to point data.How would I automate this?
Hi, I would like to merge some blob data in an attribute based on if it shares the same id, the merge also needs to happen in the correct order and I have another field with that order. Does anyone know how I would go about this. The data does not have any geometries.Thank you for your help in advance.
Hello, my input csv is as follows (it was output from a 3 point shapefile using CoordinateExtractor):A,1,2B,3,4C,5,6I would like to output csv as follows (which will ultimately be used to generate a 3 line shapefile from LineBuilder):A_B,1,2A_B,3,4A_C,1,2A_C,5,6B_C,3,4B_C,5,6I'm trying to use various list transformers but I can't get there. Any ideas would be much appreciated!
I would like to increase the distance between groups of points, like what you see below. I have them "grouped" by common attribute so figuring out who belongs is taken care of. But I have not figured out how to get their position in relation to each other. The one in the middle is to stay put while the one on top moves up, and the one below moves down. How can I figure out which one is the "upper" and which one is the "bottomer"? This is necessary in order to move them in the right direction. I only want to move them in the Y direction. Also please note that there are 3 points in this example, but I also have some groups with only 2 members.I was thinking maybe I could use a CoordinateExtractor to get the Y values for all members in the group. But then I get stuck what to do next? My guess is that it could be solved with a TestFilter and some wizardry in the Artimetric Editor, but I don't know how.In the final step I plan to use the VertexCreator to se
I am moving data from MySQL to Oracle 12c. There is a datatype called bit on MySQL side that is not recognized by MariaDB connection. The values used in the column active are true and false. The reader completes successfully but results show <missing>.
Hello, I have i Workspace where i want to output some basic DGN surfaces. When the i look at the data that goes in to DGN writer they are of the type "fme_surface". But when i open the new its the same shape but build of a lot of fme_lines. Before Writer: After writer: Is there some setting in the writer that i might have missed that can cause this problem?
Hi, Is there a simple way to wrap a single quote mark in a string for the SQL Executor? Occasionally we will have a name that contains a single quote i.e St Paul's and these are being passed in as parameters into a executor for a Postgres database. thanks
I would like to try the following:Identify where lines touch and set an unique id to these overlapping/touching vertice (as in points, I hope I get the lingo right here).I will then move one of the lines with an OffsetCurveGenerator. Which means that the two lines wont be touching any more.Finally I would like to use the identifiers at the end of both lines as pairs and create a new line between the two.Q: How can I set a unique identifier to a vertice, similar to using a counter to set a id to the whole feature?Or is there a much simpler way to get the result I want?
So I'm trying to get the max and min of a row of data across all attributes (all number attributes).I used the list builder and got all the attributes into a list, except it is like this _list{}.col1, _list{}.col2, etcThere are 54 attributes so I'm not sure how to combine all the parts together to get the min and max. I can't use listSorter as it is asking me to pick _list{}.col1..._list{}.col55 when I want to sort _list{}. Is this a nested list? is there to flatten it it maybe?Maybe there's a better way to go? Would appreciate some help. Thanks
Dear reader, I'm trying to simplify a polyline. The image below shows the area's which I would like to transform in such a way that it becomes the shortest line. (Instead of these unwanted protusions). First I used an anchoredsnapper to create the line resulating in the image below. Using different snapping distances creates (unwanted) prostusions on different locations. In trying to solve this problem I used different generalizers (SherbendGeneralizer and the regular Generalizer). However, that did not help. Could anybody suggest a different approach? Thanks in advance, Adriaan.
Hi,I know FeatureHolder waiting for all previous results to come in but how do we handle a situation where two previous steps are "Either/Or" relation? As long as one line came to FeatureHolder, it should proceed, how do I deal with this situation? Thanks .
I have an older FME Workspace (this it was originally done in a 2018 version) and I opened it using 2019.1, pointed the readers to a new spreadsheet and the statistics calculator is yielding different results than before. I'm trying to get a continuous count based on an attribute. Examples of the results from 2018 that I'm trying to get with 2019 are below. Based on the change log for that transformer, I'm interpreting that what I'm trying to achieve is not supported by this transformer anymore. Any help would be appreciated. 2018 ResultsAttributeCountA1B1B2B3C1C2C3C4D1 2019 ResultsAttributeCountA1B3B3B3C4C4C4C4D1
i have points for each gas stations on both side of highways and shape file of highways road network..i want to caclulate the distance between gas stations on each side .. and side of gas station