A space to discuss FME Form
Recently active
Hello,With an URL, I Can create polygon with a json Extractor and a geometryReplacer but it's impossible to keep the attributes. I can't expose any attributes. I don't know how to do. The Json looks like this Any idea?Thank you so muche
I have a shapefile that contains about 10'000 points and need to merge some data from a polygon shapefile that describes administrative areas. I need to add the relevant admin area data to each point. Is there a way to do this in FME?
Hello FME'ers,Welcome to What's Up Wednesday The World Tour StartsThe FME World Tour is off to a flying start with a virtual event held by Locus in New Zealand. Today is the final day and I'm scheduled to appear as part of a round table discussion. Of course, there are many more events to come, with Safe's own "Virtual Brunch and Learn" beginning next Tuesday (5th). And while Red Geographics don't have the same supercar (is that a 2CV?) they definitely have the colour-coordination done well, just as you'd expect from a team of cartographers. So visit the full schedule to see what events - both in-person and virtual - you might wish to attend. What's Under the Hood?If you want to see what's under the hood (or bonnet) or FME and take a peek into the engine, then I can recommend an upcoming webinar called, well... Lifting the Hood of the FME Engine. That's myself and my colleague Andrea who are presenting, and we hope to cover in a bit mor
The above before the parentheses is the error and following up on the solution, I have a web connection that I'm trying to establish in FME Server. When I go through the steps to authenticate, I get the attached dialog. I do not understand what this is telling me. It says to "Navigate to FME" but this dialog came from FME server (after logging into Google) so why isn't it just using it. I do not understand where to put the authorization code. I found these instructions that cover "Managing Web Services" but the Web Service already exists and I don't feel comfortable pasting over what is there because I didn't create it (2nd screenshot).https://docs.safe.com/fme/html/FME_Server_Documentation/WebUI/Web-Connections.htm
I'm trying to read raster data from postGIS using the 'PostGIS Raster' FeatureReader and keep getting an error about band metadata. However, I can load in the same raster data OK via a select statement in a SQLExecutor transformer. The rasters in question only have one band, but I don't imagine that should be an issue. As the data returned via the SQLExecutor look fine, I'm assuming that there is nothing wrong with the data in postGIS, but the error is making me question that... The error I'm getting is;2022-03-30 15:46:00| 0.2| 0.0|ERROR |Error executing SQL command ('SELECT ST_BandMetaData("rast",1), to_char(ST_BandNoDataValue("rast",1),'9.9999999999999999EEEE') FROM "schema"."table" WHERE "pk_index" = '1'') :'ERROR: table-function protocol for value-per-call mode was not followed CONTEXT: SQL function "st_bandmetadata" statement 1' Any thoughts or help much appreci
Hello, I would like to ask about converting a vegetation model from .skp to Citygml, but in the end it cannot be displayed in layers like buildings, do I need to set an extended ADE, I tried to select the feature type output of buildings such as wall surface, but Can not output successfully. What I want to ask is how to output a CITYGML vegetation model that can be displayed in layers
GreetsWhen I cut the green polygon according to the red polygon the result should be 3 polygonsMy question is can I add a tolerance to avoid small area and in this case the result will be just two polygon (A and B with small area in C)?
So I have a quick question about Sharepoint Online web connections in FME. A while back, I successfully set up a Sharepoint Online web connection in Desktop (2020.2) and published to FME Server (2020.2). https://community.safe.com/s/article/How-to-create-a-Sharepoint-Web-Connection At the time, I must've followed the steps on this page or another similar how-to. Either way, it worked in Desktop and has been running on a daily/interval schedule in Server. I should also mention I'm using a service account for this, which has the proper SP privileges and is what my FME Server runs as. Now, I find that every time, I want to do some type of adhoc job or query in Desktop, the same connection I set up back then no longer works, and I have to set up a brandnew one. At the same time, the original web connection that was uploaded to Server during publishing continues to work just fine. Is there something specific to Sharepoint authentication or token expiration that I am not aware of tha
I have a polygon and I want to know the angle α , β , γ of each line.With the PointPropertyExtractor I get the Eula Angle if I set it beforehand with the PointPropertySetter and then rotate the object.Is there a possibility to find the angular inclination of the line to α , β , γ differently? PolylineAnalyzer, HorizontalAngle and TopologyBuilder have not helped me so far.
We recently moved some processes from Esri tools into FME. One of these has a slope calculation component. We expected to see minor differences between Esri/FME but instead we are seeing differences of up to 15 degrees difference.Further investigation showed that by default, Esri uses a planar based algorithm. FME (and QGIS) only use a geodesic based algorithm. Esri does also have the option of using geodesic. The original Esri process was using the default planar algorithm. When these are compared to the geodesic outputs (FME, Esri and QGIS) considerable differences are apparent. Comparing the three different geodesic outputs shows that the results are (almost) the same – as expected.This difference has considerable ramifications for the application using these slope values. Looking at Esri documentation, it does state the geodesic is ‘more accurate’, but this doesn’t explain the 15 degree differences we’re seeing.We have raised this question with Esri, but are wondering if anyone her
I want to create a workspace that checks input data for various criteria. For example: are there polygons smaller than a certain threshold. Ideally I would like an output in a textfile/PDF, that says "2 features have an area below X". I can calculate the area of the feautres and with a Test_Filter I can redirect the features not passing. What is the FME way to extract the count of those features and write it with a meaningful message to a report?
Dear community, I am fully out of ideas - we cannot successfully establish a sharepoint connection in order to make the List Reader work. I guess we tried everything and we followed the instruction here and the video here to the detail. The only thing that is really working - and that requires a super user with all possible admin rights - is the first option to replace the [TENANT] in the web service definition:The multitenant app our admins created for me comes along with all the rights as per tutorial - but no matter if I try the multitenant or the singletenant way of connecting, I always get this prompt which is basically telling that admin approval is necessary in order to access the resources of my organization:When we magically made it happen that the url got successfully tested (by simplifying the request URL) I am ending up with something like this when adding the SP List reader:Our local support at axmann.at cannot assist as well since this lies somewhere in the domain of admi
Goal: I am trying to standardize the raw CSV files. The output file columns should look like below.Date Time Level Temperature ElevationBackground Info: Each file might have multiple tabs. I need to only process the sheets that named as 20* (2011-2012-2019-2020 etc). Sometimes there is header information in A column in some of the sheets. Thus the table header starts at different row number.Issue: I am using FeatureReader to detect the schema dynamically. If the table starts with header information, the transformer reads the data as a new table. Thus it creates new column names which turns into a larger issue.Normally there are over 200 files with multiple tabs but I've prepared a sample data and included my workbench. Looking for help.
I'd like to combine headers from 2 lines in Excel to form 1 attribute name.Should result in feature with attributes ID, AAA_XXX and BBB_YYYI've looked at debbiatsafe solution at Bulk Rename Attributes with Original Name plus the First Row (safe.com) but that doesn't do it all the way.Need to have the features with the attribute names to continue working with in the workspace.Any hints on how to proceed?
When I try to run the AWS DynamoDB reader in FME desktop i Get the error.ERROR |com.amazonaws.SdkClientException: Unable to execute HTTP request: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target I tried following what this question says:https://community.safe.com/s/question/0D54Q000080hbz0SAA/httpcallser-ca-certificate?t=1647334797980 Connecting to dynamo DB using same credentials using CMD workes fine and uploading Workspace to FME Server also runs fine. Only problem is on local Desktop version 2021.2. I have tried to add the certificate to Windows Certificate Store but no luck. Any ide what might help?
Hello everyone, I'm new to FME and i'm using FME desktop. I would like to know if it is possible run my workbench automatically without clicking the run button in fme? Thanks in advance.Best regards, Gentjan
I have the same issue identified within this question but whilst using the PostGIS Raster transformer (https://community.safe.com/s/question/0D54Q00008p86kRSAQ/postgis-loading-default-values-being-overwritten-by-nulls-in-feature-writer) As suggested in the answer I downloaded the most recent Beta (FME(R) 2022.0.0.0 (20220323 - Build 22311 - WIN64) ) and gave it another try. Unfortunatley I still get an error when trying to write to my PostGIS raster table. The issue seems to be related to the columns with default values I am not trying to write to. FME seems to be attempting to write nulls to these columns. Is the Advanced > Missing Attribute Behaviour functionality also going to be included within the raster writer or another way around this? Error message from log: 2022-03-29 09:36:45| 1.6| 0.0|ERROR |Bulk copy failed on table 'prime_data.paleodem' using delimiter ':'. Error was 'ERROR: null value in column "changedetect_date" of relation "pale
I'm working on a script someone else wrote. Is this stored SQL procedure going to be executed for once for each incoming feature, or once on the collection of features?
Since we use FME 2021.2 I get many failed objects with the geometry validator, while with fme 2020 it did not yield any failed objects. Is there a substantial difference in the geometry validator between the 2020 and 2021 version?
Hi, I have a workspace that truncates an SDE geometry table and refills it. The workspace runs daily and sometimes there are no records to write. In that case the writer only has to truncate the table. I don't see an option truncate first or anything like that in a sde writer.How can I truncate a table while the writer is empty?
Hi, I'am creating a citygml model (lod2) based on roof and ground with the help of BRepSolidBoundaryCreator.Now I have definded lod2MultiSurface as citygml_lod_name!I need in addition to lod2MultiSurfaces a lod2Solid Geometry for each building like this:<bldg:lod2Solid><gml:Solid gml:id="UUID_93353a82-d426-4090-8aa5-d852bcad8f35" srsDimension="3"><gml:exterior><gml:CompositeSurface gml:id="UUID_2a60da73-2d26-4f2a-a623-b9acc31661e2"><gml:surfaceMember><gml:Polygon gml:id="UUID_bf94ba8a-c9b1-41e3-b4a4-9f932cfc358f"><gml:exterior><gml:LinearRing gml:id="UUID_b8b135e2-705d-4255-8b2c-63b8558eaec6"><gml:posList>603363.9649999999 5792993.036 80.696 603363.8160000006 5793003.66 80.696 603357.9249999998 5792998.265 81.57 603363.9649999999 5792993.036 80.696</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gml:surfaceMember><gml:surfaceMember><gml:Polygon gml:id="UUID_284c30a5-944c-4222-9ef0-
I have a very simple workbench that is taking a MapInfo file, reprojects it and sends it to an ArcSDE database in Oracle. For some of the MapInfo files it works fine but others only the objectid and shape attributes come across. The writer, drops and creates the table but does not create all fields in some cases. Does anyone have any ideas why this might be the case? Regards Dean
hello,Is there a way of extracting data(maybe from loG) about start and end of workspace execution, as long as errors (if there are any?), in order to insert them in a table? thx,Nicu
I am working on a script that uses the OpenIfcShell library to create IFC files as a workaround for the IFCWriter's gap in functionality. So far so good: I can create the basics of an IFC file using one feature. Now the challenge is to scale up with a dataset that has many features and feature types. Here is the code I have so far:import fmeimport fmeobjectsimport uuidimport timeimport calendarimport tempfileimport ifcopenshell class FeatureProcessor(object): def __init__(self): pass def input(self, feature): # Create FME Log File object name called logger logger = fmeobjects.FMELogFile() # Call logMessageString method to add custom text and set WARN severity level logger.logMessageString("Testing the mud",1) ifc = ifcopenshell.file(schema='IFC4') O = ifc.create_entity('IfcCartesianPoint', (0., 0., 0.)) X = ifc.create_entity('IfcDirection', (1., 0., 0.)) Y = ifc.create_entity('If
When I load my excel file I want the Day attribute to be read as type char so I can split it with string functions (Left/Right). The problem I have is that FME insists on reading the attribute as a 64bit real. I have tried removing the reader, purging the temporary files, saving the workspace, closing FME, and then add the reader again. But I keep having the same result. Are there any suggestions or is this standard for the Exel reader?