Using transformers to modify data.
Recently active
I need to simply sort according to region, and then for each region, set a counter from 1 - n. Thus each region will have a 1,2,3 etc. I have set up a sorter ok but the counter does not start from 1 again on the next region.
I have a a set of point objects with a rotation attribute. These are later to be turned into labels. Each label point has a corresponding reference point that it needs to be facing away from. That's where the "behind" and "front" come into the picture. A quick example of what I want to do: Say I have a label point rotated to 20 degrees, and the reference point is at an angle of 50 degrees. This means that the reference is in the "forward" 180 degree sector and that the label needs to be flipped/rotated 180 degrees. The above example is straightforward but the fact that this is a rotating object that jumps from 360 degrees to 0 has me pulling my hairs. I need help with the math, and syntax. I have tried to incorporate a modulus 360 but have not managed to get it working. I am using a Testfilter to detect the relations between the points. What should the formula look like?Let assume that the rotation of the label is R and the angle to the reference point
I am wondering if anyone have any suggestions to use FME to process live data streams that are funneled into various text files, server log files being one of the examples. Thanks!
I have intersecting lines that I wish to transform into a polygon. The resulting polygon should trace the exterior vertices and "hug" the original lines. I've heard of a Minimum Bounding Geometry tool before, but can't find this in FME. The bufferer won't work. How do I create my polygon?
Workbench:reader1: ECW --> RasterSelector (3 ALL) --> RasterBandRemover -->Clipper --> writer:JPGreader2: SHP -->After starting it I get this: LOGIt just stops until I manually stop it. I use FME 2017.1.0.0.The strange thing is that when I make the same workbench on a colleagues computer (FME 2017 1.2.1) It runs with no problems and makes the JPG in 1 min.
Hi,I would like to identify overlaps but only from a single source of data. That data has 1500+ records of unique Region Name. However, I found an instance where a part of a region is overlapping another adjacent region. I would like to identify how many instances I have in my database identifying at least 1 region name and creating an area of the overlapped.as shown below, green area has a portion of the adjacent boundary.any help is appreciated. thanksLex
Hi there, I'm working on a project where I'm trying to identify the slope of various segments along a pedestrian network based on contour lines. The ultimate goal is to create a dataset that shows changes in slope along various portions of the pedestrian network (say every 3 feet).I'm new to working with contour lines, and I was wondering whether anyone has initial suggestions on how to approach this project in FME?cc'ing @takashi since I've found your explanations very helpful in the past.
i am new to FME and i am trying to find a way to calculate a running total for a large set of gauge data. I have a point with 24 hours of data, and i would like to sum a running total based on: 3 hours; 6 hours; 9 hours, 12 hours, etc.... for each point. i tried the statistics calculator but that gave me a running total of all the records. i would like them group by 3's, 6's, 12's, etc. any assistance would be appreciated.
I have a strange issue where Dashboard seems to run (ran it manually) and within a couple of seconds, it is empty. Needless to say, no history is available, either....Cleanup is running things with a longevity of 1 week, so I assume that cannot be the issue....Anybody experienced this before ? This worked fine before in 2017.1.1
we need to build polygon, from points, the only problem is the user could enter them not in the right order, is there a way we could build it without intersecting the lines and without woring about the points order ?Thanks
Hi @erik_jan, @ciarabIs there any option in DWGStyler Transformer to change the MPolygon fill color?, I've the ROUTE feature which is displaying the right color HTML: #c0c0c0 .I need the 'MPolygon with fill pattern' color to be displayed the same HTML: #c0c0c0, currently i'm selecting the 'Fill Pattern name' as solid and the output of it is displayed as shown in the attached snapshot (Outer boundary as color #c0c0c0 and inner polygon filled with black. Is there a way i could change the inner polygon color to the same as outer boundary color-#c0c0c0. Any help would be appreciated.Regards, Anil.
Recently I cannot access FME 2018.0 Change Logs for Desktop.-- FME Betas | FME DownloadsI frequently check the change logs. Please keep it always.
Hi, I have two readers where one is a line object and the other is a point object. Sometimes, my point objects will lie on the line or it may be at the end of a line. In the case that it is on the line, I want to split the line and be able to produce two lines. Please advise. Thank you very much!
I am trying to build height labels for contour lines from the lines themselves. This is pretty straightforward since the height values are contained in the contour data and I can easily extract them with the Labeller. The problem is that I want all the height labels to be rotated as if one was always reading them facing uphill. They currently come out of the Labeller facing both uphill and downhill. The labels follow the contour line as they should, all that is fine, my only issue is that I want to rotate some of them 180 degrees. How can I use the neighbouring contour lines to detect what is uphill? What is the best way to rotate the eronous labels based on the above direction?
I've got a workbench set up with a SystemCaller to run my saved SQL query in PostGIS - using one table with unique IDs (let's call it "delete table") to remove records from 6 other tables in my PostGIS database based on the same IDs. I then want to double check whether the query was successful and compare it to the number of records in the "delete table" before moving on to the next stage of the workbench. I can see the log displaying how many records were deleted off each table as it's showing it as 'DELETE 67' etc whilst running the query. Would it be possible to extract those numbers from the log and use it further in my workbench in e.g. TestFilter to check whether everything in the "delete table" has actually been deleted before moving on to the next stage of the workbench?
I have a circle feature class and want to split it in 4 segments, where it intersects with a point feature class (see image).What would be the best tool to do it?
Hello everyone !I have this problem since a couple of days... I want to aggregate the geometry of several non-touching polygons based on a common attribute (the id of the administrative area they are part of) but I also need to keep the other attributes of each polygon. I thought the Aggregator was the designed tool for that but I can't find out how to keep attributes of each part of the resulting "multipolygon". I always loose information of the individual polygons...Thanks for your help ! ps: please forgive my english as it's not my mother tongue.
Hi,I have a new source with poor metadata. I would like to create a quick overview of the dataset by producing a matrix, where I have each attribute field and all unique values within that field listed. With aggregator or duplicate filter I can easily do one. But I have close to 100 fields, so there must be a more clever way...Thanks for any suggestions!
Hi,I just yeasterday started to play with htmlreportgenerator and html as format is new to me also.After playing one day with it, I managed to make with small effort make point in map and make some charts out. Now was thinking if there is some "easy" way to make those together?I have about 300 points in map what show their label when they are clicked. How much html_content I would need to modify to make charts pop out instead of label? All of these points have their own charts. To make it simple.. 300 points and 300 charts. How to make them together? :)Aki
I have a custom gsd file provided by our client to go from NAD83(CSRS) UTM zone 18N (or EPGS 2959) to UTM83-18 (or EPSG 26918). Using the data read with these projections or datums, and trying to relate the two spatially within FME, produces no overlap between the features. Whereas, there is only suppose to be a 1 meter shift between them. When I try to edit the FME desktop options to point the transformation screen to this gsd file, it gives me an error "failed to override grid...contact SAFE."
Hello,i have a big network(_network_ID = 1) as displayed in the left section of the picture below. The right section shows some lines(_network_ID = 2,3,4,5,6,7) which are not included to the network yet, but are networks of their own. I would like to snap each neighboring line with each other and then snap it to the big network, which should be easy using a Snapper Transformer.Now to the problem. Some of the distances between those lines require a snapping tolerance bigger than the distance between their own end points. So some lines snap to their own end points. How can i avoid that?Many thanks in advance,Andreas
I am using Salesforce reader to read files from data loader - is this the correct approach?I am getting the following error when I use the custom domain (https) with username and password (with or without security token): "Failed to obtain any schemas from reader 'SALESFORCE' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information"My purpose is to read files from salesforce with lat/long and write to SQL server (enterprise geodatabase). Any suggestions?
Is it possible with FME Server to create a shortest direct URL? (like in Google Maps, when we share a map, we have this option)I've pasted my URL in Notepad and it seems that I have 500 characters.This is not a beauty into an email and it is not so nice to copy paste for anyone.And for a newbie, all the information into the URL isn't very useful.Thanks.
Hello,i use an AnchoredSnapper to snap lines(candidates) to points(anchors). The snapping type is set to 'End Point Snapping'.The problem is that some lines have both end points in the required snapping tolerance, so both end points get snapped.I cant reduce the snapping tolerance. So is there a way to avoid this?Many thanks in advance,Andreas
My xml code (contained in an attribute of my incoming features) looks like this:<?xml version="1.0" encoding="UTF-16"?><document authority="Forstamt Kanton Thurgau" authority_url="" category="main" cycle="Öffentliche Auflage" doctype="decree" enactment_date="2007-10-31" federal_level="Kanton" id="3039" instance="Gemeinderat" number="" subtype="Waeldi" title="AWB Detailplan Nr. 1" type="Statische Waldgrenze"><file category="main" href="/api/attachments/9989" title="AWB Entscheid-Ersatz.pdf"></file></document>How am I to extract the XML attributes (e.g. 'authority', 'authority_url', 'category', 'cycle', etc.) into seperate FME attributes of my features.In other words: I want to extract 'Forstamt Kanton Thurgau' into anattribute called 'authority', 'Öffentliche Auflage' into anattribute called 'cycle', and so on.