Using readers and writers to extract and load data.
Recently active
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
I have a number of lidar files in LAS format that I want to convert to one compressed LAZ file. I can read the LAS files with one reader, but when I use the ASPRS Lidar Data Exchange writer to write, it writes multiple LAZ files. This is true even if I set the Compress Files parameter to Yes. How can I get just one LAZ file? Thanks
Hi , I have a featureclass stored in a SDE Geodatabase. How would I go about witing a txt file with one column containing the features geometry in Oracel (MYSYS.SDO_GEOMETRY) format? I assumed I would use Geometry Extractor, but there doesn't seem to be an oracle geomtery encoder included? Would I need to write the feature to another Oracle Spatial database then extract the information from that? Many THanks Bkicker22
Is there any way to determine the width (in coordinate units) of AutoCAD multiline text output? I need to offset the text to the left for callout tags where the leader line leans to the left of the item they are describing (subtract width amount from x coordinate) - but I have yet to figure a way to extract the "rendered" width of the longest line to do so.
Hi FME-ers, With Desktop 2013, is anyone familiar with a workflow I can use within FME to populate two attribute fields (in a stormwater pipes layer), with corresponding IDs from a connected stormwater pits layer which is snapped to the start and end of each pipe. The pipe layer is digitised in direction of flow so I would be looking to populate the corresponding upstream and downstream pit attributes to reflect this. Note: ESRI used to have a VB Script which did this but it is no longer supported in 10.1. thanks!!!
I am running a workflow using various transformers on data (eg. BulkAttributeRenamer, AttributeCreator etc) is there a smart way to retain the feature data types through to the writer? When connecting the writer, I copy attibutes from the previous transformer and it lists all columns as "text" "200". I do not want to have to manually change the type in User Attributes. Cheers!
HI All, How to send an output from a workspace to fmeserverjobsubmitter. For Instance I am having a workspace which checks if a field exists in a feature class if not then notify the user. If I publish this workspace in the server and use it using fmeserverjobsubmitter how can I access the output How can I achieve this ? Thanks
As I have to run the same script for many shapefiles I wonder if there is a way/transformer to name the newly generated output shapefiles (dynamic) automatically the same way as the input shapefiles. I am new to FME and appreciate an answer which I can follow easily.. Thanks a lot!
Can anybody explain the workaround for when FME runs but reads the previous Writer that was there. Explained: I have .MIF files that I download from a GPS and input into FME every week. FME is reading my last weeks file count when it should be reading the new file? Even when I erase and re-add the new writer, it still reads my old ? The features have the same name but I thought FME should recongnize it is a new Writer (because I erase all files in FME and re-add NEW) and thus have different feature counts. Is their a CACHE somewhere in the workspace where I can empty to solve this issue?
Hi, Is there a way to compare schema between ArcSDE Feature Class and File Geodatabase Feature Class . Schema(Any format) works for file geodatabase feature classes but not for ArcSDE Feature Class . Can anyone tell me if there is a FME approach for this ? Thanks and Happy Christmas to all