Using readers and writers to extract and load data.
Recently active
I am using the KML writer to save output as KMZ by specifying Destination KML Dataset as "myoutput.kmz". This works, but I have an icon referenced in the KML output in the Icon->href tag as: images/D2.png How can I add the images/D2.png folder and file to the output KMZ? Thanks
So i have been going through tutorials and JSON documents on safe.com and I cannot figure out how to bring out the attributes I need from this for my workbench. I am getting this http call in json format and I want to get this down to working with these attributes action, custom_1, height, class, MATL_TYPE , F_ID, POLETYPE, F_ROUTE, F_O, F_Y, EMINY, EMINX, DATABASE_NAME, DESIGNATION, objectType I cannot figure out the procedure to be able to pull these attributes out and their values to work with in my workbench. Any help would be appreciated. The original message is below. MESSAGE: {"action":"CreateOrUpdate","instance":{"fields":[{"allowNull":false,"allowUpdate":false,"targetField":"custom_1","value":"5b8e3770-cf35"},{"allowNull":false,"allowUpdate":false,"targetField":"height","value":"2"},{"allowNull":false,&
How to add customer icons in FME KMLstyler?
I'm new to FME Desktop so this may be a basic usage question. We are using Photoshop to process GeoTIFF files. However, since Photoshop is not aware of the spatial metadata in GeoTIFF files, the files it creates are saved as regular TIF files with no georeferencing. Would it be possible to copy the spatial metadata from the original GeoTIFF and apply it to the TIF that Photoshop creates? Thanks -Mark
Hi FME community Spatial objects in FME that include arcs consist of several segments, each belonging to an arc or a subsequent series of straight lines. When you use the transformer ArcStroker to get rid of the arcs, you still have these separate segements (whereby each of them belongs now to a series of straight lines). When you write these objects (polygons in my case) into PostGIS, they are automatically stored as "CurvePolygon" which cause problems. It needs a lot of transformers to decompose (donut-)polygons into their individual buildings blocks and to rebuild them. My question therefore is: Is there a transformer or parameter to set so that the required simplification of the object's data structure after removing arcs happens automatically? If not, it would be desirable that Safe Software introduces this Feature in future Versions of FME. I mean are there any reasons to keep the polylines separated by segments after the removal of arcs? Greetings, Andre
I have a custom format I am trying to write to. It's for consumption into a program called Petrel (used for 3D modelling in the oil and gas industry) and ends with a .ev format. Here is a link to more info on the .ev format: http://petrofaq.org/wiki/How_to_import_completion_event_data_in_Petrel#Well_event_file_format The challenge: Going from a structured database format to the following schema. FROM WELL-1 01/01/2004 perforation 4000 4020 .5 0 WELL-1 01/12/2002 barefoot 3500 .4 -2 WELL-1 01/01/2005 rework 3600 3900 .380.5 WELL-2 01/01/2004 perforation 4000 4020 .5 0 WELL-2 01/12/2002 barefoot 3500 .4 -2 WELL-2 01/01/2005 rework 3600 3900 .380.5 TO: UNITS FIELD WELLNAME WELL-1 --DATE EVENT MD1 MD2 Diameter Skin 01/01/2004 perforation 4000 4020 .5 0 01/12/2002 barefoot 3500 .4 -2 01/01/2005 rework 3600 3900 .380.5 WELLNAME WELL-2 --DATE EVENT MD1 MD2 Diameter Skin 01/01/2004 perforation 4000 4020 .5 0 01/12/2002 barefoot 3500 .4 -2 01/01/2005 rework 3600 3900 .380.
Having a unique constraint on a table is there a way to avoid FME stoping the bulk copy or insert simply ignoring the duplicate values and keep on with the translation, just reporting the warning ? Or would be there any other alternative to UNIQUE constraints to avoid duplicates entering database without stopping the translation ? Cheers
I received dxf coming from Eplan Electrical schema's. Opening the dxf in Microstation shows that Tagsets are available but not working correctly. The batch Conversion tool in Microstation works correct but it is tedious. With FME level, line, color, text etc mapping are easy, but I can't get the tagsets to behave correctly. The Tags are all in one Tagset instead of linked to their specific Cell. Ideas/exemples anyone?
Is there something needed to be done on db side so that FME can read PostgreSQL Materialized views , or this is something not possible to do ? Thanks, Jorge Vidinha
Our workflows creates a MS SQL Spatial database. However we are getting a significant amount of Linestring type entities when we open the same database in Postgis. What are the optimum defaults in the sql spatial writer which could avoid the problem. Are there any other steps we could add to our shape file preparation workflow which could also assist with the issue?
Hello, I am running FME Cloud and have been receiving a "winmail.dat" file in the email attachments and my feature reader that recognizes the attachments from the publisher is having difficulties with it. I read recently that Server has developed the ability to handle these files and extract the info from them, but I have yet to discover how. Any help is much appreciated.
For some reason my FME translation is not recognizing the GlobalID column in my target feature class. I can see the GlobalID column in ArcCatalog and the DBA sees it on the table in SQL Server Studio also. Any suggestions about what could be wrong or missing? 2015-11-02 15:14:15| 12.9| 0.0|ERROR |Column 'GlobalID' of type 'guid' specified in mapping file but not defined in existing table 'DBO.T_TRANSMISSIONSTRUCTURE' I'm using FME 2015.1.1.0 build 15515 64-bit. This is a new version for me and I was using FME 2013 SP1 previously.
Hi FME community, I was trying FME SERVER 2015 with a recorded tutorial and I was really impressed by its simplicity and strength. However I would like to go in deep about FME SERVER foundation, maybe some technical literature related to the PUBLICATION-SUBSCRIPTION PARADIGM. Please could anybody give me suggestions about articles or even better, books about the paradigm FME SERVER use? Thanks in advance, Raul
Extract data into folders based on attribute , it should be hierachy strucutre , example coutnry , city , district then pacels share files
Hello all, I'm having an issue with writing tags to a DGN file. I have a Revit file which I've converted to the Revit FME format and am writing straight to DGN. When I write it without tags it works, however when I switch on tags and map across the attributes, I get a series of warning messages: WARN |DESIGN WRITER: Tag writing is currently not supported for the associated element WARN |DESIGN WRITER: Could not find the tag value. This may result into creating an empty tag. Make sure the feature has the attribute 'Analytical Properties.Absorptan' set with an appropriate value It repeats this for several of the attributes, then: Further instances of this message will be suppressed Then the log hangs (like it's processing). I left the workspace open overnight, it didn't complete. Thanks in advance for any help. Amit
I am trying to style the KML to handle 75K points. Yes, that is a lot. But let's see if I can do this before I start using FME to subsample. I would love to see it all overlaid on a google earth map. I figured out how to hide the Label, and make the icon smaller, but I really want this to be just a one or four pixel icon for each point, and any other tips you can give me to make Google Earth render faster.
Hi, I have a shapefile and I am writing the output according to the according to the attributr name of the input shapefile. The input shapefile has korean language. Now, if I export the according to the attribute, language is not getting exported correctly by FME. How can we resolve this issue !!
Hi There, I'm throwing this out there in desperation. I'm trying to find a way to keep a hosted table updated within ArcGIS Online. Unfortunately, I've found that it is not possible to write data to a table service in the same way we can write to a feature service using FME. Has anyone devised a way to write rows to a table that is hosted in ArcGIS Online (or some other service)? I suspect it will have to be done using JSON and the REST API but being a bit of a novice in this area of the cloud I'm seeking some pointers. Any suggestions would be greatly appreciated! Warren
Hello, I have a workbench which reads featureclasses from parameters i.e. Oracle tables. I linked this parameter to "Feature Types To Read". Oracle Sptial Reader is used to read these feature classes and write it out to SHAPE. This works fine. Just want to know is there any other efficient way to achieve this. As I don't know how many tables I may need to pass in parameter. Cheers, John
I am using statistics calculator to fill in the total number of features from a datasource. I want to expand and contract that list in excel dependent on non zero.I also want a grand total at the bottom to be just below the last row. Do I need to get the max number of possible rows to use in a parameter? Do I need to create a parameter to count those rows and make that parameter the location +1 of my grand total?
Hi all, we are running a 64 bit FME Desktop on a Windows OS and a 64 bit Oracle client. Everything works until we made an update of the ArcGIS Server. After that the FME Desktop crashes if we want to create a new workbench and choose an Oracle reader. After selecting it in the list box the software shut down! So we reinstalled the Oracle Client but it didn´t help. The question ist, what happens "behind the scenes" when choosing the Oracle reader? Is there a central file (in the OS) which is used at this moment?
Good Day, This question continues on from a previous question of mine: https://knowledge.safe.com/questions/3794/need-hel... The problem I'm having is that when I look at the canvas in FME after running the process, FME indicates that 433 records were written to the File Geodatabase: But when I look at the attribute table in the file geodatabase, there are 0 records in it: I don't know if there's a step or something that I am missing between AttributeExposer and the File Geodatabase Writer. Kind of learning here by trial and error. Thanks for any help, Chris
I am currently trying to merge two tables (one is a shape file with county polygon info and the other is a excel file with info about the county. My goal is to get the polygon info into the table with all the data. Both have essentially the same field (counties) but are named two different things. One of the files calls it counties while the other is a shape file that just calls it name and has the polygon data. What is the best way to merge these files or is it better to use ArcMap tools to do the merger?
Hi!!! I read a SDE (SQL) database and write dynamic MapInfo table (dynamic is because I want my output to be like my SDE Database). Eveything is fine except with the "date" type attribute. MapInfo write the date as a "DateTime" attribute. But I'd like to have a simple "Date" attirbute. Any idea how to force "Date" and not "DateTime" on a dynamic transformation using Dynamic Properities of the SDE Geodatabase ? thank you!
Hi, I'm trying to use FMEObjects, particularly read, modify data and write back to MSSQL database and I'm hitting a strange behaviour in 2015 version. Maybe I'm doing something wrong but.. I managed to read data OK but when I'm writing back it complains "Spatial Column 'geometry' with type 'geometry' does not exist in table 'dbo.simple_test_data'. Please specify an existing spatial column to write to". As far as I'm concerned - I have specified - here's my writer directives: Writer parameters: COMMAND_TIMEOUT=34 RETRIEVE_ALL_SCHEMAS=YES SERVER=server USER_NAME=fme_datastore_test PASSWORD=*** WHERE_CLAUSE= CLIP_TO_ENVELOPE=NO READ_CACHE_SIZE=10 ASSUME_ONE_SRID_PER_COL=YES EXPOSED_ATTRS= SPATIAL_TYPE=geometry SPATIAL_COLUMN=GEOM Here's extract from the log: 0.1|INFORM|+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2015-10-15 16:28:03| 0.2| 0.0|INFORM|Feature Type: `dbo.simple_test_data' 201