Using transformers to modify data.
Recently active
point on area overlayer , there are two or three points inside the polygon, how can i take the attribute of all points attribute and put it in the polygon layer attribute?
We have just started using Version Control in FME-Server, instead of Tortoise SVN. While the functionality is nice we realized there were no way of telling if the workspace has been version controlled in the repositories or otherwise. Is there something we are missing? I would like to see it as a column in the repositories with a simple checkmark or similar. Marcus
I used SpatialRelator to find relations between areas, when Requestor contains Supplier. In Output i got the contained areas (supplier). Is there a way to get the surrounding areas (requstor)?
Why the aggregated feature is "OGC Simple Compliant"?First CREATOR generates a box POLYGON(0 0 10 0 10 10 8 10 0 10 0 0) and the second one a triangle (POLYGON(0 10 5 13 8 10 0 10)). I think I missunderstood the meaning of "OGC Simple". (the opposite of a complex feature?). It seems that "simple" doesn´t imply "valid".Workspace: Thanks in advance.
I have been using the HTMLReportGenerator for a while and it has come to my attention that the JavaScript framework that it is based on has been updated a number of times. Is there an ETA for when FME will incorporate these updates into its model? The version that FME uses right now is 1.0.2, and the current version is 2.7.2, as of the 28th of Aug, 2018. It has changed so much, that I cannot even use the string transformers to pull the data variable to use on my own charts without major restructuring. Does anybody know if this will be updated soon?
I have an FME workbench that reads an ORACLE database. I can export most of the atributes to a shapefile, but unfrotenately, I cannot export directly the string value that is embebed in this atributeoracle_element{0}.geomedia_text_string (string) Value,How can I do it?
Hello there, we have some feature with not a valid geometry, we used geometry validator transformer but it did work, is there any other way to filter only the valid GeometryThanks
Hello all,I'm using a basic regex to take the lines contains 'TWY' string in StringSearcher Transformer. The expression returns the expected result when I trying in https://regex101.com/r/mT5rZ3/56here . However, when I try this in the transformer it returns only 1 match.What am I suppose to do to get every line containing TWY on different match index
I have a set of data in the form of closed areas:I need to find a relationship between them (with a Spatial Relator or NeighborFinder) and then give the same ID for the related areas(the candidate receives the base id) or at least have a tabular summary of id plotted areasThe requestor and Supplier have separetly id list.
Hi!I am having a following problem while reading CSAR -file into FME Desktop 2017:CSAR point cloud file contains a Status band. However, the band is not visible in components list when reading the CSAR point cloud file to FME, although other bands can be found from the components.
I am reading an excel file, and seems most datetime fail to readIt shows for example HH:MM:SS for 5PM as 166000, and therefore it fails converting it, because 60 minutes is not valid.'20181007166000' is not an FME datetime. YYYYMMDD, HHMMSS[.X+][(+/-)zz] or YYYYMMDDHHMMSS[.X+][(+/-)zz] expected. Use a DateFormatter transformer to adjust the format of datetime strings.any ideas
I have a real-time XML feed that I am consuming that identifies road conditions. The issue is that the provider has changed the XML feed and grouped multiple segments with the same road condition into a single message. This message can grow and and shrink at any time. It can also add additional sub-elements to further describe the condition. In the past we were able to use an xfMap and expose the XML elements that way. This year, it has become more complicated. They've added sub-elements but FME is not resetting the list index to 0 for the sub-elements. Here are some examples:Example with Single Route & Multiple Conditions:Example with Multiple Routes & Single Condition:Example with Multiple Routes & Multiple Conditions:I've tried to leverage the XMLFragmenter, ListExploder, ListIndexer and no luck.The ultimate goal is to have a single record for each road segment with all the corresponding road condition attributes, message information, etc.Here are the full screen
I have to generate dynamically an polygon to cut the border of my raster image.i read this articel: https://knowledge.safe.com/articles/18764/setting-alpha-vs-nodata-color-and-numeric-data.htmlOption #2 sounds good, but there is a static polygon (creator transformer) used.i have to replace the creator and add something like a polygon generator based on my raster data.this is a demo pic. the red polygon is the polygon mentioned that I would have to calculate.I thought of something that compares the neighboring pixels and the strong deviation from this creates the line of the polygon. is there already a transformer? or is there another suitable solution for my problem?sorry, i'm quite new with FMEedit: picture updated. the area with green lines should be removed
have used this workspace to convert cad to shapefile , i want to get a closed polygons as the cad file was lines , so i tried to use area builder to get it , so if worked on the blocks its ok , but if i want parcels i get it not clear like these images 1- is the workspace that i used to solve the topology and build area with the lines 2- the result 3- first workspace that i used and there was no result because of topology.. can any one help getting the result same as the source at least the geometery and i will take the text layers after
When I was thinking of a solution for this question, encountered a strange behavior on conditional value setting.Calculate percentage of how many features in a group have a certain valueMy intention is to create a new attribute "_flag" and assign 1 if the attribute "Type" has a value, 0 otherwise. I believe that this conditional value setting in the AttributeCreator should work as expected.Workspace: (FME 2018.1.0.2)However, the result was:I cannot find any specific reason, but I suspect that the "feature table" technology has a defect related to this symptom. Could you please investigate this?
Hi,I´m transforming some features in DWG file. But I have problems with one specifical line.The DWG Reader show this line below:I´m using DWGStyler to configure the parameters for writter correctly, but I´m not able to keep with the correct line shape.Look below my DWG output.Can help me?Thank´s
I am trying to convert my feature class with its domain attribute values to CAD. I can convert my feature class to CAD (Autodesk AutoCAD Map 3D Object Data) but I have one issue! It converts the feature class perfectly and attaches the attribute to each features in CAD with Object Data in CAD but my domain values from my feature class does not show up in CAD attribute!!! I appreciate your help!Cheers,Mehran
Hi! I need to find Neighbor Lines from Blue (Base) to Red ones (Candidates) and have the average distance between these neighbors. So i splited lines into vertex and for each genererated find the closest line and then calculate average with a StatisticsCalculator. It worked graat but only for one Neighbor. I tried use NeighborPairFinder but it doesn't work to, becouse it found neighbors when Blue lines have more than one neighbor.Any suggestion?
I would like to know if anyone has published a data source to Tableau Server from FME
I have a need to sample 10% of a data set. I use the Counter and then the Statistics Calculator to get the total record count. From there, the Expression Evaluator is used to multiply that total count by 10% (setting to a whole number). The Variable Setter then sets that value to a variable. The variable is used for the N input on the Sampler. I do not get an error, but no records are output from Sampler. I have confirmed there is a value in that variable (using eh Variable Retriever). Enclosed are the details. Any suggestions?
Projections Changes
I have two ways I've been going about this. 1 - dissolving hexagons, keeping any at least 3 contiguous hexagons in size. Any more than 20 hexagons in size need to be divided into being at least 3 contiguous hexagons in size. I've used the PointClusterer transformer (on the centre points) when I had only 2 large polygons that needed to be divided, however, when I have over 12 polygons it's not working so well (perhaps due to the irregular spatial distribution and oddly-shaped polygons).2 - I've looked at trying to divide the polygons directly, with less success (trying to determine the length and width didn't work so well with the irregularly-shaped polygons from the dissolved hexagons). Does anyone have any idea of how to make either method work, or have another idea of how to do this?
HiI have 2 suppliers with the same attribute names. When I link them both to the featuremerger, I can only see one set of attributes to work with. How do I see both sets of data without renaming all the attributes?Andrew
Hi all, I had a script working on 2.7 (our previous default) and have now switched to 3.6 to keep up to date.I am getting a syntax error on line 18, but I can't see why, it is probably something obvious I am missing... Also any feedback on the script would be cool, I am still new to python so would be appreciated! Thanks in advance#import libraries that we will potentially needimport difflibimport fmeimport fmeobjects#create the class for execution, as per the FME spec:#https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/pythoncaller.htmclass addressMatch(object): def __init__(self): self.dataD = [] self.pread = '' self.outputIndex = 0 self.tmp = 0 self.matchRate = 0 def input(self,feature): if self.pread <> feature.getAttribute('CURRENT_ADDRESS') and self.pread <> '':#Error here for index, item in enumerate(self.dataD): self.tmp = difflib.SequenceMatcher(Non
I have some DWG files with data drawn as blocks with attributes. When I look at these in Data Inspector, I notice that the block attributes shows up in two ways:I've read through https://knowledge.safe.com/articles/59335/autocad-dwg-block-attribute-extraction.html and see that while I can access the attribute info from the attribute lists (top marking) it would be a lot easier to just grab the info as shown at the bottom. The problem is I can't find this via e.g. the attribute exposer. Anyone got a good idea?(Demo DWG attached)