Using readers and writers to extract and load data.
Recently active
Hi All, I really would like to be able to export Revit/IFC files for use in Minecraft. Can anyone shed some light on how to do this?
Specifically, I would like to know how to abstract the lat/long coordinates from AIXM 5.1 and convert them into a readable csv file....(for aviation purposes)....can this be done? Thank you, Specifically, I would like to learn how to acquire the lat/lon coordinates and turn them into a readable csv file....can this be done? Thanks.
I am trying to get attribute names from multiple input MapInfo files into one column in Excel with PythonCaller.I can get it to print in the Log but it doesn't go out to the Excel reader. Not too sure what the problem is - I use the script below:import fmeobjects def processFeature(feature): pass class FeatureProcessor(object): def __init__(self): pass def input(self,feature): feature.removeAttrsWithPrefix('mapinfo_') feature.removeAttrsWithPrefix('fme_') feature.removeAttrsWithPrefix('multi_') attrNames = feature.getAllAttributeNames() inputAttrNames = [] for attrname in attrNames: inputAttrNames.append(attrname) feature.setAttribute('_inputAttrNames', inputAttrNames) self.pyoutput(feature) def close(self): passI have also tried in the for loop - for attrname in attrNames:feature.setAttribute('_inputAttrNames', attrname)Thanks!!
I have pdf files stored as a blob in Oracle (11.2). I am trying to convert to PostGIS (9.3) bytea. The tables gets created when running the workbench but the records fail to be written and the workbench hangs - no error and does not complete. The workbench does complete if i exclude the blob column. I have the same results if i use the PostGRES writer. Uinsg FME 2014.
I have a workbench (FME 2013 SP2) that reads a view from PostGreSQL and writes the same table to MS SQL 2008. (Non Spatial) Permissions have been set for my AD account to create/upate/delete to the SQL database schema and there is plenty of storage space. I have tried numerous times to write the data without success and get the following error message in the log file:MS SQL Server Writer: Failed to commit database transaction. Provider error `Description: Not enough storage is available to complete this operation.' A fatal error has occurred. Check the logfile above for details ... Last line repeated 2 times ... Successfully closed POSTGRES database reader POSTGRES reader aborted! A fatal error has occurred. Check the logfile above for details Successfully closed POSTGRES database reader Successfully closed POSTGRES database reader Successfully closed PostgresConn database reader A fatal error has occurred. Check the logfile above for details MS SQL Server Writer: Aborting write o
Hi,I have 2 polygons files: one for cities and one for provinces. I need to have a table in excel which allow people to choose a province and the result is all the cities which are in the selected province and the cities which are in the provinces which touch the selected province.-How can I get this table in excel-If I want to let people use FME server, how can I do it?I start using Spatial relator (using province polygon as requestor and as supplier), then ListExploder but I do not know how to go farther.. Thanks
Hi there, I have some features coming from a 3D DGN as lines, and I want to convert these into a solid or brep surface. Can't see any easy way to do this, anyone tried this? You can see the output I get from reading the features below:I've tried various methods already including surface modeller, chopping the lines into points and rebuilding, but nothing seems to work. It helps that each distinct object is from a block so they have different block numbers on which they can be grouped, but still fazing me...
I am using a dynamic writer to generate shapefiles. It is almost working fine except the geometries (Points, Lines and Polygons) are always generated with Z and M... even if the input (also over a dynamic reader) has no Z and M.Any Idea how to solve this problem?? (Using FME Desktop 2015.0 Build 15253)
Hi,I'm trying to convert a dxf file to postgis using group by attribute schema. This works fine but if I "select Store Layer Properties on Features", I do not get new columns describing autocad_layer_linetype, autocad_layer_color, and autocad_layer_lineweight as I expected.Why ? I'm using FME Desktop 2016.1.0.0 (20160419 - Build 16492 win32) on x64.Thanks,Olivier"If you select this option, the AutoCAD Reader will add additional attributes describing the layer properties for the layer of each feature. These include autocad_layer_linetype, autocad_layer_color, and autocad_layer_lineweight."
I have a KML file with lots of text in the attributes, and the balloon puts this text onto multiple lines. In KML you can set the width of the table in the description tag to make the balloon wider, like this:<table width='300px'>Is it possible to do this with FME?
Hello,I am working to pull information from autocad block attributes and need help overcoming a problem. Currently, each block's attributes have their own record in the table I am writing them to (they are organized this way straight out of the DWG reader). Looks like this:Attribute1Attribute2Attribute3<Null>AB<Null>CDE<Null><Null>What I want to do is combine the records somehow so the table looks like this:Attribute1Attribute2Attribute3EABECDAny ideas how I can do this? I have tried FeatureMerger and InlineQuerier but have had no luck because there is nothing to join on. Thanks,Mike*EDIT*Initially in the DWG reader I was Grouping Entities by Attribute Schema. I just tried grouping them by Layer and got the same results.
Hi All,I want to perform Insert and Update operations in smallword by using FME workbench.I want to update the existing cable features with new values.About Datasets:I am performing update operation on Cambridge database in network data cable feature. I want to update existing cable data based on cable id. The updated data values are available in Excel format. How can I perform update operation based on excel values using FME workbench.Now I want to update “914668, 914698, 914712, 914748”id Known As values as below.I am facing problems in creating workbench in FME. I need to know the clear process for creating fme workbench for Update operation in Smallworld data.What are my possible solutions?Thanks in advance for your help.
Hi guys,I need to write about 30 excel files (xlsm) into a sql server database. Each excel files has the same structure, but have different data inside.I have a workspace that reads the excel file and write data int othe database, without any problem. I tried running a workspace runner to run the 30 excel files. The problem is that it only writes NULL value data. It writes the good amount of entries, but each attribute is NULL.I have FME desktop 2015.1, and SQL Server 2014.Thanks,maxime
Hello Guys ,We do have a large number of excel we are moving to GIS , but certain column are colored and we want to extract this value and add it as an attribute to output. in order to do some analysis Thanks
Hello, Once a week we receive an excel file. You can see on the attached image how the excel file looks like when you open it with FME Inspector. I would like to create two new tables: one for the new units (row 6 till 9) and one for the new cells (row 14 till 23) including the headers (unit, unit title, south limit etc). How can I extract these rows using FME? The structure is the same every week (new units, then new cells) but the number of rows is variable.
Here is what I am trying to do: When someone puts a file in a certain folder, I want a notification on my Google Calendar on the day the file was put there. I guess my first question would be, Is there a way to add things to Google Calendar?My second question would be, assuming there is not a way to access the Calendar: I am able to create a spreadsheet in Google Docs. Then there is an add-on "From Sheets to Calendar" that will take the information from the spreadsheet and add it to the calendar. Is there a way for FME to access and run that Add-On?
On writing data using the ArcSDE 10.1 Geodatabase writer in FME 2015 to an existing featureclass ( ArcGIS 10.0 client), the translation reports a success but no records can be found in A or base tables. I then delete the spatial index for the featureclass and then load and this time it works. My questions are: a) Why does the above happen without a good notification? b) What are the best practices for loading- delete spatial index, load and the rebuild?
I am reading in a postgis table with a hstore column. I want to create attributes from all the fields inside of it. What is the best way. Since I need the spatial index I was under impression I needed to read in with postgis reader. My python is not great so hoping it can be done without using python.Any help would be great.
Hi, I am new to FME, just learning bits and bobs as I go.I am trying to connect an sql reader to a non spatial sql server.No matter what I fill in for the connection it fails. The sql server is on a another pc which is part of a domain. For the server field of reader should I be writing an ip address or domain name or pc name too?Any guidance would be appreciated.
Today I noticed something about reading the same geodatabase feature class twice, using multiple feature types within the same reader. FME doesn't do this.I had one single merged feature type set up, to process all data within the geodatabase. This was the only reader in the workspace. At some point I needed one specific feature class from the geodatabase for a specific function, so I used the "Import feature type" function to do it. From there on, that feature class would no longer be output through the single merged reader, but only through the separate one. Suddenly my workspace was no longer outputting all data from my geodatabase, since the separate feature class was discarded halfway through the workspace. However, there was nothing that indicated that this was going on - looking at the properties of my single merged feature type, it still claimed to read all feature classes. Disabling the separate feature type did not affect the single merged feature type - it stil
I'm attempting to limit the number of records being read on multiple file geodatabases by setting the WHERE Clause parameter to yesterday's date: Edit_date BETWEEN SUBDATE(CURDATE(),1) AND CURDATE() "Edit Date" is Field Name and the Data type is Date. I've tested a few different SQL statements, but can't seem to get the right combination? Is this the right approach or is there a better way? Gary
Hi All,I want to see smallworld data in FME workbench using FME reader. Actually i tried the process same as Shape file but it displays Errors.
Hi,There seems to be a bug in the FMEServerEmailGenerator transformer. I had some issues in FME 2015 and hoped it would be fixed in the newer realeses in 2016.However when I recently updated to the present realese (2016 b16492) the problem still remains.When attatching a file, or several, the JSON messege that builds from the transforemer add the attatchmet twice in the text_line_data output. Therefore the Email won't be sent to the receiver.I have used a workaround with StringReplacers to get rid off one of the attatchments and made it work like it should. The problem is that I have to customize it every time I want to use a different massage or attribute to post. So it would be great to have this bug fixed in a new patch in the future. Thanks in advanceAndré
Hi There,I'm hoping someone can give me a hand with this problem. I've recently attempted to read a kml file from a url and bring it into my workbench.However, whenever I attempt to read it in FME 2016.1 claims there was an error and says: "Dailed to decompress to 'temp path location... - Failed to initialize the reader'. I've attempted to download the kml file and read it into my workspace from a file path and it works fine. Does anyone have a thought as to how I could fix this???Thanks,Warren
I am trying to read from an Esri SDE and write to a shapefile, but the length of the attribute names are causing problems for the writer. I've tried using AttributeRenamer to manually make all the attribute names under 10 characters, but is there any other way to address this problem? I'm using FME 2014.