Using readers and writers to extract and load data.
Recently active
Excel Writer: Column name 'A.formatting' for sheet 'cars' could not be used as a column position.Error shows to me bcs i used Excelstyler before feature writer but iam using the option use attribute names as column position Yes and i need it . i know also it should A.formatting inside the user attribute but it occurs to terminate the program .so any suggestion ,how could i change back ground color of some cells in the first column without terminate the programThanks
I had this problem beginning in FME 2018 32-bit and thought it was related to the JVM memory issue, but I upgraded to 2019.2 and I'm still having a problem connecting to oracle databases intermittently. Here's one case: I have an sde reader (non-legacy) that is set up using a path to an sde connection file. I go to import a second feature type to the same reader and I get an error:Unable to connect to Oracle database, because the database environment could not be initialized.If I manually type the featureclass that I want to add into the dialogue, it actually just loads up, but I can't browse the Table List to pick it. Another case is in the oracle non-spatial connection that I'm using with a sqlexecutor or sqlcreator. Sometimes I can create and test a sql string just fine; other times I get the same error:Unable to connect to Oracle database, because the database environment could not be initialized.If I completely close FME and reopen, sometimes it works again. Som
Hello, I have Roof, Wall, Floor, Building Part, Window and Door in FBX format. Once it is converted into citygml format the output i get is as follows The building layer contains the complete data set and the other layers contain the respective data sets as mentioned in the layer name. But if i turn off the building layer the data is not hidden as the other layers are independent and contain the different items. Attached below is the screenshot of my workbench. However I am looking for a different kind of output. The building should act as the main layer and other features should come in as sub layers for the main layer. Similar to the attachment below. This would let me turn off the building layer as a whole or I can turn off the different sub layer as per need. Please let me know if someone can help me to resolve this. Thanks in advance to everyone. Regards,
Hi! i have to read dwg plans and export information from the title block to excel. Just few values are interesting to me. I have an excel sheet with possible attribute values so only values which are both in the Autocad and in the "reference excel sheet" go to the final writer in excel format.for example:Cad provides the attribute autocad_text_stringautocad_text_stringgreenThursdaywhite380012/01/2019FebruaryNAMEPeterExcel reference sheetColoursDays of the weekMonthsNamesblueMondayJanuaryLaurayellowTuesdayFebruaryMaryredWednesdayMarchAnnegreenThursdayAprilJuliaorangeFridayMayCharlesblackSaturdayJunePeter SundayJulyAnthony AugustBob September October November December The writer should look like this:ColoursDays of the weekMonthsNamesGreenThursdayFebruaryPeterSo the final table contains values that were in both places. The rest are not relevant. Does this make any sense? Hope to get help because I don´t know how to make the connection between my 2 readers in an effecti
HiI am downloading a .csv file from a remote ARCGIS server, combining it with an existing .shp file and then writing out to another .shp file. This makes this one table for each instance of the remote .csv file being updated (which is daily). This is working fine.I am looking to produce another, master, .shp file which is updated every day with the data from the newest.csv file. Each release comprises 2 new columns in the master table.So this is the master table after the first release is insertedAnd this is the release after the second release is inserted The master .shp file will therefore have 2 new columns added on a regular basis.I am unsure how to insert the new columns into the master .shp file each day, ensuring the column names reflect the 2 additional entries. I'm thinking something like adding a counter to the column names I'd welcome any suggestions anyone could providethanksSimon Hume
Hi, I know this is still being developed but we are trialing the use of the reader to write GIS information. At this stage I am able to work around some of the export problems from 12d model BUT i cannot solve generating individual pipe geometry segments from a <string_drainage> object. any guidance would be appreciated. <string_drainage> <data_3d></data_3d> - Geometry <pit></pit> - Pit information (xyz) <pipe></pipe> Pipe information (no direct Geometry) </string_drainage>
Anybody have idea about Geometry characteristics of road each 10 meters with Fields of Geometry table with output Shapefile1)Road2)Segment3)Length- in meters4)Shoulder- in decimeters5)Carriageway- in decimeters6)Additional lane- in decimeters7)Slow lane- in decimeters8)Platform- in decimeters9)Median- in meters10)No of lanes11)Slope- % of a pavement12)Camber- Cross slope (%) of platform13)Radius of curvature14)Geographical coordinates(lat & long)15)UTM coordinates(x,y,z)
Hi all, I would like to ask whether it is possible to disable the generation of the FFS file. I am running into some storage problems. Therefore, I would like to disable the FFS if it is possible. Thanks in advance.
I am trying to read an xml file with a nested structure and output the results to a spreadsheet. I am using an identifier (effectively a primary key) and a number of attributes for which each identifier may have none, one or more than 1 value for the other attributes. Using list exploder I have managed to get the right output for the identifiers with multiple values, and the rejected output contains the values I want for the rest of the identifiers, but when I try to direct the output to a single spreadsheet I get only the indentifiers from the rejected values, and none of the rest of the attribute values. What am I doing wrong?
While using the MongoDB3 Database connections to replace older MongoDB connection, I have this error log showing with the "Test..." button. This error also displays when a query is made on FME Desktop : the query works, features are correctly selected and used, but the error still exists without stopping the process.MONGODB3 reader: EstablishFeatureDefn(): not authorized on MY_DB_NAME to execute command { find: "system.views", filter: {}, batchSize: 2000, limit: 2000, $db: "MY_DB_NAME", $readPreference: { mode: "primaryPreferred" }, lsid: { id: UUID("a797ca3f-a6d9-4739-aa15-e6c2c5f71a6b") } }: generic server errorMy Mongo user is admin of the DB, I can't see why there is unauthorized action? Thanks for the info!I use FME 2019.2.1.0 (20191202 - Build 19813 - WIN64)Mongo version is 4.0.13
There are around 50 to 100 FME workspace translations running on my server. All these translations generate log files which I keep for 3 days. Along with log file FME also generates ffs files which consumes lot of space on server. Does it affect my performance time? One translation created 1 gb ffs file in temp folder creating space issues on server and affecting other translations.
I have a json where part of the json is in geojson.The "polygons" attribute is just pure geojson multipolygon.I'd like to able to read all the json structure but leave the polygons structure as a string and convert that to spatial data.I've tried jsonflattener and exploders + listconcatenator/featurereader with no luck.I know I can do something with python, but would rather not.I've attached a sample file if anyone would like to give it a try
When I bring in a 3D DWG file to make some bulk edits, FME is adding a lot of extra lines in the surface of the structures, triangulating vertices etc, these remain in a .dwg export. Is there away to clean this up so it presents correctly inside AutoCAD. Original FME DWG export Many Thanks
I am trying to mosaic several ECW images together into one large file in the latest release of FME 2020. It is a very large file, according to FME it has a raster size of 1360000 row(s) and 1184000 column(s). And after the mosaic transformer has finished I get the following errors:ERROR - ECW writer: Could not open compression task Output image size exceeds license ERROR - ECW writer: Failed to write dataset 'G:\\test\\test.ecw'. This may occur if you have insufficient privileges to write this file, or if insufficient disk space is availableIs there indeed a size limit with certain licenses? I couldn't find anything about this. There is also no reason why it would complain about privilidges or disk space for the output folder, as there should be more than enough space available on the disk.How can I solve this error?
We made copies of our feature class tables and copied them over to several GeoPackages. Now I want to use the geopackages in a FME workspace to import data to the same table again.First step therefore is to validate the GPKG table to the DB table to make sure that the structure and fields are correct and dtermine the correct db table.To accomplish this, I use a dynamic reader and collect all field names (attribute{}.name), concatenae them and compare the resultin strings with the concatenated string of the db table.This generally works as expected but unfortunately the FID column is missing in the attribute{}.name list from the GPKG reader. I know that there is the geopackage_fid attribute but that attribute only holds the value and not the name of the FID column.is there a way to get the name of the fid field of a GPKG?
This image below shows Microsoft's recommended configuration for a BI and Analytics integrated storage solution. Azure Synapse Analytics is the new thing in town, the new MS SQL Data warehouse. The most expensive thing in this configuration is the Azure Data Factory. Our institution already has an FME Server. The question is can we replace Data Factory for FME? and has anyone in the community have made successful implementation of FME in this type of scenario?
Dear fme users, I'm here to ask your most valuable help. I have hundreds of .dwg files in a directory and I need to process all of them adding 6 attributes to each drawing, the values of these attributes must be taken from the file name. I managed to build a workflow that assigns the attribute values to 6 columns but I can't figure out how to convert this values as recognized attributes by the output file produced with a standard writer.Small example:Input file:name: ATTRIBUTE1_ATTRIBUTE2.dwgno attributesOutput file:same nametwo attributes: number one - ATTRIBUTE1 number two - ATTRIBUTE2Thanks a lot for your help.
HiI am trying to write to sql server rds on amazon using the jdbc writer, it is really slow. What options do I have to make this any faster. Currently it is inserting 1000 records to a 4 column (all strings) table @20s intervals. using sql server import export wizard is about 50x faster.Thank you
I am using the ArcGIS Online geocoding service inside the Geocoder transformer. The transformer successfully returns results but the "score" attribute does not appear in the Inspector. The "score" attribute comes with the JSON results from the ArcGIS Rest API and I need the values to filter out low scoring geocoding results. Is there a way to expose this? I assume FME is filtering it out along with many other attributes in the resulting JSON. I am using FME 2018.1.1.2 (build 18586 - Win32).
Hey everyone, I am trying to create a report that contains a list of errors. I would like to add checkboxes next to each error as an easy way to keep up to date on what errors have been addressed. Is there a way to do this? I have looked into the Custom HTML, but I'm a little confused on how the ReportGenerator adds the attribute to the HTML statements.Any help would be greatly appreciated. Thanks!
Hi there, I'm currently working on my master thesis which is about urban building energy modelling, I am using the university campus as a case study and just wondering whether it's possible to convert the model from cityengine to citygml format as i don't have technical background. Or, is it better to model simple geometry on Revit and import an IFC file into FME then convert it into citygml format. Many thanks
Trying to query tables from a GeoPackage file with st_intersections() function availabe for spatialite. When I run the SqlExecutor , I have an error logged :GEOPACKAGE reader: In ExecuteSQL(): sqlite3_prepare_v2(select grid_id,geom from grid where st_intersects((Select geom from var_fuelt17),grid.geom) group by grid_id): no such function: st_intersectsTried to use Spatialite Database format pointing to geopackage file but run into issue.All spatial functions are working in QGIS or using spatialite 4.3 command line tools.Any ways to make it work ?
Hi,I've received an FME workbench from a colleague which uses an SQLCreator to read an Oracle Spatial database. I wanted to recreate the steps by reading from the database using the Oracle Spatial Object Reader, however when inspecting the same tables and features there seems to be no geometry related to (some of the) objects.The weird thing is one table does show geometry, and others don't. I have also tried reading the database using an SQLExecutor as well as a FeatureReader and these two also don't read any geometry.Does anyone know what might cause this problem/difference between transformers and readers, and knows how to solve it?Thanks in advance.
When using the GoogleBigQueryConnector transformer, I can see my geometry field 'geo' that I created. When I use the Google BigQuery reader, the field 'geo' shows up, but using an inspector connected to the reader, all records show <missing> in the 'geo' field.Is this a known issue? If so, how can I get around this? I'm hoping to get geometry features from the reader. Thank you in advance!
I need to put on Roofs on my 3D building models (Polygons with z z height information) .. is there a way to do it in FME? Maybe somehow by calculating the middle line of the polygons?