Questions tagged [fmeobjects]

A python module which allows users to run FME commands, e.g. running workspaces (.fmw files), startup and shutdown scripts, as well as other GIS related functions like coordinate transformations.

Filter by
Sorted by
Tagged with
1 vote
1 answer
185 views

Python + FME Objects : print log in the cmd

I'm running a FME Workbench from my Python script and I struggle to print the log in the cmd. When I run the FME Workbench (from FME without Python), I got this error in the FME translation log : 2022-...
0 votes
2 answers
645 views

Using ArcPy and FME Objects in Python script

I'm trying to call both ArcPy and FME Objects modules in my Python script. I feel like the issue's from sys.path.append()... import sys import os sys.path.append(r"C:\Program Files (x86)\Esri\...
0 votes
2 answers
565 views

How to use the datasets in the workspace in a "PythonCreator" transformer?

I have 2 datasets in my workspace and I want to use "PythonCreator" transformer to create a new feature base on those datasets in my workspace but I don't know how to use workspace datasets in "...
  • 47
2 votes
1 answer
2k views

How to create new attributes in a feature from the value of another attribute

I have an Excel reader in my workspace that have 2 attributes (CurrentName and NewName). The value of "CurrentName" shows a list of attribute names in the another reader that already are exist in my ...
  • 47
7 votes
2 answers
406 views

How to use current layer name in FME PythonCaller?

In a PythonCaller (FME 2014 SP4 in Data Interop in ArcGIS 10.3), I'd like to do some conditional processing based on the layer that I'm currently processing. I'm feeding in a text file of layers ...
  • 12.7k
2 votes
3 answers
1k views

Importing fmeobjects into PyQGIS

I use FME a lot for manipulation of spatial data, and would like to leverage it's Python library, fmeobjects in PyQgis. If I run the following in my standard Python IDE it works fine: import sys ...
  • 945
2 votes
1 answer
408 views

Converting Lat/Lot from OSG36 to Lat/Lot in WG84?

I have a csv file wich contains three columns: ID, latitude and longitude. These latitudes and longitudes are taken from a projection in OSGB36. How can I possibly convert these latitudes and ...
  • 145
5 votes
3 answers
5k views

How to get a list of attributes in FME when there are no records in table?

How to get a list of attributes in FME when there are no records in the table? I try use a PythonCaller but when there are no records, FME passes over this table. In PythonCaller I write: import ...
  • 1,531
3 votes
1 answer
685 views

File GDB to SDE Database using FME

I'm currently stuck in my FME Workspace script. Ideally, I'm reading from a file geodatabase and will update the SDE database in SQL server. I have CRC calculators to check for the changes in the ...
  • 415
2 votes
1 answer
617 views

Replace Polygon geometry in SDE Database using FME

I'm still trying to wrap my head around using FME and encountering another issue. This is my scenario: I have a master SDE database that i am trying to update using the data from a GDB file. I was ...
  • 415
1 vote
1 answer
968 views

Merging Personal Geodatabase (MDB) data into ArcSDE using FME?

Im a novice in FME and I have a MDB file that i want to write/insert to an SDE database using FME. I created a simple translation that generally reads the data from the MDB file and writes it to the ...
  • 415
7 votes
2 answers
2k views

Merging data using FME

I am a newbie in FME and is trying to accomplish a similar implementation like this: Merging edited data back into ArcSDE master geodatabase? But we are still in the proof of concept stage.So we are ...
  • 415
4 votes
0 answers
2k views

Is there a way to execute FME transformers from a PythonCaller script in an FME workspace?

I have a very large and complex Python/arcpy script that does lots of custom calculations, and I am trying to port it to an FME environemnt. The script runs beautifully under ArcGIS. The problem in ...
  • 1,622