Hi all,
It seems that in a GetMap request, an exception is thrown only if all the layers being requested don't exist in the catalog, and dont map to a wms path.
This violates cite in that an exception with code "LayerNotDefined" must be thrown if a layer is encountered that does not exist.
I dont know if this is intentional or not. if so let me know, I have patched GetMapKvpReader in the meantime.
-Justin
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Side note. When I went to patch trunk as well I notice that the code is quite different. On 1.5.x there seems to be code that checks all entries in the catalog for its "wms path" to match up. There seems to be no such check on trunk?
-Justin
Justin Deoliveira wrote:
Hi all,
It seems that in a GetMap request, an exception is thrown only if all the layers being requested don't exist in the catalog, and dont map to a wms path.
This violates cite in that an exception with code "LayerNotDefined" must be thrown if a layer is encountered that does not exist.
I dont know if this is intentional or not. if so let me know, I have patched GetMapKvpReader in the meantime.
-Justin
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Side note. When I went to patch trunk as well I notice that the code is quite different. On 1.5.x there seems to be code that checks all entries in the catalog for its "wms path" to match up. There seems to be no such check on trunk?
Forget this one. Jumped to email before I did an svn update :). Apologies.
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Hi Justin,
this is not intentional, so go on with the patch.
On 3/22/07, Justin Deoliveira <jdeolive@anonymised.com > wrote:
Hi all,
It seems that in a GetMap request, an exception is thrown only if all
the layers being requested don’t exist in the catalog, and dont map to a
wms path.
This violates cite in that an exception with code “LayerNotDefined” must
be thrown if a layer is encountered that does not exist.
I dont know if this is intentional or not. if so let me know, I have
patched GetMapKvpReader in the meantime.
-Justin
–
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Eng. Alessio Fabiani
Vice President/CTO GeoSolutions
http://www.geo-solutions.it