Skip to main content
Solved

Reading a shapefile in FME Server

  • October 30, 2014
  • 2 replies
  • 67 views

Forum|alt.badge.img
I have a fairly simple job that reads a directory on our network and finds a specific shapefile. there are different shapefiles in this directory (but I only want one of them) and the data is not ours, it's produced by another group. So we cannot dictate to them to place the data elsewhere. My FME Desktop job goes to that directory and reads the shapefile they produce. The job works perfectly when I run it from Workbench.

 

 

Here's the issue. I want to publish a job to FME Server and have it run nightly. The only issue I have is I don't want to have to upload the shapefile every day. It defeats the purpose, because I could just manually run the FME job in Workbench daily to do my update. 

 

 

When I publish the job I just don't know how to tell it to go to a certain path on our network and find the shapefile. To make matters worse there are spaces in the shapefile name and there are some spaces in the shapefile path.

 

 

Here's the path:

 

 

K:\\Geology\\Discovery Projects\\Utica_NAD 83 Nadcon\\Global\\GAV CLASSIFICATION\\2000-5-Deviated well - Wellbore path.shp

 

 

When the job is published to FME Server all it has in the Source Esri Shape File(s): location under the Specify Location tab is this (the quotes are there too): "2000-5-Deviated well - Wellbore path.shp"

 

 

I've tried putting in the complete path, I've tried quoting the ones with spaces in the path. Nothing seems to work. Does anyone know what I can do so I don't have to upload the Shapefile every day?

 

 

 

 

 

Best answer by fmelizard

Hi,

 

 

Have you tried the UNC path annotation? it usually works for me.
View original
Did this help you find an answer to your question?
<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • October 30, 2014
Hi,

 

 

Have you tried the UNC path annotation? it usually works for me.

david_r
Celebrity
  • October 31, 2014
Hi,

 

 

be aware that Windows services (including FME Server) cannot access network resources if they're running as "Local system account". (This also goes for UNC paths.)

 

 

If you have not done so already, you will have to configure FME Server to run as a domain user with appropriate access to your data directories:

 

 

http://docs.safe.com/fme/html/FME_Server_Documentation/Default.htm#AdminGuide/Running_FME_Server_Engines_as_Different%20User.htm

 

 

David

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