Using transformers to modify data.
Recently active
I have to POST JSON bodies to web api, but first I have to compress json by gzip compression. How could I do that?
Dear FME community,I have a question concerning the creation of a web feature service. On the following web-page (https://community.safe.com/s/article/how-to-create-a-wfs-service-using-fme-server) I have seen a tutorial on how to create a web feature service. Here a SpatiaLite-file is loaded into the workspace to create the web feature service. I have a geojson-file with some 2D geometry in it. It contains a tile-grid made out of polygons. Is it possible to either convert this geojson into a web feature service or create a new tile grid with labeled tiles? It would also be nice if one could hover over the tiles to highlight them in a different color. The whole web feature service should have a very small file-size so that the web-map does not take very long to load. Thank you so much in advance for your help! With kind regardsChristian
I tried to use TwilioSMSSender to send a web link text message to my mobile. The text message was http://qgsp.maps.arcgis.com/apps/webappviewer/index.html?id=56fc6ae6f9cb4d5b8aaa554126cc50e0&find=260819MKY1 . However, the text message was always cut off by the ampersand “&”, which means my text message received was http://qgsp.maps.arcgis.com/apps/webappviewer/index.html?id=56fc6ae6f9cb4d5b8aaa554126cc50e0 .Any suggestions will be appreciated. Thank you.
Hi experts,I want to read the TAB file but with WHERE statement to filter the number of records that I want. It could not perform and run into errors like below. Could you help to indicate where I did wrong. THanks. I had tried without "" for the fields name, treating the values like string and not string.Performing query against MAPINFO_EXTENDED dataset `C:\\QV\\MapData\\PARCEL.tab'UniversalReader: Unable to emulate search type 'fme_all_features' because fme_where is requestedFeatureReader_2 (QueryFactory): A fatal error has occurred. Check the logfile above for detailsA fatal error has occurred. Check the logfile above for details
Hi! Hope someone can help me out with this: I'm trying to create some sort of dynamic way to filter specific set of Attributes. Since the AttributeKeeper needs this input: AttributeName1,AttributeName2,AttributeName3,etc input, I was wandering if I can use a AttriubuteValue for this..but this is where I got lost;) I've created an attribute with concatenated list of Attributes I want to keep. But what would be a good approche to use this value to keep specific set of Attributes? cheers,ronald
Hey community!How can I merge des points from a line into one line?I have a lot of "points lines" that I create with the transformer "Iterative Snipper" to chop that every meter in the lines. And now I want to merge every points in lines with color from points (attached picture). Tnkx a lot!
Hi all, I feel like I'm asking a well-trod question, but I'm having trouble with blank PDFs being output and am going a bit mad with the PDFStyler, PDFPageFormatter and TableAdder. Basically, I need to create multiple PDFs, grouped by username, from input Excel files. So far, with very little luck, other than the fanout naming (of these usernames). With the TableAdder I end up getting everything squashed into blocks of unreadable text, despite trying different values. I wasn't sure if I was missing anything obvious, or if there was an easier way to start this process. Thanks
FME 2016 Build 16494 I want to automatically filter each info field value and the workspace will run them one by one. It's like:ThenandAnybody help me ! pls ....
I have a line that I try to divide in smaller parts of 5 m each. The line is is from a shapefile. When I try to use the chopper it divides the line in random parts, varying in length from 7 to 113 meter, but in not a single case in 5 meter. Am I doing something wrong or is this a bug in the transformer?Hope someone can help.
When creating Areas from Lines using Areabuilder some areas are lost in the process. One example in the attached workspace, data and images is an area with "externid" "0381>NYNÄS>1:7>2". Not sure how many others are missing.
Hi,I am trying to create a map in a raster format and write it to MSWord ( using MSWordStyler) however I seem not to be able to create a legend for my map. ( a table holing the name of the attributes visualised on the map and their symbology on the next column) in my case the symbology is easy. just colored circles.Does any one have an experience with this orhave an idea what transformer to use in order to get this result? the part of my work space that creates the raster map:
Access stores the Date/Time data type as a double-precision, floating-point number up to 15 decimal places. It stores dates before December 30, 1899 as negative numbers...Is it the conversion issue from FME date definition to Access definition? Seems like it only supports positive numbers (later than 30.12.1899)?
Hi, I'm using StringCaseChanger but I'd first like to test if a attribute string is all caps. I'm using tester with Regex [A-Z\\s]+ and Case Sensitive mode but I'm not getting the expected results. Any ideas on how I can tester for attributes with all caps? These are paragraphs that might contain numbers and other symbols as well.
I have a dynamic workspace with a dynamic file geodatabase reader. I want to update some of the feature classes in the file geodatabase. When I use a normal (=not dynamic) writer, it works. However, I would like to use a dynamic writer. But with the dynamic writer, I always get an error: "Geodatabase Writer: Feature Class or Table 'd_y_n' must exist when Table Handling is set to 'Use Existing'" - I don't know where the 'd_y_n' comes from. What am I doing wrong?
I have tried the StringReplacer but I'm struggling to remove everything I need to, without also removing part or all of the email as well. Any help would be appreciated, thank you.
I got a dilemma Iam trying to solve, but after 2 days of constant hacking I cant figure out how to do it. The script should run on fme serverUser adds an excel-file that constantly changes, the column names containing the coordinates can be named whatever, the sheet can also have different types of coordinates.Vertex creator to create points from coordinates so the workspace need to handle those scenarios. I tried adding two published user parameters where the user needs to type in the exact name of x or lat column and y or lon column. So my idea was to get the values from those columns and then clean the coordinates, replace . with , and other things. But the problem is I dont know how to get the values inside those columns. I know fme cant know what attributes the file has but in this case the user already specified 2 columns so that should work? Any ideas on how I can solve this problem? If its not possible, the alternative must be 2 workspaces but I cant find any tutorial on how to
Hello, for some reason, I'm unable to find EPSG: 6428 on FME Desktop when using the reprojector transformer. Is it considered a custom PCS? if so, how can I add it?
Hi, I'm currently trying to create a line between my lines. As you see in the image, I would like to create a line in the middle of the lines that respect the angle of that group. I've tried to select the longer line of the group and move it to the center point of the group with the offsetter, but it only "offset" the line and not move to the specify coordinate. Thank you in advance
Hi I want to know why this happens so I can correct it in the feature. I attached the example file "Excel" containing only one row so you can test for yourselfs. In Excel both coordinates have comma. When I use Excel Reader in FME it changes only attribute value for attribute aa to a dot. But for bb its still a comma.This is maybe why I cant create a point using vertex creator, even tho I use string-replacer to change both values to dot or comma it refuses to create a point. This happens fairly often so It would be nice to know what cause this issue and how I can solve it. It might be a bug or something to do with Excel. If I create a new excel file and manually enter every value then it suddenly works. But this is not something I can do with an Excel containing thousands of rows. Iam using Fme 2020.2.5.0 Build 20827 - WIN64
Hi everyone, I just started out using FME Desktop for my job. I am trying to find out how it would be possible to use group by based on a combination of attributes. The example is just something I thought of, so not based on real data. Initially, the source data in this imaginary case would just have an overview of all the shops. First, I would like to have an overview of the amount of shops per mall. So first I have to group by based on which mall the shop does belong to. Thereafter I would like to group by based on what type of shop it is. E.g. Clothing store, ~department store etc. So for example from the 100 shops that belong to mall A 10 are clothing stores for example , 4 restaurants e.g. i tried it with the StatisticsCalculator, however when I put put all these attributes in the group by field, I don't get the result below. Instead of grouping first on the type of mall and thereafter looking at the type of shop, all attributes are considered in the grouping equally. So
Hi. I have a FGDB (esri) table and i want to reorder column. I try attribute manager to redorder column and it not seem work. Can you help me. Thank
Below software were installed...ArcMap & Arc Catalogue 10.8 with ArcFM 10.8.1ArcGIS Pro 2.864Bit Background Geoprocessing toolsFME 64Bit 2021.1.2 Build 21627 Data has been restored using SQL Server 2016 in server and I tried to add the writer using ArcSDE Geodb in client workstation. After selecting the writer format and entering all the required parameters and last by selecting the feature class name, neither writer is added nor error is prompted in FME environment. On the other end, I'm able to add feature class in ArcMap and add features but I'm not able to add feature class in ArcGIS Pro. Can someone suggest what is missing in my process... Thank you
I have a workspace that's reading in some data and I've added a counter after it. The Counter is giving me some valid count numbers, but a lot of the attribute are a weird string like this: `@Value(__fme_ft_return_valuebbc4ad18-5750-4f14-a514-caca849d5cc2)'
I am trying to download a Revit file from Azure Storage and pass it to a FeatureReader so it can process it, but I am getting fatal error```FeatureReader_rvt_2_<Rejected> (TeeFactory): FeatureReader_rvt_2_<Rejected>: Termination Message: 'FeatureReader_rvt_2 output a <Rejected> feature. To continue translation when features are rejected, change 'Workspace Parameters' > Translation > 'Rejected Feature Handling' to 'Continue Translation''FeatureReader_rvt_2 (QueryFactory): Termination Message: '%0'AttributeFilter_3_Filter (AttributeFilterFactory): Termination Message: '%0'A fatal error has occurred. Check the logfile above for detailsPythonFactory output feature was rejected downstream. Check the logfile above for detailsA fatal error has occurred. Check the logfile above for detailsError encountered while calling method `input'AzureBlobStorageConnector_CALLER (PythonFactory): PythonFactory failed to process fea
My first question is regarding the GeographicBufferer. There is a documentation page here on this transformer but I cannot find it in the FME Workbench (2021.0.3.0). Has this transformer been removed and/or its functionality incorporated into the regular Bufferer ? I was hoping the GeographicBufferer would be able to correctly handle the buffering of polygons across the antimeridian (180° E/W). The Bufferer seems to have a problem if the buffering crosses the antimeridian. Does anyone have an idea how to handle this case - maybe with additional transformers? Attached please find a zipped geojson file which contains the coverage polygon of a navigational chart. Using the Bufferer and trying to buffer this polygon by 1200 metres results in an error on my side. What can I do to properly buffer this polygon?