[gdal-dev] arc/info binary grids / mapserver

Frank Warmerdam warmerdam at p...
Thu Dec 13 11:49:28 EST 2001


Ian Turton wrote:

> I'm trying to display the globe 30' dem data on a mapserver. I've converted
> the bil files to arcinfo binary coverages hopeing that this would be
> quicker. However while the bil files display nicely the coverages appear to
> be badly broken. I've attached two pngs of the output for people to look
> at. Alternatively have a look at the server output directly at
> 
> http://www.ccg.leeds.ac.uk/cgi-bin/mapserv?map=/data/feathers_2/mapserver/wms.map&VERSION=1.1.0&request=getmap&style=&SRS=EPSG:4269&format=png&exeptions=inimage&height=300&width=600&bbox=-10,50,5,60&layers=globebin,boundary 
> <http://www.ccg.leeds.ac.uk/cgi-bin/mapserv?map=/data/feathers_2/mapserver/wms.map&VERSION=1.1.0&request=getmap&style=&SRS=EPSG:4269&format=png&exeptions=inimage&height=300&width=600&bbox=-10,50,5,60&layers=globebin,boundary>
> 
> and
> 
> http://www.ccg.leeds.ac.uk/cgi-bin/mapserv?map=/data/feathers_2/mapserver/wms.map&VERSION=1.1.0&request=getmap&style=&SRS=EPSG:4269&format=png&exeptions=inimage&height=300&width=600&bbox=-10,50,5,60&layers=globebil,boundary 
> <http://www.ccg.leeds.ac.uk/cgi-bin/mapserv?map=/data/feathers_2/mapserver/wms.map&VERSION=1.1.0&request=getmap&style=&SRS=EPSG:4269&format=png&exeptions=inimage&height=300&width=600&bbox=-10,50,5,60&layers=globebil,boundary>
> 
> Does any one else have the same problem or know what I'm doing wrong?


Ian,

What did you use to convert to binary grids? I gather the result is one
big grid? Would it be possible to provide me with a smallish sample
grid that has this problem?

Second, if you want fast access you might want to try converting the BIL
files to tiled tiff, and build overviews. You can build overviews for
BIL to, but it can't be directly tiled.

eg.

gdal_translate source_bil global30.tif -co "TILED=YES"
gdaladdo global30.tif 2 4 8 16 32 64

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at p...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent






More information about the Gdal-dev mailing list