Thanks Jukka. I got it to work now.

      I think I found a defect in class Wcs10GetCoverageRequestReader method
parseDomainSubset(). Here is the exception I got:

java.lang.ClassCastException: org.geotools.geometry.jts.ReferencedEnvelope
cannot be cast to org.geotools.geometry.GeneralEnvelope

cheers
Quan

On Mon, Sep 19, 2011 at 11:34 PM, Rahkonen Jukka
<[email protected]>wrote:

> Hi,
>
> The error says that code CRS:EPSG:4326 is not found from authority CRS and
> I am not surprised. What is needed is code 4326 from authority EPSG.  Try
> with BBox=-174.2,51.8,-174.0,52.3,EPSG:4326.
> I suppose that BBOX is defined in WCS like it is in the WFS standard
> Xmin,Ymin,Xmax,Ymax[,crsuri]
>
> -Jukka Rahkonen-
>
>
> quan huynh wrote:
>
> > Hi all,
>
> > I tried to send a simple get coverage KVP to my geoserver as following:
> > http://localhost:8080/geoserver/wcs? service=WCS &version=1.0.0
> &request=GetCoverage
>  &sourceCoverage=nurc:Test_Grid &BBox=-174.2,51.8,-174.0,52.3,crs:EPSG:4326
> &format=ArcGrid
>
> > Following is the exception I got:
>
> <?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport
> version="1.2.0" >   <ServiceException>
>      org.opengis.referencing.NoSuchAuthorityCodeException: No code
> &quot;CRS:EPSG:4326&quot; from authority &quot;Web Map Service CRS&quot;
> found for object of type &quot;CoordinateReferenceSystem&quot;.
> No code &quot;CRS:EPSG:4326&quot; from authority &quot;Web Map Service
> CRS&quot; found for object of type &quot;CoordinateReferenceSystem&quot;.
> For input string: &quot;:EPSG:4326&quot;
> </ServiceException></ServiceExceptionReport>
>
> > Can any one tell me what I am doing wrong with the above request? Any
> suggestion is appreciated.
>
> >Quan
>
>
>
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to