Using readers and writers to extract and load data.
Recently active
Hi.I've just tried to create a large PNG raster mosaic. I get this error in the log file:PNGRASTER writer: libpng: Image width exceeds user limit in IHDRPNGRASTER writer: libpng: Image height exceeds user limit in IHDRPNGRASTER writer: libpng: Invalid IHDR dataPNGRASTER writer: Failed to write dataset ....The tile grid is 6 tiles wide and 12 tiles high, and each tile is 20000x20000 pixels.But what is the effective limit of a PNGRASTER output ?According to the libpng documentation, PNG allows 2^31-1 rows and columns, but libpng has "arbitrarily" set the maximum to 1 million. And that's well below my max 240K requirement.Cheers
Immediately following the TRUNCATE TABLE SchemaName.TableName SQL command, we have been getting the following:Error executing SQL: 'Underlying DBMS error [ORA-29859: error occurred in the execution of ODCIINDEXTRUNCATE routineORA-00942: table or view does not existORA-06512: at "SDE.ST_DOMAIN_METHODS", line 2352]'Then in another instance (on a separate table) we got this error after it truncated, but on the reloading data:An error occurred while attempting to insert a row into the table 'SchemaName.TableName' using a cursor. The error number from ArcObjects is: '-2147216072'. The error message from ArcObjects is: {Underlying DBMS error [ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE] [SchemaName.TableName]}In both cases, the data was completely truncated, and we copied data back over from our production server. It still occasionally pops these errors up, but other times I can write just fine. We have been having this issue with more than just these 2 tables as we heavily use
I have xml data (see attached). I'm trying to get the following result from this data:ID= 9328Buffer PH = 6.39BS_CA = 68.2and so on. I have no issues flattening the data, my problem is that the "buffer PH" for example needs to be an column with value of 6.39 as the data. But with the way the xml is set up the basic flattening gives me a feature for every <Data/> tag. I can use the transposer, but then I lose other info related to that sample. This particular xml only has one sample, but there can be multiple samples.
I have been given a dgn file and imodel i.dgn that contain 3D solids and shapes. I can work with either file, but need to read the data into FME as 3D solids and translate them to a different 3D data format e.g. FBX. I have had the most luck with the .dgn file using the Bentley Microstation Design (V8) reader with some data read in as a fme_solid, but most of the data has a fme_gemoetry type of fme_line. Previously I had some success reading an i.dgn file using the Bentley i-model Interchange Format reader, but with this data it doesn't seem to read all the 3D objects. How can I read all the data from the dgn files as fme_solids? In Bentley View the model looks like this...In FME inspector using the Bentley Microstation Design (V8) reader it looks like this...In FME inspector using the Bentley i-model Interchange Format reader it looks like this...Note I'm using FME version 2018.1 and have 2019.0 beta installed
Hi.I know that FME is case sensitive per se, but I've just had it report some curious errors in an UPDATE operation.Apparently 5 fields with similar names were spelled differently case-wise in a database that's case-insensitive. E.g. one field was "ImageFile", another "Imagefile1". Renaming the attributes fixed that of course.Before that, it erred because I attempted to update a field with type "varchar(250)" with a value (created in AttributeManager) that FME determined to be "varchar(200)". Yes, really.And lastly, FME erred because there were extra attributes in the feature, that aren't in the database table. Instead of just ignoring them, which really ought to be an option. Removing them solved this issue.Updating a larger field with a smaller value should also just be accepted, and not throw an error.And FME already prompts the target database for all sorts of information before pushing data into it. Would it then be too much to a
conversion log:OBJ Reader: Token Unsupported: 'Ni' - IgnoredOBJ Reader: continue reading with next good featureOBJ Reader: Token Unsupported: 'illum' - IgnoredOBJ Reader: continue reading with next good featureFailed to read texture: 'C:\\test\\collada_data\\Sedan_W3_Destroyed\\sedan\\sedan_metro_orng_pan_burn_w3_d.tga'OBJ Reader: Token Unsupported: 'Ni' - IgnoredOBJ Reader: continue reading with next good featureOBJ Reader: Token Unsupported: 'illum' - IgnoredOBJ Reader: continue reading with next good featureFailed to read texture: 'C:\\test\\collada_data\\Sedan_W3_Destroyed\\sedan\\sedan_bottom_w3_burn_d.tga'OBJ Reader: Token Unsupported: 'Ni' - IgnoredOBJ Reader: continue reading with next good featureOBJ Reader: Token Unsupported: 'illum' - IgnoredOBJ Reader: continue reading with next good featureFailed to read texture: 'C:\\test\\collada_data\\Sedan_W3_Destroyed\\sedan\\sedan_w3_decals_d.tga'OBJ Reader: Toke
I am trying to create a proof of concept. Reading a web service and then writing to a sql server db. I am using the XML format for the reader. Getting the error message below: Starting translation... FME 2018.0.1.1 (20180615 - Build 18312 - WIN64) FME Home Edition (node locked-crc) Temporary License: 265 days left. Machine host name is: 8BCCFH2-LT Operating System: Microsoft Windows 10 64-bit (Build 16299) Copyright (c) 1994 - 2018, Safe Software Inc. Safe Software Inc. Potentially retrieving dataset 'https://www.applitrack.com/Littleton/api/AppliTrackAPI_v3.svc/Universities()' for reader Retrieved file C:\\Users\\tgolden\\AppData\\Local\\Temp\\FME_TempFileStore_1538683504282_11704\\Universities() for reader Creating reader for format: XML (Extensible Markup Language) Trying to find a DYNAMIC plugin for reader named `XML' Loa
Is it possible to create an FME workflow that will periodically check a hosted feature service for updates or edits, and then generate a report of those edits made and by who? If someone has done something similar before please let me know.
Has anyone experienced a similar warning/error in FME when using the SQL Server JDBC writer, writing out to a binarygeometry data type?If so am I ok to ignore, it only came up as a warning not an error.Many ThanksExample below:MS SQL Server (JDBC) Writer: Error writing feature. Error: serializeGeometry not implemented+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Feature Type: `dbo.V_PLAYFINDER_PXS_LOCATION'Attribute(encoded: UTF-8) : `LONG_ABBREVIATION' has value `CAM'Attribute(encoded: UTF-8) : `MID_X' has value `-60.59640903'Attribute(encoded: UTF-8) : `MID_Y' has value `13.31999124'Attribute(32 bit integer) : `OBJECTID' has value `106'Attribute(encoded: fme-binary): `POLYLINE' binary value as HEX `010200000002000000CC323298041250C0C03E48C3E7602B40C03AC512A5744CC060EE7D05C4E62940'Attribute(encoded: UTF-8) : `PRODUCT' has value `PC_G2020X'Attribute(32 bit integer) : `PRODUCT_ID' has value `1894'Attribute(encoded: UTF-8) : `PROD
Hi FMEer's!Can someone kindly point me to tutorials/webinars of where the workbench is writing particularly large amounts of data to spatial and non-spatial databases? I have many models that write to Oracle databases, SQL Server, ArcSDE etc. However, I find that the moment we start writing 100's of thousands of records it is quite slow. It's generally quicker to import a table into one of the databases and do the truncate and load through a database management software. Some of the methods I use in FME are: - Change detection and use FME_DB_OPERATION = Insert or Delete (Not sure really how to use the Update) - Truncate table and insert (Use this when the table is massive and change detection is just not feasible)- Write to ESRI file geodatabase first and then copy to ArcSDEAny help is much appreciated, I just want to make my models more efficient! Kind regards,Kam
I have an FMW script that includes an AttributeCreator transformer. I want to include 500 additional attribute creator transformers. It would be tedious to create them in the workbench. Instead, I would like to create them with a little Python script and then splice the generated code into the FMW script. Is there any documentation on how to manipulate the FMW text file?
Does anyone know if FME has compatibility with MongoDB's GridFS to store documents that are larger than 16MB? I've written an embedded JSON but the average document size is 49MB. Will I need to load it into mongo outside of FME or is there capability for this currently?
Hey all,I'm a new user of FME. And we are using FME (or trying to) to convert bathymtrie data (in PTS format) to geotiffs. We used to do it in C3D but after seeing some vids of fme i think it will be allot faster and easier using fme.So i googled it and tried some things but i keep ending up with the same error log ( in a picture below.). After some more search work i got the advice to first convert the PTS format to a LAS format. But still i'm givin the same error. I'm guessing there is something wrong with my parameters? Thanks for the help. Grts,Koen
This is what I haveThis is what I needAs you can see I need to transpose the ID but retaining the rest. I am unsure how to phrase the question so I guess the images shows my problem better than my phrasing!My table has more than thousand records and I tried many combinations of sorter, counter, attributeexploader and so on until the point that I am very confused as how to even approach this in FME. Any suggestions are appreciated! And yes, I'm very new to FME. Output should be a csv but that is less of a concern right now.
Hello. I have to read a number of xml files that are "version 3", modify the contents and write them out as "version 4". The changes include renamed xml tags, some reorganization, addition of some new tags etc. When I read in an xml it deserializes the contents into attributes (which is really great!). I'd like to make my modifications to these attributes (and their values), then write out the result. Instead it writes back out the original file contents which it has saved in the attribute xml_fragment. Is there a way I can tell the writer to output the contents of the attributes and not the xml_fragment?
Is there any possibility to create a fmw file on the fly in the command line itself,with coordinate system and file types source and destination as arguments.
I'm receiving binary pdf files from a web service. I've successfully decoded and written them to my file system. However, I would like to combine certain files with a similar attribute into one pdf of multiple pages. Any ideas how I can do this in fme?
I need to read a filename and path from a database, then use these values to open the file on the File System. Unfortunately the Reader standard do not take filemane from previous features. How may i handle that ? Thanks
This is a bit of a review question... I try to convert GML and I wonder if I'm on the right track. Workbench does the job but I'm not sure this is the way to do it.For example, the featuretype "Waterleiding" has a relation to the featuretype "UtilityLink", which I like to restore. My goal is to add the attributes from Waterleiding to the line UtilityLink. In the end, I want to import the GML using FME server in our WebGIS application to visualise the contents.Waterleiding:inspireId.Identifier.localId = KN1100.2009051707431500023782inspireId.Identifier.namespace = nl.imkllink = nl.imkl-KN1100.2009051707431500023782.ulinkUtilityLink:inspireId.Identifier.localId = KN1100.2009051707431500023782.ulinkMy current solution is to create an attribute LinkId in the Waterleiding set from the link attribute (AttributeCreator_5) and replace string the namespace attribute (StringReplacer_2) to convert nl.imkl-KN1100.2009051707431500023782.ulink to KN1100.200905170743150002
Hi all,Does anyone have a tip on how to fill the walls of a 3D object? The idea is to create a mesh from a DEM using SurfaceModeller and then extend the object to 0 elevation or to the lowest point of the input DEM so that it looks it was all cut from the Earth surface by a sharp cookie cutter. The closest I got was to input the BB of the raster as Breakline input into the SurfaceModeller but it won't result into straight lines as the SurfaceModeller seems to cut off a little from the edges of the DEM.Thanks!Jan
Hi, I have a DWG group file with labeling texts converted from esri Annotation group layers. When I open the DWG file in ArcMap, I can see featuerID(not system ID, but ties to original feature that was labeled), horizontalAlignment, verticalAlignment fields. But when I bring it to FME, I can not expose these attributes. I have tried different things such as, change parameters to attributeschema etc., but I still can not see these attributes. Is there anyway I can do this?Thanks!
Hello,I have an IFC file that is in Snakegrid local coordinate system, however I do not have access on how this IFC was created in the first place. I also have a .dat file that specifies the Snakegrid parameters for the area of interest. The workflow I have been using is suitable to change the coordinate systems between dgn files.I would like to ask if it is feasible to convert an IFC file that is in SnakeGrid to OSGB (EPSG: 27700)?Thank you for your time.Kind regards,George
Hey there,I need to convert a cityGML file to Geodatabase or just in a file to get the cityGML in Arcgis Pro.I used a Workflow right from the internet. But the transformation failed.I tried the convertions with this workflow https://github.com/Esri/3d-cities-template/tree/master/Workflows/3DCityMaintenance/CityGML%20ToolsYours sincerleyTobi
Hi everyoneI have a question regarding the SDE Writer (Geodatabase SDE) in FME (FME 2017). There are some issues regarding geometry problems, e.g. self-intersecting polygons cannot be inserted into an Oracle Database with SDE (ERROR |An error occurred while attempting to insert a row into the table 'XXX' using a cursor. The error number from ArcObjects is: '-2147215968'. The error message from ArcObjects is: {Linestring or poly boundary is self-intersecting}).How can this problem be addressed? (Using PostGIS, these geometries can be inserted normally) I tested the GeometryValidator transformer, which seems not to be the right way though: sometimes the self-intersecting geometries are detected and sometimes they’re not detected (!). After repairing these geometries using the GeometryValidator, there is another error while inserting the data into the DB (ERROR |An error occurred while attempting to insert a row into the table 'XXX' using a cursor. The error number