Open Zia- opened 1 week ago
Hi @Zia-, I was able to replicate the described behavior using your configuration. However, it is expected to not work due to missing configurations files as well as a wrong request URL.
Missing configuration files:
WMS
web services > services > WMS
, to match your naming pattern called utah-wms.xml
:
<wms:deegreeWMS xmlns:wms="http://www.deegree.org/services/wms" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dgws="http://www.deegree.org/webservices" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.deegree.org/services/wms https://schemas.deegree.org/core/3.5/services/wms/wms_configuration.xsd">
</wms:deegreeWMS>
* Theme
* In the GUI under `map layers > themes > standard`, to match your naming pattern called `utah-theme.xml`:
<?xml version="1.0"?> <Themes xmlns="http://www.deegree.org/themes/standard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://www.deegree.org/metadata/description" xmlns:s="http://www.deegree.org/metadata/spatial" xsi:schemaLocation="http://www.deegree.org/themes/standard https://schemas.deegree.org/core/3.5/themes/themes.xsd">
Adding these configuration files to your workspace _default_ will make the layer available, here shown in QGIS:
![image](https://github.com/user-attachments/assets/7686e8e1-0eb6-4f2e-84a5-ceb1818ba40d)
The configuration I created is pretty minimal, so feel free to enhance it!
Lastly, the request generated based on our demo environment results in a HTTP 404 error due to the use of a reverse proxy. Here is your request with the needed changes to work based on your configuration files:
* http://localhost:8080/deegree-webservices/services/utah-wms?LAYERS=orthophoto&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A26912&BBOX=441174.0000000000000000,4448455.0000000000000000,447810.0000000000000000,4456039.0000000000000000&WIDTH=999&HEIGHT=831
or with WMS 1.3.0:
* http://localhost:8080/deegree-webservices/services/utah-wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=40.18441766000000115%2C-111.6917084100000039%2C40.25318049999999914%2C-111.6187039132852163&CRS=EPSG%3A4326&WIDTH=801&HEIGHT=754&LAYERS=orthophoto&STYLES=&FORMAT=image%2Fpng&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi%3A96&TRANSPARENT=TRUE
I hope the information provided helps you get your deegree service up and running! For a deeper understanding, I recommend reviewing the documentation at https://download.deegree.org/documentation/3.5.8/html/#anchor-configuration-wms.
Hello there,
I'm pretty new to deegree3 after spending years with Geoserver; and pretty much in exploration phase. Below is my coverage xml (name is utah-cov) inside default workspace:
And this one is for layer xml (name is utah-layer):
following deegree's docs https://download.deegree.org/documentation/3.5.8/html/#_raster
When I try to hit the following url:
http://localhost:8080/default/services?LAYERS=utah-layer&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A26912&BBOX=441174.0000000000000000,4448455.0000000000000000,447810.0000000000000000,4456039.0000000000000000&WIDTH=999&HEIGHT=831
I get:
Above url is an inspiration from
https://demo.deegree.org/utah-workspace/services?LAYERS=orthophoto&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A900913&BBOX=-12960414.152967,3755900.069157,-11874396.855243,5788513.5250335&WIDTH=444&HEIGHT=831
Not sure what I'm missing here.