[Mapserver-users] How to change link to WMS-capabilities.dtd

bartvde at xs4all.nl bartvde at xs4all.nl
Mon May 10 07:20:32 EDT 2004


Hi,

this is hard-coded AFAIK so you would need to change mapwms.c and rebuild.

But if you use &version=1.1.1 in your GetCapabilities URL then the
following DTD will be used which is still available online (you probably
need Mapserver 4.1 or higher for this):

http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd

Maybe you would want to file and enhancement bug for this as it is allowed
for a WMS to provide the DTD's in a different location.

Best regards,
Bart

> Hi,
>
> I'm using Mapserver as a WMS and since one week, the link to the
> capabilities_1_1_0.dtd
>
> http://www.digitalearth.gov/wmt/xml/capabilities_1_1_0.dtd
>
> is not available.
>
> Because Mapserver is generating dynamically its capabilities-XML-file with
> this link by default inside, a GetCapabilities-Request produces an error.
>
> How I can tell Mapserver to build in a different or local path in the
> capabilities-file ?
>
> Thanks in advance,
>
> Daniel
>
> *************************************************************************
> Geo-IT GmbH   -   Geoinformatik, IT-Services
> Guggenberg 3, D-82380 Peissenberg
> Tel: 08803-498372, Fax: 08803-498373
> eMail: info at geo-it.com  -  Homepage: http://www.geo-it.com
> *************************************************************************
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>




More information about the mapserver-users mailing list