Using readers and writers to extract and load data.
Recently active
I like to write the ouput of a transformer to a new esri file geodatabase using FME 2015. I use the Writer Esri Geodatabase (File Geodb API) and for Parameters a template is asked. I point to a Template.gdbNext is again asked for a gdb but if the fgdb does not exists yet, the same applies for a Dataset. How to import into a new fgdb and new feature class with FME 2015.
I have multiple black and white rasters. I want to mosaic them together and then compress them to make them more manageable. These rasters however are scanned images of historic mapping.This means that I have areas outside the georeferenced bounding box that are white(see image). Most sheets have these white areas, so when I mosaic these sheets together there is overlapping, this leads to part of a sheet being covered by another sheet.As these sheets are georeferenced should the extra white areas not both be forced underneath the sheets they overlap? Is there anyway I can force this to happen?
I was wondering if this is at all possible?
Hi,I have a large workspace; a simple export of gas assets. There are a lot of joins and the workspace is large and not so easy to read without zooming in and out. Views are currently not an option. I want to make the workspace easy for the others who are new to FME to support it too.Question:Is it best practice to keep a large workspace as a whole and use bookmarks to manage zooming in and out. The logic in the workspace is simple so this is my preference and what I’ve mostly done to date.Or is my thinking out of date and would it be better to split the workspace into 4 workspaces of 5 assets each. Or even 20 workspaces, one for each asset, and use a (FME Server) workspace runner to call the workspaces one after another? Maintaining the individual workspaces would be simpler but then you have the added complexity of a workspace runner.Your thoughts are welcome. What is the current best practice?Annette
First, I apologize if this is very basic, but I can't seem to find out how to make this work. Additionally, I'm very new to FME so I'm learning as I'm going. This data is about a bike sharing program.I have two CSVs, one contains the station IDs with Lat / Long, the other contains the trip information. Here are some of the columns (I've removed all the others for this question)Station File: station_id latitude longitude Trip File: trip_id from_station_id to_station_idWhat I would like to go is add them to a (Geo?)JSON file, so each TRIP_ID contains a polyline geometry of the FROM and TO locations. How would I got about doing this?
I need generate a SpatiaLite database that stores a 1:n relationship. The 1 side is a spatial table and the n side is a non spatial table. Firstly I create a template (template.sqlite from template.sql). If I use only the SpatiaLite writer I get an error with the non spatial table (test1.fmw). Maybe I misunderstand the meaning of wkb_none. If I use a SpatialLite writer for the spatial table and a Sqlite for the non spatial table, everything runs ok but it seems that FME ignores an existing constraint in the template database (test2.fmw).Workspaces: Source data: https://goo.gl/5FfJBs
I am noticing WFS reader times that are more than 5 times slower on FME 2017 when compared to FME 2016. A workbench that extracted data in 7 minutes in 2016 is taking over 40 minutes in 2017. In addition there are differences in the log files2017: all of the "HTTP response - so far received: ##.## MB" messages were written to the log before any "Reading Source Feature # xxxx" messages appeared.2016: the read messages start appearing within the "HTTP response - so far received: ##.## MB" messages. 2017: The display count holds at one until all features have been read2016: display counts continuously increase as features are being processed through transformers, while data is still being read in. Are there settings in FME 2017 that can be changed to get it to perform the same way it did in 2016?
I am reading several views that contain non spatial data. When inserting the readers, I click the approx 10 views I want to read from and then am bringing them in as a single merged feature type. I am bringing them in as a single merged feature for simplicity and because I am using a trimmed version of fme_feature_type to name my shapefile writers. My workbench fails when I run it, because it is trying to read tables that I do not have access to. Has anyone else had this problem? I have other workbenches that are similar to this and it works for them. I know I can just bring in the tables as individual feature types, it just seemed odd to me. I'm using FME 17.0.1.1
Trying to read huge shapefile and write to SDE.Currently I'm running in local and taking longer time. Also tried to push it to server, it's longer in server too. Looking for any faster approach to load data.Any replies are appreciated.
We are trying to read SDE files in FME Server. But it displayed the follow error message: Could not open the Enterprise Geodatabase. The error number from ArcObjects is: '-2147216028'. The error message from ArcObjects is: {No SDEHOME environment variable set}. We installed FME Server 2017 64 bit, Oracle client 64 bit and ArcGIS 64bit Background. Who have same experience and help us find the solution? Thank you!
Hi,It seems to me that there's a bug in the ArcGIS Online (AGOL) Writer when one attempts to write features to an existing layer. I'm using FME 2017.1 (x64).The writer has Mode = INSERT and Truncate First = Yes.If I delete the layer in AGOL prior to running the workspace, it works. If I don't, I get this Python error:ArcGIS Online Feature Service Writer: Writing features for layer/table 'KommunerMedOverlap', with 57 inserts, 0 updates, and 0 deletesPython Exception <UnicodeDecodeError>: 'ascii' codec can't decode byte 0xf8 in position 2: ordinal not in range(128)Traceback (most recent call last):File "fmeutil.py", line 653, in wrapperFile "arcgisonlinefeaturesWriter.py", line 152, in closeFile "fmeutil.py", line 653, in wrapperFile "arcgisonlinefeaturesWriterPaths.py", line 785, in closeFile "fmeutil.py", line 653, in wrapperFile "arcgisonlinefeaturesWriterPaths.py", line 885, in _applyEditsOnLayerFile "C:\Program Files\FME 2017\fmepython27\lib\json\__init__.py", line 250, in dum
I have a .flt file that a client wants to use in Microsurvey. I actually have no background in iCAD files, but I thought I'd do what I can to help him if possible. The .flt came from USGS' TNM. I'm still very much a noob at FME, but it seems to me like it should either already be compatible, or something readily converted. If it needs conversion, I'd appreciate someone walking me through the steps. I can provide more info if I've left anything out.
Hi, I have a design file with all cells as graphic cell. I want to convert them in to point shape file as point. but after converting them to shape it comes in polygon. Is there any way to convert these graphic cell to point shape file directly with converting them to point cell. Does any one have microstation macros to convert graphic cell to point cell or any other procedure. thanks
I have a geometrycollection type KMZ. And I want to import it to ArcGIS. Could anyone show me how to convert it without losing attribute? Thank you
Hi, Im a newbie, have trouble importing my file from http://media.pcna.com/Integration/PCNA-Media.zip. I unzip it and reference the xml file. My goal is to export the xml to a csv file, but can't get it to read. Can someone help?
Hello everyone,I have a CityGML dataset from Montreal Open data that seems to be in EPSG:2950 I need to write this CityGML to a Cesium 3D-Tiles dataset (tileset.json + tiles) in EPSG:4978I tried Reprojector and CS-MAP Reprojector but in vain.I get an error when I try to do so :
I try to make a simple transformation but couldn’t reach my goal so I thought someone might be able to help me ? Here is the origin of my data : actually I read a dgn file which has only one layer called « Default » with more than 8.000 elements. These elements are cells. When I read this dgn file with FME , it splits the cells into lines but I don't want this. I want to get one point for each cell. So I use the transformers on cells in this order : 'labelpointreplacer' then 'coordinate extractor' then 'vertex creator' and finally 'sampler' (group by "igds_cell_sequence_number") to do this job and it works. In the end I have as many points as there are cells. But now I want to import these points into a PostGIS database.So I want to use : The internal parameter ‘igds_linkage{0}.string’ indicates wich layer each element should belong. The parameter ‘fme_feature_type’ is set do ‘Default’. I use the transformers ‘attrib
Hi,Could you provide me an example of Excel reader and writer library (https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/xlsx/xlsx.htm)?Is the library MS Excel version dependent (2011, 2013 etc.)? The process involves reading data from some of the geometrical shapes. Is this feature supported? Thank you !PS: C++ is preferred.
Hi ! I'm trying to create a database connection to a cosmosdb database using the mongodb api. This implies using a mongodb connection with ssl parameter. I can't find the ssl parameter in the mongo connection box in both FME 2016 and FME 2017, Is it not implemented yet ? Is there a way to connect providing the mongodb connection uri with any parameter ?
I have an Oracle SDE table created from MS Integration Service. The table has columns with mixed upper and lower cases. Look like FME data write into this table only looks for upper cased column names and I got this ORA-00904: invalid identifier error for all columns. We won't want to change the column names to be all upper case. Is there a workaround for this?
We are seeing an increasing number of clients wishing to manage log files using a central log collection and monitoring system. By default, FME Server stores all log files in the system share directory structure but this also contains repository information, etc.I would like to move just the log files (not the whole system share) to another location. Has anyone done this? It looks like it should be possible by editing a few settings in the fmeServerConfig.txt file but it's probably not recommended...Bonus question: how nicely would these changes play with a fault tolerant (Active-Passive) architecture?
Hi,I'm using FME to convert a CityGML file into B3DM for visualization in CesiumJS. However, when I visualize the B3DM file, it seems to have an endlessly recursive structure. Based on the B3DM documentation, my understanding is that each tile should have a feature table (with the list of features), a batch table (with tile metadata), and the binary glTF of the tile. However, when printing out the tile contents in the console, this is what I see. Has anyone experienced this before? Or have any idea how to make sense of it? My end goal is to be able to select features based on their geographical location. Any help would be appreciated.Thanks!Aditya
I asked this question on this tutorial page:https://knowledge.safe.com/content/kbentry/1533/index.html#comment-54869and was advised to post a question on the forum. Unforunately, I can't provide a datasample. I just wanted to know... Say, I have a DGN file, which was created with one of Bentley's software packages. And I wanted to transhorm that DGN file to a shapefile just like in the tutorial linked above, but also linked to that shapefile the same attribute table which was related to it in the Bentley software. I've noticed a "Linkage extraction " through MSLinks and Framme, in the reader parameter. What would happen if I joined an attribute table with a MSLink column to my shapefile geometry (a table origially linked to the DGN file in the software package), when I check MSLinks linkage extraction? Would FME automatically detect which MSlink in the attribute table relates to which feature in the shapefile?EDIT 1:If you check MSLINKS in the linkage extraction,