Hello,
Looking at the content of the GetCapabilities response for WMS, I saw
that Request >> OnlineResource URL follows a different pattern than other
protocols as WFS and WPS.
For example, compare:
<Get><OnlineResource xlink:type="simple" xlink:href="
> http://host/geoserver/workspace/*ows?SERVICE=WMS&*"/></Get>
<ows:Get xlink:href="http://host/geoserver/workspace/*wfs*"/>
<ows:Get xlink:href="http://host/geoserver/workspace/*wps*"/>
The last 2 seem more logical / look nicer to me.
The implementation for WMS is to be found on
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/capabilities/Capabilities_1_3_0_Transformer.java#L477
.
To be compared to, say, WFS:
https://github.com/geoserver/geoserver/blob/master/src/wfs/src/main/java/org/geoserver/wfs/CapabilitiesTransformer.java#L610
What do you think? Shouldn't all protocols follow the same line in term of
"canonical" URLs?
Or maybe there's a particular (compatibility) reason why WMS is treated
differently.
Regards,
--
*Damiano Albani*
Geodan
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel