Skip to main content
Solved

FeatureReader Timeout with the parameter Height and With over 4000

  • December 27, 2018
  • 6 replies
  • 35 views

I want to create a high-resolution image from the WMS. If I set the parameters Height and With to 4000 it works well. With the value 5000 I get a time out.

 

"HTTP/FTP transfer error: 'Timeout was reached' "

 

In the WFS-FeatureReader is a parameter, where I can define the timeout. I can't find one in WMS-Reader.

 

I am looking forward to here from you.

 

Heike

Best answer by debbiatsafe

Unfortunately, there does not appear to be a timeout parameter for the WMS reader.

If you know the exact URL of the WMS, you could try to use the ImageFetcher transformer, which does allow the connection and transfer timeout length to be specified. You will need to georeference the output raster which should be fairly simple as you have the projection and bounds info in the WMS url.

Alternatively, it may be possible to tile the area and send separate requests to the WMS reader to reduce the risk of a timeout occurring. You can then use the RasterMosaicker to mosaic the tiled rasters together.

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

6 replies

debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • December 27, 2018

Hi @heikeb

If you have already added the reader to the workspace, the timeout parameter for the WFS reader can be accessed within the Navigator pane.

Alternatively, the parameter can be accessed by selecting the Parameters... button when creating the reader.

I hope this helps.


  • Author
  • December 27, 2018

I need the timeout-parameter for the WMS- Featurereader


debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • December 27, 2018

Unfortunately, there does not appear to be a timeout parameter for the WMS reader.

If you know the exact URL of the WMS, you could try to use the ImageFetcher transformer, which does allow the connection and transfer timeout length to be specified. You will need to georeference the output raster which should be fairly simple as you have the projection and bounds info in the WMS url.

Alternatively, it may be possible to tile the area and send separate requests to the WMS reader to reduce the risk of a timeout occurring. You can then use the RasterMosaicker to mosaic the tiled rasters together.


debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • December 27, 2018
heikeb wrote:

I need the timeout-parameter for the WMS- Featurereader

Unfortunately, there does not appear to be a timeout parameter for the WMS reader.

If you know the exact URL of the WMS, you could try to use the ImageFetcher transformer, which does allow the connection and transfer timeout length to be specified. You will need to georeference the output raster which should be fairly simple as you have the projection and bounds info in the WMS url.

Alternatively, it may be possible to tile the area and send separate requests to the WMS reader to reduce the risk of a timeout occurring. You can then use the RasterMosaicker to mosaic the tiled rasters together.


Forum|alt.badge.img+1
  • April 29, 2019
debbiatsafe wrote:

Hi @heikeb

If you have already added the reader to the workspace, the timeout parameter for the WFS reader can be accessed within the Navigator pane.

Alternatively, the parameter can be accessed by selecting the Parameters... button when creating the reader.

I hope this helps.

Would it be possible to get timeout parameter also for WMS, not just WFS?


xiaomengatsafe
Safer
Forum|alt.badge.img+3
kino wrote:

Would it be possible to get timeout parameter also for WMS, not just WFS?

Hi @kino, Does the workaround suggested by DebbiAtSafe work for you? We currently don't have a timeout parameter in the WMS reader. But if you'd like to see it in future FME, I'd encourage you to post it as a new Idea, and let us know how would this parameter help you in your workflow. Thank you!


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