Using transformers to modify data.
Recently active
FME Desktop 2022 Build 22311: The “issue locations” generated from the “geometry validator” fails to be written in an esri feature class, As per the screenshot, the “issue locations” generated from the “geometry validator” fails to be written in an esri feature class What could be the issue here? The data is attached
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
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
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
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?
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
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'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
In my case, I have JSON object that contains table and it values in array. I am trying to extract each table object from JSON and insert it features(columns) array values into postgresql table based on table name. The json structure will change every time and it is dynamic. Input:{ { "table": "Table1", "key": "2343", "features": [ { "status": "Finished", "id": "1234", "kind": "Unknown", "project_name": "XXXXXX" } ] } { "table": "Table2", "key": "2667190", "features": [ { "column1": "test", "column2": "A", "status": "Unknown", } ] },} Expected output:
My database is >13.000 points from 6 different vessels. I need to create lines for each day, for each vessel. The lines have to be created in chronological order. I'm trying to group the dates after sorting, for then build the line using both datetime and vessel name parameters. I have converted date time format (ex 20210415165357, which is YYYYMMDDHHMMmm) to 2021-04-15 (YYYY-MM-DD). Any ideas how to solve this?
Hi All, I'm try to find the best way to analyse the begin and end of line and check if this line is connected in the both vertices ( begin and end ). As you can see in image bellow, the line number 3 is connected in the begin and end of the line.And the others line are not.A DGN file is attached. Thanks in Advance,Danilo
Hi, I have a problem extracting data from my text file.The file looks like this:******************************************#Textlimiter=;#Decimalsign=.#ProvadmColumn1, Column2...ColumnX;"Value1";"Value2"...""ValueX";"Value3";""Value4"..."ValueY";#ProvdatColumnA, ColumnB...ColumnZ;"ValueXX","ValueYY"..."Value11";"ValueQQ","ValueRR"..."Value22";#End******************************The ProvAdm-section can contain one or more rowsThe ProvDat section can also conrtain one or more rows I want to read ProvAdm section into one table (SQL Server) and ProvDat into one table (SQL Server) but I dont reaaly understand how to find out where ProvAdm section ends (how many rows should be read) or where ProvData starts (where should I start reading) An additional dimension to the problem is that I need to read multiple files at one go... Perhaps my explanation is not complete b
Hi !I'm having a problem while writing into a template file, see image of log error. In fact, out of about 20 translations, there is one with this problem arising while writing data. Can someone tell me if it's a bug with FME or about my parameters ? I doubt the problem with my parameters, because very often it works well while wring the Excel file.Please help ! Thank you.
I am trying to extract text from a data catalog website to use for metadata updating. I think I have all the pieces to get a line of text with the correct CSS selector. The problem is that the HTTPCaller doesn't even seem to register anything after the <header> tag so I can't extract anything in the main body. My output always comes out null.Here are a few screenshots of trying to just extract the title of the dataset page:The _response_body returned from the HTTPCaller doesn't even have the main <body> section.Is there any way to force the HTTPCaller to recognize anything past the header tag or is this a security feature of the government website? Thank you for your help!
The error occurs once in a while in a Workspace that is reading a PostGIS/PostgreSQL 12.9 database and writing a GEODATABASE_FILE using 64-bit ArcObjects from underlying an ArcGIS Desktop 10.8 installation. The error is triggered in a DatabaseJoiner, when attributes are joined in from a PostgreSQL table and written to the File Geodatabase simultaneously. The error happens once in a while (every second run or so), but it does strangely not occur on a PC with 64-bit ArcObjects from underlying an ArcGIS Desktop 10.4 installation or in any other variants of the workspace writing to other formats. The error occurs both on Desktop and Server. FME version is 2020.2.3. The error message does not say anything about the GEODATABASE_FILE writer, only the PostGIS reader, but the writer is obviously a part of the problem. If I disable the writer, nothing happens. If I bypass the DatabaseJoiner nothing happens. The message POSTGIS reader: stk::ex::bad_expected_access is discussed elsewhere on this f
I have been trying to clip/snip a set of multipart linear features with measures based on from and to measure attributes. I've tried running the linear features through the Snipper transformer but all that seems to do is deaggregate the lines. Is there a way that I can replicate this functionality in FME?
I have a process that reads a dataset from Smallworld to a point feature class in an esri file geodatabase. I works fine in 2019. In 2021 it now fails because apparently there are a few fme_aggregates in this dataset. How can I get these features to write again? GeometryCoercer and DeAggregator aren't working. I need this to work in 2021 but can't figure out how
I have one line command. This command works manually in cmd command windows. When I try with fme systemcaller it does not work. What could be the problem? Fme version 2021.1.1.0 build 21619example:xcopy "@Value(png_source)" "@Value(png_dest)*"xcopy "C:\\gml\\F-12696263-A.png" "C:\\gml\\gml\\F-23-A.png*"
@Takashi Iijima I need to separate text values for 'Texas_WellsTexas_WellsTOOOBIN_BOUNDTOOOBIN_TXTexas_Wells' as Texas_Wells Texas_Wells TOOOBIN_BOUND TOOOBIN_TX Texas_Wellscan you please help in building text to replace query?
Hi All,Helped by info in this forum I constructed a loop in the JSONTemplater, to loop through a list and make a json array based on info if a certain condition is true. This works, I use a $i to reference to the index in the list. In a different counter $c I would like to keep up with how many values are entered i the array and use this value in the array as wel, but I can't get the $c counter to count up.This is what I have so far:[{let $top5s := fme:get-list-attribute("_prio{}.top5")let $themas := fme:get-list-attribute("_prio{}.thema")let $deelthemas := fme:get-list-attribute("_prio{}.deelthema")let $c := 0for $top5 at $i in $top5swhere xs:string($top5s[$i]) eq "Ja"let $c := $c + 1return {"titels": "Projectambitie " || $c ||": " || $deelthemas[$i] , "teksten": "Op basis van de locatie vraagt " || $deelthemas[$i] || " aandacht in je project." }}]It works, only $c stays at value 1...Anyone got any tips, I probably am overlooking something Regards,Steven