Skip to main content
Solved

ESRI Reprojector Fails in FME Server


chris_rmw
Contributor
Forum|alt.badge.img+2

I have a workbench that has two ESRI Reprojectors that work fine when run in FME Desktop.

The first ESRI Reprojector projects from NAD_1983_CSRS_Teranet_Ontario_Lambert to NAD_1983_Teranet_Ontario_Lambert and uses a custom transformation that I created using documentation from our parcel supplier (Teranet). The second ESRI Reprojector reprojects from NAD_1983_Teranet_Ontario_Lambert to NAD_1983_UTM_Zone_17 and does not require a datum transformation.

I have copied the transformation file I created on my desktop pc to the server and put it in the same location:

C:\\Users\\Administrator\\AppData\\Roaming\\ESRI\\Desktop10.4\\ArcToolbox\\CustomTransformations

As well, I copied the grid shift file to C:\\Program Files (x86)\\ArcGIS\\Desktop10.4\\pedata\\ntv2\\canada as per the instructions provided by our parcel supplier (Teranet).

When I upload the workbench to FME Server and attempt to run the job in FME Server it stops almost immediately with the following error EsriReprojector: Reproject: Could not reproject the geometry of the preceding feature: Reprojector; Invalid reprojection parameters.

Installed ArcMap 10.4.1 and FME Server 2017.1.1 - Build 17650 - win64

Best answer by fmelizard

Hi @chris_rmw,

 

 

If ArcGIS Server is installed then the path to the Custom Transformation should be as follows:

 

 

C:\Users\<FMEServerEngineUser>\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

 

**UPDATE** 

 

 

It seems like the problem in this particular case is related to the User Account which is running the FME Server Engines. Because ArcGIS is trying to look for a User specific location (%AppData%) then we need to make sure the user running FME Server Engines matches the AppData location. If you don't want to change the User for your FME engines (see here on method) then try creating the file in this location: 

 

C:\Windows\System32\config\systemprofile\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

The above location should work if the FME Server Engines are running as Local System which is the default when FME Server is installed

** End Update**

 

I suggest that you try a few debugging steps to see if you can narrow down the cause. To me there could be a few things which may be causing you problems, either licensing, or the grid shift file. 

 

Firstly I would try and rule out ESRI licensing. If you can create a simple workspace which uses a simple ESRI reprojection, or simply try and write something to an ESRI File Geodatabase this should either rule out the licensing OR confirm it as the culprit. 

 

If you can check out an ESRI license and then it might related to the grid file in some way.

 

 

Also I feel compelled to point you towards this Q/A with regards to ESRI Licensing and FME Server. https://knowledge.safe.com/questions/57704/is-fme-server-compatible-with-arcgis-desktop-and-a.html

**EDIT** removed any references to Custom Transformer as I misread the original question

 

View original
Did this help you find an answer to your question?

9 replies

david_r
Evangelist
  • January 9, 2018

Based on the path names, it seems you're using a 32-bit version of ArcGIS. If you're using a 64-bit version of FME Server, you'll have to install and configure the 64-bit version of ArcGIS (64-bit Geoprocessing, Pro or Server) as well.

See here for more details: https://knowledge.safe.com/articles/1517/notes-on-fme-and-esri-versions-and-compatibility.html


chris_rmw
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • January 9, 2018

I already have 64-bit background geoprocessing installed.


lars_de_vries
Forum|alt.badge.img+10

I thinking, but I'm not sure, that it also nerds to access the reprojection engine of Esri from the server. Therefor it is also necessary to have ArcGIS installed in the server.


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • January 9, 2018

Hi @chris_rmw,

 

 

If ArcGIS Server is installed then the path to the Custom Transformation should be as follows:

 

 

C:\Users\<FMEServerEngineUser>\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

 

**UPDATE** 

 

 

It seems like the problem in this particular case is related to the User Account which is running the FME Server Engines. Because ArcGIS is trying to look for a User specific location (%AppData%) then we need to make sure the user running FME Server Engines matches the AppData location. If you don't want to change the User for your FME engines (see here on method) then try creating the file in this location: 

 

C:\Windows\System32\config\systemprofile\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

The above location should work if the FME Server Engines are running as Local System which is the default when FME Server is installed

** End Update**

 

I suggest that you try a few debugging steps to see if you can narrow down the cause. To me there could be a few things which may be causing you problems, either licensing, or the grid shift file. 

 

Firstly I would try and rule out ESRI licensing. If you can create a simple workspace which uses a simple ESRI reprojection, or simply try and write something to an ESRI File Geodatabase this should either rule out the licensing OR confirm it as the culprit. 

 

If you can check out an ESRI license and then it might related to the grid file in some way.

 

 

Also I feel compelled to point you towards this Q/A with regards to ESRI Licensing and FME Server. https://knowledge.safe.com/questions/57704/is-fme-server-compatible-with-arcgis-desktop-and-a.html

**EDIT** removed any references to Custom Transformer as I misread the original question

 


chris_rmw
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • January 9, 2018
fmelizard wrote:

Hi @chris_rmw,

 

 

If ArcGIS Server is installed then the path to the Custom Transformation should be as follows:

 

 

C:\Users\<FMEServerEngineUser>\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

 

**UPDATE** 

 

 

It seems like the problem in this particular case is related to the User Account which is running the FME Server Engines. Because ArcGIS is trying to look for a User specific location (%AppData%) then we need to make sure the user running FME Server Engines matches the AppData location. If you don't want to change the User for your FME engines (see here on method) then try creating the file in this location: 

 

C:\Windows\System32\config\systemprofile\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

The above location should work if the FME Server Engines are running as Local System which is the default when FME Server is installed

** End Update**

 

I suggest that you try a few debugging steps to see if you can narrow down the cause. To me there could be a few things which may be causing you problems, either licensing, or the grid shift file. 

 

Firstly I would try and rule out ESRI licensing. If you can create a simple workspace which uses a simple ESRI reprojection, or simply try and write something to an ESRI File Geodatabase this should either rule out the licensing OR confirm it as the culprit. 

 

If you can check out an ESRI license and then it might related to the grid file in some way.

 

 

Also I feel compelled to point you towards this Q/A with regards to ESRI Licensing and FME Server. https://knowledge.safe.com/questions/57704/is-fme-server-compatible-with-arcgis-desktop-and-a.html

**EDIT** removed any references to Custom Transformer as I misread the original question

 

We have both ArcGIS Desktop and Server installed (all version 10.4.1).

 

 

I have other change detection jobs uploaded on FME Server which read data in our Production SDE database, use the UpdateDetector transformer to find changes and write directly into any of our other SDE Databases.  So I don't think there is a ESRI licensing issue.

 

 


chris_rmw
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • January 9, 2018
fmelizard wrote:

Hi @chris_rmw,

 

 

If ArcGIS Server is installed then the path to the Custom Transformation should be as follows:

 

 

C:\Users\<FMEServerEngineUser>\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

 

**UPDATE** 

 

 

It seems like the problem in this particular case is related to the User Account which is running the FME Server Engines. Because ArcGIS is trying to look for a User specific location (%AppData%) then we need to make sure the user running FME Server Engines matches the AppData location. If you don't want to change the User for your FME engines (see here on method) then try creating the file in this location: 

 

C:\Windows\System32\config\systemprofile\AppData\Roaming\Esri\Server10.x\ArcToolbox\CustomTransformations

The above location should work if the FME Server Engines are running as Local System which is the default when FME Server is installed

** End Update**

 

I suggest that you try a few debugging steps to see if you can narrow down the cause. To me there could be a few things which may be causing you problems, either licensing, or the grid shift file. 

 

Firstly I would try and rule out ESRI licensing. If you can create a simple workspace which uses a simple ESRI reprojection, or simply try and write something to an ESRI File Geodatabase this should either rule out the licensing OR confirm it as the culprit. 

 

If you can check out an ESRI license and then it might related to the grid file in some way.

 

 

Also I feel compelled to point you towards this Q/A with regards to ESRI Licensing and FME Server. https://knowledge.safe.com/questions/57704/is-fme-server-compatible-with-arcgis-desktop-and-a.html

**EDIT** removed any references to Custom Transformer as I misread the original question

 

Hi Matt,

 

I can supply some sample data and the custom transformation.

 

What is the best way I get it to you?

 

My email is crumig@regionofwaterloo.ca

 

 


farfar
Contributor
Forum|alt.badge.img+11
  • Contributor
  • January 9, 2018

I agree with david.

You uninstall ArcGis Desktop (32-bit) and install ArcGis Server (64-bits).

ArcGIS Desktop is not for use in “server environments”


nochoski
Participant
  • Participant
  • May 21, 2019

In order to get the Esri Reprojector working in FME Server 2019 with my custom transformation (NAD83 Original to NAD83 CSRS) I had to add my Ontario grid file to the following location: C:\\Program Files\\FMEServer\\Server\\fme\\Reproject\\EsriPEGridData\\ntv2\\canada. FME didn't care that the file was already added to the the ArcGIS grid file directory on the server.


Forum|alt.badge.img
  • December 29, 2019

Hello, please solve your problem, where can I use the file of a custom transformation of ESRI Reprojector?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings