Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#2646 closed defect (fixed)

WMS driver fails on skipping rows

Reported by: Markus Neteler Owned by: nowakpl
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: wms
Cc: warmerdam

Description

WMS driver fails on skipping rows which would be needed to run the driver in external applications:

# gdal_wms.xml from http://www.gdal.org/frmt_wms.html
gdal_translate -outsize 20% 20% gdal_wms.xml lsat.tif
Input file size is 2666666, 1333333
0

It this point it "freezes" (strace shows the following):

...
select(8, [6 7], [], [], {0, 100000})   = 0 (Timeout)
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0
poll([{fd=7, events=POLLIN|POLLPRI}], 1, 0) = 0
select(8, [6 7], [], [], {0, 100000})   = 0 (Timeout)
...

Could this be fixed?

Thanks, Markus

Change History (6)

comment:1 by warmerdam, 15 years ago

Cc: warmerdam added
Owner: changed from warmerdam to nowakpl

Adam,

Thoughts?

comment:2 by nowakpl, 15 years ago

Many actually,

1) no default timeout (or a very long one), http://sydney.freeearthfoundation.com/gdalwms/r15671-2646.patch will use 300 seconds + configurable with <Timeout></Timeout>,

2) very large request, at 20% outsize expected output is ~400GB, GDAL: GDALDatasetCopyWholeRaster(): 533333*6 swaths, bInterleave=1, that translates into 652 tiles per RasterIO request, each request has to timeout before RasterIO returns error

3) old docs on http://www.gdal.org/frmt_wms.html, new example config compatible with http://wms.jpl.nasa.gov/tiled.html is on http://sydney.freeearthfoundation.com/gdalwms/frmt_wms.html,

comment:4 by Even Rouault, 15 years ago

Docs updated in r15675 as for #2450

comment:5 by nowakpl, 14 years ago

Resolution: fixed
Status: newclosed

comment:6 by nowakpl, 14 years ago

http://trac.osgeo.org/gdal/changeset/15674

added timeout with 300 second default

Note: See TracTickets for help on using tickets.