Using transformers to modify data.
Recently active
Hi everyone. I have 2 esri shapefile polygons. I need to do spatial join of those 2. Features that overlap should have attributes from both input layers. I tried areaonareaoverlayer but the result is not good. Can anybody help? Thanks!
Hi,I'm trying to figure out seemingly easy condition in XML Templator, but something is just not working out. What I would like to do is write out an XML element only if a feature attribute has a value. Here's an example:<OperatingTimeList> <OpeningTime>{fme:get-attribute("opening_time")}</OpeningTime> <ClosingTime>{fme:get-attribute("closing_time")}</ClosingTime> <OperatingTime dayOfweek="" note="we are open"> </OperatingTime> </OperatingTimeList>And I would like the "note" to show up in the XML only when there are some values in OpeningTimeI know I should follow if then else logic, but so far I'm only getting XMLTemplater errors. (FME Desktop 2018) Thanks,Linda
All: Can someone give me a slight push. I modified the code provided in the TCLCaller sample (provided in the Safe knowledge base - https://knowledge.safe.com/articles/769/converting-time-and-date-fields-to-local-timezones.html) to convert UTC date to EST. I have 5 dates I need to convert to EST and wanted to store them in separate attributes. I've attempted to create an array to return the 5 dates but no luck. I feel like I'm almost there. You will see some of the lines commented because I've been doing a variety of test scenarios trying to get my results.Thanks in advance, proc formatDate {} { # this attribute matches the FME feature attribute set QueryDate [FME_GetAttribute QueryDate] set MROutageDate [FME_GetAttribute MostRecentOutage.OutageDate] #set EventRepairDate [FME_GetAttribute EventOutage.RepairDate] #set MRRepairDate [FME_GetAttribute MostRecentOutage.RepairDate] #set EventOutageDate [FME_GetAttribute EventOutage.OutageDate] #puts "date GMT
Hi All,I have upgrade my FMEServerJobSubmitter to version 3 from 2, and now some output parameters has disappeared.- i have been using the number of features output, time start and time finishversion 2 belowafter upgrade, it is no longer available, and make the attribute manager fail
I am trying to use a FileGDB template I have to look up the geometry type for each feature type inside the template. The template has no features just the feature type definitions including the geometry type.If I put an inspector on the Schema output port of my FeatureReader I can see the attribute fme_geometry{0} in the Feature Information panel in the FME Data Inspector.Using an AttributeExposer on either the value fme_geometry, fme_geometry{} or fme_geometry{0} gives me nothing. If I use a ListIndexer on fme_geometry{} or fme_geometry{0} I still come up empty handed.I can see the geometry type in the FME Data Inspector, how do I get hold of it?
Hi,this has been asked a few times, but i have tried all the suggestions with clipper and or donut builder, but cannot seems to get clean polygons, with clippers on the edge.I cannot get to cut nicely on the edges, with clipper or donut builder, the result is a polygon that SQL Spatial don't like.it would be great if we had a tolerance on the edges with clipperIs there possible other ways to get this to work?
Hi there!Is there a way to disable this message? It is very annoying when developing.Thanks
Hello community, I have a dense hydrographic network on which I am performing topolical corrections. What I wanna do is : 1. Extract start and end node of each line (Done using coordinate extractor + vertex creator) 2. Draw a circular buffer on each extracted node (Done using the bufferrer) 3. Keep only buffers which intersect with other lines (not done yet) Is it possible to get some help doing this task ? Thank you ver much.
Hello,I am trying to locate present spikes on a dense lines network using a bufferer I used the spikeromover then connected a bufferer on removed spikes port. However the bufferer seems not able to buffer spikes. The first spike entering the buffer goes to the rejected port. Does anyone knows how to help ? Thank you
Hello,Is there a way in FME to detect lines having the beginning or the end vertice like shown in following images.Thank you
@DaveAtSafe I do direct translation DGN --> DGN [MicroStation V8i (SelectSeries 3) Version 08.11.09.614)]. The SOURCE file contains only three lines of custom styles: one is dashed line and two others contain point symbols. A SEEED file ia a copy of the SOURCE file. A translation is made by FME Workbench [FME(R) 2016.1.2.1 (20160929 - Build 16674 - WIN32)]. It is successful, with a warning 'DESIGN WRITER: Cell with the name 'Linestyle Definition Cell' could not be found in the cell library provided. Feature is being skipped....'. In a RESULT file, the dashed line is OK, whereas lines with point symbols are represented by straight lines. How could I translate correctly custom line styles with point symbols?
Hi everyone ,i wondering how to convert from (.x) files to 3ds max because i visited this link : https://www.safe.com/convert/microsoft-directx-x-file/3ds-max/ that anounce like can convert to 3ds max . Is there have any tutorial or guide for using this software about converting Direct X-Files to 3ds Max ?
Hi everybody.I try to make a buffer only with parallel of line, because the transformer bufferer make a complete buffer with start/end line vertex.So I try thisbut I've a problem with the AreaBuilder who doesn't make area...Do you think this is a good method ?
Hi, I have two password protected workbenches (one to run, that runs another through workspace runner). People can use the Quick Translator to run them. After some development work, the Quick Translator no longer displays logging info (sometimes it does). Instead, It says "Reading file" for the duration, and then either doesn't finish properly (no output file) with window entry of "Translation finished", or finished successfully with the same entry, and sometimes with "Translation Successful", in between (the actual logs are collecting info though). Before the development work, it provided all the usual logging info all the time (except for another time when I had this is issue, but it went away).Hope I'm missing something simple. But is there an explanation for this?Thanks, John
Hi FME-Community!I got following situation withe FeatureJoiner: Left-Income: point-geometry with some attributes Right-Income: polygon-geometry with some attributes Attribute Conflict Resolution: Use Left Geometry Handling: Use RightThe goal is to get the attributes of the left income. Everything runs fine and looks good. But as soo as we want to write to Oracle we fail. When taking a closer look to the Joined-Output features the polgons have fme_geometry=fme_point. Is this an effect of "Attribute Conflict Resolution: Use Left" with "Geometry Handling: Use Right"?!Moreover, if we reset fme-geometry to polygon (GeometryCoercer or GeometryValidator) we still cannot write to Oracle. If needed I can prepare a workspace for that.Thanks in advance! Maria
Hi FME community.I would like to merge two columns value in once like that :Col1Col2AZERTYHELPAZERTYNOBODYQWERTYENJOY>Col1AZERTYQWERTYHELPNOBODYENJOYCan I do that with a transformer ?Thank you.
Hi guys,I'm trying to offset lines (SHP) with z-value geometry using OffsetCurveGenerator. I have two attributies to offset roads at left or right site of the road. It works ok, by I'm loosing information about z-value which is significant becouse I'm trying to get flat surface of the road (the second phase is to update DTM). Function @Buffer(@Value(RBuffer),22.5, RIGHT_SIDE_ONLY) gives the same resoult. Any idea how to offset road but keeping z-value? Thanks for the help,
I am looking to convert some points from a shape file into blocks. So far I managed to convert the points into the block type I want by using dwgstyler, selecting the dwg template and the name of the block. I also specify the same dwg template in the dwg writer (maybe its unecessary?) Now what I cant seem to be able to do is: Those points have an attribute that I would like to save as the label/text attribute the block has. So ideally for example, point with attribute A value 18 would be saved as a block with attribute B value 18. Is it possible to save the attribute as an autocad attribute? I have tried searching for that block attribute when i used attributeCreator, or even using attribute exposer, but I can't seem to be able to find it...Edit - The block has 2 layers, one for the geometry and the other is a text for the attribute.
Has anyone ever / Is it possible to do an upgrade from 2017 to 2018 Server but move drives and restore your config in the process.For example 2017 is installed on the C Drive- company policies is to only allow 50gb on the C Drive and no permissions for me as an admin to write on the C Drive. So I can't delete old files make changes etc without bringing in I.T which is very frustrating.Only solution is that we move FME Server to a new drive where we can have as much space as required. So my question is, if I take a backup of 2017 where everything is configured on the CDrive and I install 2018 Server and restore to the EDrive for example will everything work as expected? Or am I expecting too much :)
Hi,I have one workspace that uses GoogleGeocoder, but in some weeks ago, my workspace don´t work properly. Below follow the log:2018-03-23 13:43:38| 4.2| 4.2|STATS |Router and Unexpected Input Remover(RoutingFactory): Tested 5 input feature(s), wrote 5 output feature(s): 5 matched merge filters, 5 were routed to output, 0 could not be routed. 2018-03-23 13:43:38| 4.2| 0.0|STATS |Unexpected Input Remover Nuker(TeeFactory): Cloned 0 input feature(s) into 0 output feature(s) 2018-03-23 13:43:38| 4.2| 0.0|STATS |Plan1 (XLSXR_1) Splitter(TeeFactory): Cloned 5 input feature(s) into 5 output feature(s) 2018-03-23 13:43:38| 4.2| 0.0|STATS |Plan1_XLSXR_1 Feature Counter -1 18(TeeFactory): Cloned 5 input feature(s) into 5 output feature(s) 2018-03-23 13:43:38| 4.2| 0.0|STATS |Geocoder_CATCHER(TeeFactory): Cloned 5 input feature(s) into 5 output feature(s) 2018-03-23 13:43:39| 5.4| 1.2|WARN |Geocoder (Geocoder): Geocoding result invalid, status: 'ERROR - Unhandled Exce
Hi i downloaded FME Trail version and using Workbench. And I am trying to convert WMS "link" to shapefile format.It is reading well but, while writing into shapefile it is throwing error. See the below error information"A fatal error has occurred. Check the logfile above for detailsFME Session Duration: 2.8 seconds. (CPU: 0.2s user, 0.1s system)END - ProcessID: 4020, peak process memory usage: 40856 kB, current process memory usage: 39564 kBA fatal error has occurred. Check the logfile above for detailsProgram TerminatingTranslation FAILED."Please help me regarding this issue.@vamsi krishna
I have a center line...i want to have buffer polygons 100m each right and left...but they have to be single polygons which every of them is 100m width.....so i need one 100m right, 200m right, and so on but every of them have to be 100m in width....soMultibufferer brings me the right target but the transformer gives me donut geometry with a polygon right one left and a line which connect both of them...so whats the process when i want this.... or is another transformer better?
I am using the UpdateDetector to update GDB_A. GDB_A is entering the UpdateDetector through the Original Port.GDB_B is an updated version of the same data and enters the UpdateDecector through the Revised Port.GDB_B more often than not includes all of GDB_A plus some new features, these correctly exit through the Insert Port.GDB_A has had many changes made to its attributes since the last update (basically attribute data has been entered in manually replacing Null values with more useful data)As these manually added values do not exist in GDB_B, any rows that have been manually adjusted in GDB_A exit the UpdateDetector through the Update Port, with the manually added data in GDB_A having been replaced with the Null value from GDB_B.I am looking for an elegant way to prioritize any value over a null value for every attribute, regardless of whether the value is sourced from the Original (GDB_A) or the Revised (GDB_B) dataset. But also if there is a true update; ie both GDB_A and GDB_B ha
I have a shapefile with multiple float-fields. I want to calculate the minimum value of these fields. For some of the features the calculation is correct, but for some features the values are not used.I use the AttributeCreator with the Arithmetic Editor: @min(@Value(BOVENGRENS),@Value(ONDERGRENS),@Value(WINTERPEIL),@Value(VAST_PEIL))This gives the following result in the field Rekenpeil:Thank you for your replies!
Hello, I hope someone can help me with my problem. I am fairly new to FME and my first task is to close parcel polygons from .SHP. My approach was to use transformers LineCloser, Matcher and AreaBulder in that order and this works fine if data is good(Picture 1). I will be working with .SHP that are not 100% correct for example not all lines in .SHP will touch in same point (see Picture 2) or they will intersect (Picture 3). And at last my question. Is there a possibility in FME that I can test my SHP for this type of issues?Picture1Picture 2Picture 3