Using readers and writers to extract and load data.
Recently active
I am reading an Excel spreadsheet into my FME workbench. The spreadsheet has 7 worksheets, each of which had various fields including x and y co-ordinate fields (for use with British National Grid). My Excel reader works fine for almost every feature. I have told it that the x and y fields are xy co-ordinates and it reads in all the rows (several hundred for each worksheet) except for the last one in each worksheet. Every time I get an error that says, "XLSX Reader: Read invalid value coordinate values, x-coordinate '', y-coordinate '' on row '357'. Values should be numeric. Point geometry will not be created" The Reader then ignores that row and doesn't read it in at all! The Excel spreadsheet is itself the product of another FME workbench and the xy attributes are specified to come out as numbers, so there shouldn't be any difference in the format of the final row. Does anyone have any hypotheses about why this is happening? I
Hi, I have a bulk of shapefiles and I just want to get the output name same as the input name. How can we do that in FME2015 (:
I have a workspace where I read a database, do some QA/QC and then write a text file that contains all the results of the QA/QC. Currently that text file is writen to the local C dirve of the computer where the workspace is run. I would like to write this file to the root folder where the database is read from but I am having trouble figuring out how to do that. Any suggestions are greatly appreciated.
Hi, I encounter a problem that might be a bug with FME 2015. In my workspace I have aa python caller that use a custom python27 dll that was workinig without any problem a lot of times before. Since I enabled the dynamic properties on a writer feature type, the python fails with that error message: |Python Exception <WindowsError>: [Error 127] The specified procedure could not be found If I uncheck the dynamic properties in the writer feature type, the pythonCaller process without error. Should I report as a bug or there might be an explanation for this problem?
Hi there, I've got polygons in shape format, some of which have holes, that I'm trying to translate into smallworld. The polygons with holes got translated without any holes into smallworld. When trying to write into smallworld, I hAve added "DonutBuilder" transformer bewtween the source and the target. Can any one please me regarding this translate the ploygons with holes into smallworld. Thanks, Seshu
How can I read a WFS service on a https url ? any fmw example?
i would like know what can i do to pass dwg files to small world. i have a trench in small wolrd and i could know what can i do to pass some elements define in CAD inside trench. i know that these elements would have the same inicial and finish point that trench. but i don´t know what can i do to put these elements inside the trench, thanks for all.
Hello, I want to create a shapefile from a view in Oracle Spatial. View is created by another application by querying number of table. So schema of the view changes every time. I am able to create shapefile first time but once schema changes I am not able to create. What should I need to do to handle this dynamic schema. Cheers
Hi All, I want to place the data in specific column+row like D3, C5, F8... I have mapped the column and row to attributes where I want for each record. I'm able to place to the data in required ROW with the help of "xlsx_row_id" and Writer mode to "Update Cell Contents". Could any one please guide me how to add the column number to Excel (writer)... I have atatched the output in inspector for reference... I want to place value of CNT in respective cell Pratap
Hello, I would like to create a shapefile from geometry in oracle table and attributes are stored in CSV. To explain further, I have 2 tables in oracle spatial e.g. STATES & ZIP with columns like ID, geometry. I would like to create a workbench which will accept ID as parameter and some additional attributes in csv and FME will query STATES or ZIP table to get geometry and create a SHAPE file with additional attribute data from csv. For this I have created a workbench with input params : ID READER : CSV e.g. CSV contains something like this ID,NAME,POPULATION,X,Y,Z 1,ANYNAME,100000,ABC,DEF,PQR FEATUREREADER : to read oracle geometry (currently ueing only one table not sure how to pass tablename ZIP or STATE) All CSVs will have ID in header plus other headers which may change e.g. CSV headers may vary from 5 to 20. WRITER : SHAPE(should create tab shape file with whatever attributes in CSV) But I am not sure how can I append attributes from CSV to SHAPE? Is there any other way
How to assign elevation variation from Lidar to shapefile / drap elevation on feature line. Line (ShapeFile) Lidar (.XYZ) I would like to have Z on the shapefile but split featureline when i have a difference (like 5m on Z) or simply put a Begining Z or End Z. I would like to produce 3D feature and have the profile from this.
Is it possible for the ArcSDEQuerier transformer in FME2014 to access data in an SDE "Child Geodatabase", otherwise known as a "schema-owned geodatabase" in official ESRI terms? The SDE is 10.2.0 on an 11g Oracle database and I ahve ArcGIS Desktop 10.2.2 installed on the machine I'm running FME 2014 from. I need to access GIS layers in this child geodatabase and filter them my a study area feature in my workspace. On the transormer there is nowhere to pick the child geodatabase. I have found this to be an issue on the ArcSDE30 reader as well. In order to read data from the child geodatabase I've had to create an sde connection file that points to the child geodatabase and then use the ArcSDE Geodatabase reader instead and point it to the SDE connection file. I can't do the same workaround on the ArcSDE querier. I could just do a spatialfilter tranformer in the workspace, but I want to avoid reading every feature off the SDE layer when there are mil
Is it possible to control the order of worksheets when writing to Excel? I have four worksheets: - page_1 - page_2 - page_3 - page_4 But the Excel document that gets generated has the order: - page_2 - page_1 - page_3 - page_4 Thanks
Hi! Im trying to open a CSW file, but it doesnt seem to be georeferenced correctly. It also comes with a mapinfo .tab file containing the referenced gpc points. It views fine in mapinfo. But opening the ECW in FME inspector/workbench show the coordinates as column/row and not my coordinate system, even though its set and I choosed to apply GCPs on reader properties. Using the RasterGCPExtractor give the following, which look good. 877 4705 93564.351 6224685.68 0;1633 4938 95497.304 6224058.249 0;3085 4617 99250.548 6224831.501 0;5541 1594 105637.368 6232546.944 0;5426 4554 105260.034 6224927.972 0;6210 4883 107279.391 6224071.996 0;5704 6159 105934.53 6220807.966 0;7168 7610 109679.126 6217034.355 0;8234 9617 112387.978 6211868.788 0;7190 11488 109633.351 6207098.583 0;7490 12392 110406.882 6204782.222 0;6614 12247 108151.826 6205172.54 0;6195 11625 107079.892 6206767.879 0 I also tried manually setting the corners with RasterGCPSetter without any success, it stays at the pixel-coord
Hi there. Constructing a workspace, but I need the user to choose a field from the source (of which the field names may vary), which is used later. I've started using a schema reader and was thinking it would have to be some sort of published variable. Any ideas?
How do I transfer primary and foreign key relationships during the translation of database tables from oracle to sql server?
I want to create a bounding box from grouped points (by permit number). I used the BoundingBoxAccumulator and in the inspector it comes out great except that it also is writing out the points! When I try to save this into the SDE as a polygon feature class, it fails and says that it doesn't accept multiple types of geometry... I also want to save out the points as well =, so how do I seperate out the points and lines into 2 seperate feature classes (appending existing). Origionally, In ArcToolbox, the tool I used was "Minimum Bounding Geometry", if that helps....
Hi! How do I change the output format "datetime" in Excel_ADO writer? In the reader the date is on YYYY-MM-DD format but when i'm writing it into Excel_ADO the format changes to YYYYMMDD000000, probably on the format YYMMDDHHMMSS. How can I get the Excel_ADO writer to print it in the ouput file on YYYY-MM-DD format instead? Best regards Christer
Hi all, Is there a way to set the colour (background or text) of a row in excel based on an attribute value? I would like to be able to highlight certains rows in the file based on whether they passed or failed validation.
Hi, I have a geodatabase reader looking at 1 feature class. I have edited that feature class and my workbench is not picking up the changes. I have: Updated the reader feature types Removed the reader and added it again Moved the reader to a new gdb and added it again Deleted the temporary files in the c drive It is as if FME is looking at the previous data that no longer exists?
i have an esri geodatabase with a point feature class with an attribute A This attribute A has about 50 different contents (like A1,A2,A3,A4,....) Each content has its own symbology. Now I want to convert them into dwg and each content should get a different autocad_block. How can I do that in FME? (because in the DWG Styler I can choose only 1 BLOCK) I need about 50!!! Greetz and Thanx FRanco
Hello, When using the Generic Reader and running a CSV file through it, is it possible to specify the CSV parameters somewhere. In the Log file when I run it as is I see: Opening the GENERIC Reader on dataset `C:\\Temp\\Northgate_Edgbaston.csv' CSV Reader: Opening CSV files in directory `C:\\Temp/\\' CSV Reader: Separator Character: ',' CSV Reader: Skip Duplicate Delimiters: no CSV Reader: Strip Quotes From Fields: no CSV Reader: File Has Field Names: no CSV Reader: Field Names Follow Header: no CSV Reader: Number of Lines to Skip: 0 CSV Reader: Number of Footer Lines to Skip: 0 CSV Reader: Encoding name '' CSV Reader: Allowing Spaces in Column Names: no CSV Reader: Max features to scan for schema: 10000 CSV Reader: Opening dataset 'C:\\Temp\\Northgate_Edgbaston.csv' But I'd like to be able to set these parameters so that I can specify that the CSV file has field names and to strip quotes from fields. Thank you, Peter.
Hello, (i'm running Fme2014 sp1 - and looking for an answer within this release) I'm posting data via http to a remote service api that requires a multipart stream consisting of a image (photo) and 4 parameters (metadata against the photo, description,title etc) the problem I have is that the receiving service checks the file type to ensure it's of a type begining with 'image/*' (where * could be any of the image types), however for some reason the httpmultipartuploader is passing the image as 'application/octet-stream'. Is there any way to force the transformer to use a different type? or failing that can any one suggest another method of acheiving the same thing? thanks for any help in advance.... Nick
Hello, I have a csv file with columns as ID, NAME. I want to use ID to query Oracle table and create a shape file from that result. Currently I am using CSV reader to read csv then querying database using FeatureReader (in where clause CODE=@value(ID)) and writing to shape file. My problem is I am not able to get attributes in shapefile. How can I export attributes as well of selected features. Cheers
Hi, I wonder if you can help me, I have a NetCDF file containing daily rainfall data (given in julian days, i.e. 1 = 1st January, 32 = 1st Feburary, 60 = 1st March [not a leap year]). I am trying to aggregate these values by month and output them as ASCII files, I was thinking of just using a simple lookup table to convert the julian day to month, but am struggling to figure out how NetCDFs are read into FME and how I would go about this and also outputing the result as an ASCII grid. Best wishes, Ed