[mapserver-users] schema .dtd URL return by a GetCapabilitiesrequest

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Tue Oct 14 13:08:16 EDT 2008


You can use MAP.WEB.METADATA.ows_schemas_location to point to a base URL.  See http://mapserver.gis.umn.edu/docs/howto/wms_server/#web-object-metadata for more details.

So, if you were to setup your own local schema repository, you would:

- download http://schemas.opengis.net/SCHEMAS_OPENGIS_NET.tgz
- unzip to a web accessible directory (say, in /ogc_schemas/)
- set MAP.WEB.METADATA.ows_schemas_location to http://localhost/ogc_schemas

..Tom
 


________________________________

	From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Martin Ouellet
	Sent: 14 October, 2008 12:59 PM
	To: mapserver-users at lists.osgeo.org
	Subject: [mapserver-users] schema .dtd URL return by a GetCapabilitiesrequest
	
	
	When I send a GetCapabilities request to mapserver, I receive à XML response with this link at the top of the file: 
	
	
	"http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
	
	Within the intranet, some client application does not have internet access so it failed/crash...

	Is it possible to specify a local URL for the .dtd return by the GetCapabilities request unstead of this URL?

	thank you in advance!

	MartinO

	
	

	
	

	


More information about the mapserver-users mailing list