Using transformers to modify data.
Recently active
I have a custom transformer to fit rectangles into a polygon. The inputs are the polygon, and the rectangles. They go into a spatial filter which checks for "contains within", failed features are rotated and looped back to the candidate rectangles port to see if they will pass the "contains" filter again. I set the "maximum number of iterations" parameter under advanced to equal 4. The issue is that the transformer will just spin the failed rectangles infinitely instead of just 4 times.
I have a 2D polygon shapefile representing buildings. I want to determine the distance to and from each building. I have tested the neighborfinder and think that may be strategy however I tested one building as the candidate and all other buildings as the base. However I do not want to create separate building polygons to use and rerun the transformer a couple hundred times. Is there a way to use the full building set as both the candidate and base?
HiI have a SQL table where I have cust no. = 1, Created date = 2020-02-01 and Last date = 2020-06-30.cust no. = 2, Created date = 2020-01-01 and Last date = 2020-07-30. I need to insert each month between Created date and Last date into a SQL table for each cust no. Any ideas how do I do that? I tried Looper and Endless looper but I can't make it work and can't find any documentation
We have a set of DWG files covering our geographical area. Sometimes we need to supply contractors with a subset of these files. The files are named by their map reference. We can generated a list of the required files using our GIS. So we have an Excel file with a list of these tiles in, which are also the file names of the DWGs. I have built a Workspace in FME 2020.1 to read the Excel file, construct the path and filename, and pass it to the FileCopy Writer. This successfully copies the files to a folder, but when I try to get it to ZIP the files, I only get some of them, and this message appears in the log: 2021-05-17 17:22:04| 13.4| 11.2|WARN |MULTI_WRITER: Skipped adding of some files to zip file 'X:\\SomeFolder\\selected_DWG_files.zip' because they already exist I don't understand the error because all the DWG file names are unique. I assume it's referring to the ZIP file, but I don't understand why I get varying numbers of DWG files in the ZIP each time and w
In my case there Parcel is who is supplier and building centroid is requestor in SpatialRelator of FME Script. You can see black round in one below picture. So even if centroid is falling on adjacent parcel boundary it got link of one parcel. How come ? why it's not gone for one to many matches ?
Hi Everyone, Can you please assist if there is a way to enter bulk Test Filter Clauses into the TestFilter Transformer? I have almost 100 test clauses that need to select points along a road by start and end in a spreadsheet. See belowThe TestFilter will filter out by these section to create a speed zone. Was wonder if there was an easier way to enter the test clauses instead of having to enter in 100 times? Thank you so much for your help in advance
Hi all, I'm trying to write a fixed-length number to a SQL Server Non Spatial database, and most work fine, but this one doesn't - Microsoft SQL Server Non-Spatial Writer: Unable to format data '4411398' for column 'ciFloorArea' of type 'numeric(8,2)' The other numbers look like so, and must be the exact 8 and 2 parameters - 1305256844113988248072 I just wondered if there was anything I was missing with the one that's throwing the error up? Thanks
I have an identifier attribute which can take different forms.All contain a number, like 985 or B985 or 985aSome are preceded by a capital letter like B985Some are followed by a smallcaps letter or the character "*" like 985b or 985* I wantthe capital letters at the beginning of the string to go into attribute PREFIXthe numeric to go into attribute NUMBERthe smallcaps letter or the * to go into attribute SUFFIX I imagine using regex is the way. I have got the job partly done with a series of StringSearchers but I'd like to have advice from someone with experience. Thanks in advance !
Identify identical geometries from two datasets I have two building datasets and I need to identify which buildings from dataset A exactly match the geometry of a building in dataset B. What's the best way to do this ?
I'm using FME 2020.2, connected to SQL Server 2014 as sa with a database specified using the non-spatial connector. I am trying to create automated Excel reports for SOX audits using three SQLExtractors running one of these each: sp_helpsrvrolemembersp_helprotectsp_helprolemember The results I am getting do not include all the rows I get with SQL Server Mgt Studio connected to the db specified in the FME connection. I also tried adding "Use DBNAME" as the pre-sql with no change. Help me to understand why this is, and how I can get the same results as SSMS (hopefully). Thanks...Bryan
I have a set of data, coming in from an sql database. I have a tester that then splits this into two streams - one stream contains details of all positive value transactions and the other contains details of all negative value transactions. Each transaction has a unique reference. I need to be able to say which DR transaction a CR transaction has been applied to but the kicker is that the CR transaction might not be for the full amount of a transaction and a later CR transaction might apply to the same DR transaction ie multiple CR transactions apply to same DR transaction. I also need to be able to assign a balance to both transactions but this needs to be the balance at the end of the transformation. The attached excel document might explain it better
Hi,I'm parsing text files - I'm using VertexCreator to take lat/lon columns to get a point. I have CoordinateSystemSetter going into it.I'm passing the VC into an ArcGIS Online Feature Writer for points (geometry is set to arcgisonline_point). I set the writer up with Import Writer Feature Types (as suggested)This process successfully creates the point in ArcGIS Online, but it always places it at 0,0. It writes properly if I used a writer to FC on disk and use that FC as input to the online feature service. I'd like to skip the unnecessary? writing to disk if possible. Is my workflow correct? Is there another step/setting I need with the VC?thanks
Hi guys, Is it possible to detect a plane from a point cloud. Specifically, I have a point cloud of a box (cube), and I want to detect one of the faces (e.g the top face). My cubes tend to be supported on an almost horizontal plane, that is Z direction of the box, is very close to the Z axis. The final challenge is to estimate the inclination of the top face, relative to the reference axis. Do you have any idea how to move forward here? Thank you very much!
Is there some setting that needs changed?
I want to transform data from a database to CAD(DWG to be exact) with certain symbology. I have a Microstation cell library. How can I use the symbols in this library as a DWG template, either in the parameters and/or in the DWG styler? Transforming to DGN works fine, but I can't seem to be able to transform the cell library to be used as a DWG template, and using it as is results in an error.
Hi Community I have some binary that represents signed 16bit values that I am encoding as hex (with the Binary Encoder) and was hoping to then use the base converter to convert the hex into a signed decimal but it turns out it only supports unsigned conversions :(.Does anyone have an ideas on how to perform this conversion? I have doen much googling but without any luck.I would be quite happy to offset all the values by +32767 to get them all into a Unit16 range if there was any way to do that.... Cheers!
Arcgis10.7.1 is normal, and the seven parameters of the conversion are set well. The conversion is normal in ArcGIS. However, when using the ESRIReprojector converter, the source and destination coordinate systems are selected, but the 'geographic conversion' parameters are not automatically generated and optional
We have a workbench which is driven by a where clause and an SQL Executor which picks up data driven by the where clause and process this. Occasionally we are seeing a bunch of consecutive jobs select zero rows in this transformer. We've tested the SQL and it returns the expected, we've re run the same predicate and it works ok.My surmise is that some sort of failure occurs between SQL Server and FME but the SQL executor is not handling this well and not reporting any failure. We do see failures in the connectivity between our FME Server and the Database and usually these fail the translation but in this case all we are getting is a _matched_records of 0.Has anyone else seen this behaviour, in our case now i've found it the task can be terminated and the data will be picked up by the system and resubmitted, however I now start to wonder if we are missing this anywhere else!
Hello, I can't seem to find an question/answer or an article about texturing buildings models with a point cloud. Is this possible to do in FME? Here's a paper on that topic: https://www.int-arch-photogramm-remote-sens-spatial-inf-sci.net/XXXIX-B6/161/2012/isprsarchives-XXXIX-B6-161-2012.pdf Also, a video on Undet for Sketchup manual application (but I would expect an automatic way, like in the article earlier): https://www.youtube.com/watch?v=2JsG-PQTNlM&ab_channel=UNDETPointCloudSoftware The idea is to create a building model from a point cloud and assign texture from the same point cloud in order to achieve a realistic model. Thank you!
Hi folks, I'm trying to get the SCHEMA reader to read a MS Sql Server non spatial database. I keep trying to give it the correct Database Connection - but at the moment it wont. see it. Is there a way to make the Schema reader correctly get the database connection properties?
Hi I'm not sure on the correct transformers to do the following? source data
I am stuck with the problem of updating a table in geopackage.I am reading excel records which have a unique Excel_ID number. Then, after some transformers I write the result in a geopackage non spatial table with the primary index column FID set in writer's parameters. Also I track changes with the Change Detector based on Excel_ID field, where the Original features is destination geopackage table and the Revised is the excel table. Further, if I try to write updatet rows in geopackage table with the selected Excel_ID as the ID attribute of the Row selection of a writer parameters, I get an error since the Excel ID is compared with the geopackage FID, which, of course, are different. Then I tried using Feature Merger to combine the updated excel rows with the record from the geopackage table to attach geopackage_fid to the rows join on Excel_ID field. ID attribute of the Row selection of a writer parameters I set to geopackage_fid.However, this time some of the features are suc
I need your help. I got two roads from two different readers. Those describes a the same road and they are basically the same. But, their segment isn't the same. ''Readers B'' has 300 more attributes than than ''Readers A'' and I can find more descriptions who are useful to me in the Readers B. But, I want to keep the Readers A because there is some segment that I don't find in the Readers B. Thus, I need to change the geometry of the Readers A into the geometry of the Readers B. Can someone help me?
Im trying to extract point data into a ESRI shapefile from rasterdata, but i'm very unsure what transformers I should be using? I've been laborating with rastercellcoercer and coordinateextractor but I just can't get it to work. Anyhone have an idé where to start? I could need a push in the right direction at the moment.