GDS and Mapserver

Daniel Holloway d.holloway at NODE1.OPENDAP.ORG
Wed Dec 7 14:10:15 EST 2005


On Dec 6, 2005, at 6:27 AM, Nilsson Bengt wrote:

> Hi,
>
> I'm tryimg to use mapserver 4.6.1 for displaying GRIB data. The
> GRIB data
> should be accessed from a GDS server, version 1.3.
>
> Outside mapserver, accesing the dataset works OK but when it comes to
> mapserver it does not. The reason for this is that mapserver starts
> off
> with a query of the version of the DODS sever, ie ....dataser.ver.
> That
> request fails because there is no '.ver' info in GDS.
>
> Comments?
>
> Regards Bengt

Bengt,

     The code in MapServer which is performing the access is GDAL,
in particular that library has a specific format driver for DODS access.
The most expedient approach would be to remove the logic in the
GDAL .../frmts/dods/  source code so that it does not require that
the version response be present for any particular server.

      The shortest path to resolving your problem is for you to remove
the logic in the GDAL dods format driver and to rebuild the various
code pieces that make up the MapServer implementation you want
to use.  That would entail being able to build the OPeNDAP DAP
libraries (v3.4 and not v3.5+), build libGDAL with that DAP library,
and finally build MapServer 4.6.1 from source using those libraries.

      Modifying the GDAL dods format driver will be straightforward,
simply changing some of the underlying logic that it uses when
connecting to a DAP server, like GDS.   Building all the pieces
from source is a bit more involved but certainly not insurmountable
if you're familiar with the process.    I can review the format driver
in GDAL and feed the changes back into the GDAL distribution but
a new, public version of both libGDAL and MapServer with those
changes won't happen immediately.

      Dan Holloway / OPeNDAP



More information about the gradsusr mailing list