Skip to main content
Solved

ESRI SHP ZIP URL not working in FeatureReader

  • December 19, 2019
  • 9 replies
  • 13 views

margaret_wei
Forum|alt.badge.img

I was trying to use FeatureReader to read an online zipped shapefile and it failed with the message

Shape Reader: Failed to open dataset 'https://ecos.fws.gov/docs/species/shapefiles/usfws_I02T_I01_Cavaticovelia_aaa_current_range.zip' which is neither an existing file nor directory

Here is one of the link I use.

https://ecos.fws.gov/docs/species/shapefiles/usfws_I02T_I01_Cavaticovelia_aaa_current_range.zip

Below are the parameters I set for the FeatureReader.

The regular Reader worked just fine for the link

 

Can anyone help me troubleshoot this issue?

Thank you.

Best answer by erik_jan

The web service seems very inconsistent.

I was able to retrieve the data, but the next two tries failed with the same message as you got.

Seems to be a (timeout?) issue with the web service.

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

9 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • December 19, 2019

Hi @margaret_wei,

I tried using the URL in a FeartureReader in FME 2019.2 and did get the results:

Resulting in:

Could it be the attribute for the URL is changing the URL.

Have you tried using the URL instead of the attribute?

Hope this helps.


mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • December 19, 2019

Hmmm. I too get that problem. The message in my log file is:

2019-12-19 11:43:22| 0.9| 0.0|ERROR |Shapefile reader: Failed to open file 'https://ecos.fws.gov/docs/species/shapefiles/usfws_I02T_I01_Cavaticovelia_aaa_current_range.zip' for reading. Please ensure that the file exists and you have sufficient privileges to read it

I assume that's what you get too?

I'll check into the problem.


mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • December 19, 2019
erik_jan wrote:

Hi @margaret_wei,

I tried using the URL in a FeartureReader in FME 2019.2 and did get the results:

Resulting in:

Could it be the attribute for the URL is changing the URL.

Have you tried using the URL instead of the attribute?

Hope this helps.

Interesting. And yet it fails for me too. I wonder why that is?! It's not the attribute since I was using the URL directly. It's very odd.


margaret_wei
Forum|alt.badge.img

@erik_jan Thank you.

I tried

1) to use the same transformer as yours and used the url itself instead of attribute

Since I still failed, I installed 2019.02 as I was using 2019.01 before.

2) I tried the same with 2019.02It made progress as I can see the coordinate system from the file this time.

But I ran into the error after a while.

Failed to obtain any schemas from reader 'SHAPEFILE' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information

 

Did it take you long to load that file?

 

 


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • December 19, 2019
mark2atsafe wrote:

Interesting. And yet it fails for me too. I wonder why that is?! It's not the attribute since I was using the URL directly. It's very odd.

Could it be a version issue?

I am using build 19813 - win 64.


margaret_wei
Forum|alt.badge.img
mark2atsafe wrote:

Interesting. And yet it fails for me too. I wonder why that is?! It's not the attribute since I was using the URL directly. It's very odd.

I was using 2019.01 Mac.

Then I tried Build 19813, Mac 64.


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • December 19, 2019

The web service seems very inconsistent.

I was able to retrieve the data, but the next two tries failed with the same message as you got.

Seems to be a (timeout?) issue with the web service.


margaret_wei
Forum|alt.badge.img
erik_jan wrote:

The web service seems very inconsistent.

I was able to retrieve the data, but the next two tries failed with the same message as you got.

Seems to be a (timeout?) issue with the web service.

Yes! It's working now!


mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • December 19, 2019
erik_jan wrote:

The web service seems very inconsistent.

I was able to retrieve the data, but the next two tries failed with the same message as you got.

Seems to be a (timeout?) issue with the web service.

That's what I was thinking too. With Log Debug on I was getting:

HTTP info: Operation too slow. Less than 1 bytes/sec transferred the last 90 seconds
HTTP info: Closing connection 0
HTTP info: schannel: shutting down SSL/TLS connection with ecos.fws.gov port 443
HTTP/FTP transfer error'Timeout was reached'

and yet it was working occasionally. Glad that it wasn't just me!


Reply


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