Hi Mr Arnold, The Grid Coverage Exchange API was a standard we tried following that does not appear to have gone anywhere. You will have a much better time making use of the WebMapServer code directly.
The only thing WMSGridCoverageService does is try to make available as metadata all the information from the WMSGetCapabilities document, it served as good sanity check to see if the GCE could provide information about a a dynamic service. For more informaiton please contact Richard Gould. > Hi everybody! > > I'm trying to get a GridCoverage from an Web Map Server. I have an > existing WebMapServer object. > Because there is no way (I don't know any way) to get the URL of this > server from the WebMapServer object, I instantiated the WMSReader > directly with my WebMapServer instance. > I looked for the example Code of getting a GridCoverage from wms in > the test case of WMSGridCoverageExchange. I've copied the code but if > I execute the two lines: > > WMSFormat format = (WMSFormat) reader.getFormat(); > ParameterValueGroup valueGroup = format.getReadParameters(); > > I got an ArrayIndexOut of bound exception. > Is that a bug or have I done anything wrong? I assume this is a bug, but I would expect you needed to provide a URL before the read parameters could be known. > By the way: Why is the a constructor WMSGridCoverageExchange(Object > server)? I only know from the source that you can give a String, a URL > or a WMSCapabilitiy as a param. I think it is a better way to write a > constructor for each of the three seperatly. > > > Greetings, > Benedikt > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
