Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ows_schemas_location not getting honored by all services #4624
Adding ows_schemas_location seems to have solved the the wms schema requests, but we are still getting requests going to:
rather than to the host specified in ows_schemas_location. So this might be a bug or oversight related to the sld code.
Next we tried adding:
Based on this link:
But this seems to be ignored also as sld was still advertised in the getcapabilities document.
I looked at the source code and can not find
$ grep -li ows_sld_enabled *
So we tried sld_enabled instead of ows_sld_enabled, but no joy with this one either.
This looks like it might be another bug, or my error in understanding the docs and source code.
Below is the getcapabilities document:
I added the following into my .map file
You can see in the capabilities xml file, it did accept my schema location, however, it is still giving the default location for " http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd "
We really need a location that is not on the internet.