A space to discuss FME Form
Recently active
Hello ,i would like to know ,what is the best tolerance value that use in anchored snapper (segment type ) to avoid any problems i have used 0.02 , automatic .it works well for some lines but it make problems for some lines when they are so close or cross eachother .The segment type of anchored snapper make lines to be intersected instead of cross lines . which value that people has experience with segment type always use without any problems ? is there any alternative for anchored snapper segment type that do the same purpose fme 2021
I have string attributes which contain repetitions of the type ";;;". How to get rid of these, however numerous the ";" are. I also want to nullify the attribute if it ends up being ";" but that can be done with a trimmer afterwards. I also would like to delete other repetitions.Examples"31;31;44" should become "31;44""*3*;*3*;*4*" or "*3*;*4*;*3*" should become "*3*;*4*" "#TH#;#BAT#;#TH#;#BAT#" should become "#TH#;#BAT#"
Hi, I hope someone can help:I have an XML URL.The URL is updated from my reader with different variables. I go through the AttributeManager to stitch together the different URL's I need to go through.I input that result into the FeatureReader When I go the the FeatureReaders parameters and choose elements to match, I see this:If I take the URL the FeatureReader receives as an input and paste it into a browser, it worksIf I take the working URL and hardcode the value directly into the AttributeManager, without any variables, the FeatureReader gives me the same errorIf I paste the working URL directly into the dataset within the feature reader I get access to the parameters and can set the Elements to Match, but that won't make it updateable from the features coming in.To me it seems like I can't use an attribute with the URL as a dataset on an XML URL in the FeatureReader. Does anyone know how to use an attribute calculated from the input data to get the information out of a
I'm having problems with the "fmepy emailer".... Python Exception <ModuleNotFoundError>: No module named 'fmepy_emailer'PythonFactory failed to load python symbol `fmepy_emailer.Emailer'. An outdated FME packaged transformer may be in use. Please check Tools > FME Options > FME Packages to confirm that all FME Packages are up to dateFactory proxy not initializedEmailer_CALLER (PythonFactory): PythonFactory failed to process feature New to FME Flow... TIA for your help!!!
I have LAZ files which I want to divide into smaller pointcloud (XYZ format) to use in another software. I cannot find how to split / divide a single pointcloud into smaller ones, based on point counts. For instance, splitting a single cloud of 20 M points into 4 clouds of 5 M points. For now, I use the PointCloudCoercer to create single points, then add an attribute for "batch number" (with the point number), then re-create cloud merging the points according the the bach number. But this takes very long. I you have any tricks, I would be happy to know it! Thanks.
Hello, I have a response from one of the APIs I'm using that is formatted as the following example:{ "measurements": { "timestamps": [ 1504377563, 1504378166, 1504378372 ], "waterGround_mm": [ -5032, -5030, -5031 ], "waterNAP_mm": [ -7532, -7530, -7531 ], "validity": [ null, null, 1 ] }}Now, I can flatten this using FME to the following lists:_timestamps{0}: 1504377563_timestamps{1}: 1504378166_timestamps{2}: 1504378372_waterGround_mm{0}: -5032_waterGround_mm{1}: -5030_waterGround_mm{2}: -5031_waterNAP_mm{0}: -7532_waterNAP_mm{1}: -7530_waterNAP_mm{2}: -7531_validity{0}: <null>_validity{1}: <null>_validity{2}: 1Now my idea would be to rename these lists somehow to _list{}.measurement, _list{}.waterGround_mm and so on, and then use the ListExploder to explode _list{} to features. Sadly I can't find a way to properly rename _measurement{} to _list{}.measurement. Also, just trying to explode _measurements{} takes a long time with 30.000 records. Is this the proper way to go ab
Is it possible to set the Cache-Control header using the S3Connector? When I set Cache-Control in the Metadata it changes it to x-amz-meta-cache-control, which supposedly doesn't influence cache control on client requests. My Content-Type metadata changes are working. Is that a bug or expected behaviour? Via Cloudberry
Hello everybody, i have a question regarding lines: i have a network of lines in 2D. The information of the z value is stored in 2 different attributes: height1 and height2. I would like to add the height1 to the coordinate0, and would like to add the height2 to the coordinate1 of the line. So far i tried some ways but could not figure out how to overwrite the coordinates of the line. any help would be very appreciated. thanks a lot rené
I have a network that is just input lines from shapefiles.All line ends are snapped together correctly. The network has an origin point that is a point feature shapefile.I want to be able to run the TopologyBuilder and assign that origin point as node 1. From there, each subsequent intersection of the lines where a new node is created should be incremental from the origin Node 1. In my attached picture you can see the top part of the image is what I want.The bottom section of the image is what comes out. In the TopologyBuilder I am using end nodes only, so there is no overlapping intersections creating false nodes. I have tried to plug the network into the NetworkFlowOrientor and it does not do anything if I then rebuild the topology after it. Does anyone have any ideas as to what could be causing this, or how to set an origin node to build a topology on? *As a side note, I can identify the origin node ID and from there each line segment has the from and to, however I do not know how t
Hello Forum, What is the best part of the community for raising potential bugs / unusually behaviour in FME Form 2023? I've looked around but couldn't see anything obvious. I'm happy to post it in here, but if there is a more appropriate location then that would be ideal. Thanks,Stuart
The data lod-2 is available for public download from the servers of the bavarian Opengeodata platform at: <https://geodaten.bayern.de/opengeodata/OpenDataDetail.html?pn=lod2> here is the direct link to a 2x2 km square that is downloaded as citygml: <https://download1.bayernwolke.de/a/lod2/citygml/704_5322.gml> I have a whole workflow for processing that data, which stopped working without any changes to the workspace. Then i realized that i can not even read the data into a brand new workspace with the same basic error message being shown:'http://repository.gdi-de.org/schemas/adv/citygml/1.0/cityGMLBaseLoD2.xsd' mapped to 'C:\\Users\\mutzh\\AppData\\Local\\Temp\\FME_XSD_CACHE\\fmexsd_1696954419928_14896.xml'Parsing schema document 'C:\\Users\\mutzh\\AppData\\Local\\Temp\\FME_XSD_CACHE\\fmexsd_1696954419928_14896.xml' ...XML Parser error: 'Error at file: 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd' line: 126 column: 22 message: unable t
Could someone please provide a dead simple "Hello World!" example of using the FILECOPY writer? Try as I might I can't figure out how to get this to work. Thanks. This is what I've done so far:FME Workbench >> File new >> Blank workspaceWriters >> Add >> FILECOPYDataset: \\\\server\\share\\source folder >> OKOpen "user attributes" and set:filecopy_source_dataset = "\\\\server\\share\\source folder\\filename.ext"filecopy_dest_dataset = d:\\tempfilecopy_dest_filename = xx-my-filename.ext At this point "Run Workspace" doesn't work. "Run to this" does work, but aside from filling the log window nothing appears to happen.Workspace and log are attached.
Hello FME Community, I am using a 'StringConcatenator' and a 'Text Writer' to create a text file. I intend to add two separate texts as the header and footer. Is there a way to add these texts without duplication?
Hi I'm trying to create a workspace that takes in multiple Esri GDB files from a specified folder. For some reason though, only the original GDB file I started with seems to be able to pass (MyProject1.gdb). Any other GDB when passed through my FeatureReader is automatically rejected, but the log file doesn't say anything useful beyond that I need to save my GDB files correctly, even though the process has been identical for the various files. For some reason, if I were to copy my original gdb and put it in the same location as the original file, the workspace seems able to process the original file, but not the identical copy of it at all. There might be a chance that MyProject3.gdb is corrupted but that's highly unlikely since I did it in the exact same way as MyProject1, but I can't understand why the exact duplicate of MyProject1.gdb cannot be read and gets rejected.
Hi, I know this has been asked a few years ago but is there a straight forward way to extract attachments from an ArcGIS online feature service?Thanks
I am following the Trailmix for FME Certified Professional (we don't have server yet and need to complete the first one). Before scheduling the exam there is the module on FME Server Authoring. Should this come after the FME Certified Professional exam has been passed? I don't want to do 7 hours of training if I can't do the exercises and it's not covered in the first exam. I am just querying the order of the modules here, not the content.
Q1. I need help adding 15mins to the this datetime: 5/10/2023 06:45 PM Q2. I also want to be able to pick two datetime points to calculate the duration in hours. Eg. (a) 5/10/2023 07:00 PM (b) 5/10/2023 12:00 AM Tried several options but can't get it to work. Thanks!
Hi @daveatsafe! I am trying to use the Maximo object updater but I am missing the existing object url. Per the documentation I can use the Object Querier the problem is that I cant seem to figure out which attribute to use as there are several url lake attributes. Any thoughts/ guidance that you can provide would be amazing.Thanks so much in advanced.G
I have created a parameter that allows the user to extract records between 2 chosen dates.The problem is that if the user forgets when they last ran the FME, the next time it is run, they may get some duplicate records if the "From Date" chosen is a date earlier than the last time FME was run. As usually the "To date" is always the day the FME is run, ideally I would like FME to take the date and time from the log file. That way the user will always get the latest data since FME was last run.But I do not know to get FME to read the logfile and set this up.
Hey everyone. I have 3 road datasets I am working with. One point, one line and one polygon. I need to join these three datasets. The point data is set so that each point is about 100m from one another. I can manage to merge all the data but now I need to create a perpendicular line through my points to create segments of my road data.
I have some data in text files that may contain both points and lines. Each line contains a code and either a sub-code or a coordinate set: 05 1 2302 6826513.392 548235.740 257.374 05 31 2302 6826704.339 548284.671 275.511 09 91 05 1 2302 6826513.392 548235.740 257.374 05 2 2302 6826518.762 548233.548 257.950 05 3 2302 6826525.326 548234.694 258.184 05 4 2302 6826532.691 548235.254 258.606 09 99The first column is the first code, '05' is always followed by a coordinate, '09' is always followed by a sub-code: '09 91' defines start of a line, '09 99' defines end of a line. So the short example above contains two points and a polyline with four vertices. Any suggestions on how I can turn this text file into two points and a polyline?I have a python script that can handle the parsing, but I was wondering if there is a better way to
I am trying to add the following WMS in FME Desktop:http://gis.rijeka.hr/geoserver/At/wms?service=WMS&version=1.1.0&request=%20GetCapabilities&srs=EPSG:3765&format=image%2Fpng I have no problems loading this map service in ArcGIS Pro but can't seem to get it to load in FME Workbench or Data Inspector. The WMS contains two layers, I have tried adding them individually as well. Not sure what I am doing wrong. Any assistance here would be great.
Good morning!I need to call a stored procedure of DB2 from FME. If I use the IBM Data Studio this script works fine:CALL TESTING.TEST_PROCEDURE('input1','input2',?,?,?,?,?);It has 2 input parameters and 5 output parameters.But when I use the same script in the SQLCreator of FME i always get this error: Literal replacement parsing failed for procedure call to DB2 for z/OS. Failing SQL text {my_script}. ERRORCODE=-4463, SQLSTATE=42601 Does anyone have any experience calling DB2 stored procedures in FME? Any help would be appreciated.I'm using FME 2021.1.
I want to read from a csv file and put the contents in an SQL database table. The issue is that there are duplicate lines in the CSV file, so I want to select distinct into the SQL table to remove duplicate rows. Is there a slick way to do this, or do I need to read the csv into a temporary SQL Table holding the duplicates, and re-read the data out of that table using perform sql executor transform into its final destination? .
FINAL UPDATETurns out the problem was that the hatch fill in my block is incompatible with colors for some reason. Having a standalone circle for a block was ok. What I ended up doing was typing • via Text and then saving that as a block and now my CAD looks like a proper point layer. 2nd UpdateI added my template file to my writer parameters and I am now able to generate blocks for my individual points, but I can't seem to get the colors from my attributes to stick to my blocks.UPDATE This is my current workflow, but it still doesn't seem to produce a cad file with data inside all. **Original Post below**I have a point layer in an Esri GDB file I'm using workbench to convert to DWG AutoCAD data while maintaining color data. I have no issues with lines and polygonal layers but my understanding is that CAD uses blocks while Esri uses points. I tried a direct conversion where I just had a reader with my GDB and a writer with my DWG and the end result was a file with the poi