[CITE-Forum] Test case s0022/d711e387_1/d1794e39_1/d1794e142_1

Dirk Stenger cite at lat-lon.de
Thu Apr 14 12:33:12 EDT 2016


Hello Christine,

in your configuration MinX and MaxX are the same.

The correct BBOX is “2,-2,6,2” (not 2,-2,2,6).

When the adjusted BBOX is used, your provided request works:
http://ec2-54-176-33-158.us-west-1.compute.amazonaws.com:8808/mapserver2017/mapagent/mapagent.fcgi?&LaYeRs=CITEWMS%2FLayers%2FBasicPolygons&BbOx=2,-2,6,2&CrS=EPSG%3A4326&WiDtH=200&FoRmAt=image%2Fpng&HeIgHt=200&VeRsIoN=1.3.0&StYlEs=&ReQuEsT=GetMap

Kind regards,
Dirk



Am 14.04.2016 um 06:16 schrieb Christine Bao via CITE-Forum:
>
> Hi Richard,
>
>  
>
> Thanks for explanation. I have fixed my server and check request:
> http://ec2-54-176-33-158.us-west-1.compute.amazonaws.com:8808/mapserver2017/mapagent/mapagent.fcgi?&LaYeRs=CITEWMS%2FLayers%2FBasicPolygons&BbOx=2,-2,2,6&CrS=EPSG%3A4326&WiDtH=200&FoRmAt=image%2Fpng&HeIgHt=200&VeRsIoN=1.3.0&StYlEs=&ReQuEsT=GetMap
>
>
>
> Now the exception is:
>
>  
>
> <ServiceExceptionReport version="1.3.0"
>
>    xmlns="http://www.opengis.net/ogc"
>
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
>    xsi:schemaLocation="http://www.opengis.net/ogc
> http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
>
> <ServiceException code="InvalidBoundingBox">
>
>   The bounding box for the map must be specified using four numerical
> values in the order: minX,minY,maxX,maxY. (Found BBOX=2,-2,6,2)
>
> </ServiceException>
>
> </ServiceExceptionReport>
>
>  
>
> But it still report failure. Is there anything else wrong?
>
>  
>
> Thanks & regards,
>
> Christine
>
>  
>
> *From:*Richard Martell [mailto:rmartell at galdosinc.com]
> *Sent:* Wednesday, April 13, 2016 6:09 AM
> *To:* Christine Bao; cite-forum at lists.opengeospatial.org
> *Subject:* RE: Test case s0022/d711e387_1/d1794e39_1/d1794e142_1
>
>  
>
> Christine,
>
>  
>
> This test fails due to the unexpected exception report. The BBOX
> parameter value in the request URI is obtained from the BoundingBox
> given in the capabilities document for that layer:
>
>  
>
> <BoundingBox CRS="EPSG:4326" minx="2" miny="-2" maxx="2" maxy="6"/>
>
>  
>
> However, this is incorrect given the corresponding
> EX_GeographicBoundingBox element having these bounds :
>
>  
>
> W: -2, E: 2, S: 2, N: 6
>
>  
>
> Using EPSG 4326 (lat,lon axis order), “minx,miny,maxx,maxy” should be
> “2,-2,6,2”.
>
>  
>
> --
>
> Richard
>
>  
>
>  
>
>  
>
> *From:* Christine Bao [mailto:Christine.Bao at autodesk.com]
> *Sent:* Thursday, 07 April, 2016 21:09
> *To:* Richard Martell <rmartell at galdosinc.com>;
> cite-forum at lists.opengeospatial.org
> *Subject:* Test case s0022/d711e387_1/d1794e39_1/d1794e142_1
>
>  
>
> Hi Richard,
>
>  
>
> Would you please check your engine’s test case
> s0022/d711e387_1/d1794e39_1/d1794e142_1? It seems the check condition
> is not correct. The test case is for WMS 1.3.0, Path: Test main:main
> <http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.3.0_ctl_main.html#main:main>/
> Test getmap:main
> <http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.3.0_ctl_getmap.html#getmap:main>/
> Test getmap:crs
> <http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.3.0_ctl_getmap.html#getmap:crs>/
> Test getmap:crs-direct
> <http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.3.0_ctl_getmap.html#getmap:crs-direct>.
> My test result shows:
>
>  
>
> *Log for test s0022/d711e387_1/d1794e39_1/d1794e142_1*
>
> Test getmap:crs-direct type Mandatory default result Passed
> (s0022/d711e387_1/d1794e39_1/d1794e142_1)
>
>  
>
> Assertion: When a GetMap request contains a single layer and a CRS
> where the CRS is contained directly in the layer in the capabilities
> document, then the response is valid.
>
>  
>
> Context:
>
>    Label:
>
>    Value: WMS_Capabilities element
>
>  
>
> Request d1794e1946_1:
>
>    Method: get
>
>    URL:
> http://ec2-54-176-33-158.us-west-1.compute.amazonaws.com:8808/mapserver2017/mapagent/mapagent.fcgi?&LaYeRs=CITEWMS%2FLayers%2FBasicPolygons&BbOx=2,-2,2,6&CrS=EPSG%3A4326&WiDtH=200&FoRmAt=image%2Fpng&HeIgHt=200&VeRsIoN=1.3.0&StYlEs=&ReQuEsT=GetMap
>
>    Response from parser parsers:HTTPParser:
>
>       <response>
>
>    <status code="200" protocol="HTTP/1.1">OK</status>
>
>    <headers>
>
>       <header name="Date">Thu, 07 Apr 2016 10:03:18 GMT</header>
>
>       <header name="Server">Apache/2.4.10 (Win64) PHP/5.5.17
> mod_jk/1.2.40</header>
>
>       <header name="Status">200 OK</header>
>
>       <header name="Content-Length">523</header>
>
>       <header name="Keep-Alive">timeout=15, max=90</header>
>
>       <header name="Connection">Keep-Alive</header>
>
>      <header name="Content-Type">text/xml; charset=utf-8</header>
>
>    </headers>
>
>    <content/>
>
>    <!--Response received in [80] milliseconds--></response>
>
>  
>
> Result: Failed
>
>  
>
>  
>
> The Get request
> http://ec2-54-176-33-158.us-west-1.compute.amazonaws.com:8808/mapserver2017/mapagent/mapagent.fcgi?&LaYeRs=CITEWMS%2FLayers%2FBasicPolygons&BbOx=2,-2,2,6&CrS=EPSG%3A4326&WiDtH=200&FoRmAt=image%2Fpng&HeIgHt=200&VeRsIoN=1.3.0&StYlEs=&ReQuEsT=GetMap
> returns an exception:
>
>  
>
> <ServiceExceptionReport version="1.3.0"
> xsi:schemaLocation="http://www.opengis.net/ogc
> http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd
> <http://www.opengis.net/ogc%20http:/schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd>"><ServiceException
> code="InvalidBoundingBox">
>
>   The bounding box for the map must be specified using four numerical
> values in the order: minX,minY,maxX,maxY. (Found BBOX=2,-2,2,6)
>
> </ServiceException></ServiceExceptionReport>
>
>  
>
> However your check condition requires it should return an image, see
> http://cite.opengeospatial.org/teamengine/listings/srv_local_teamengine-prod_TE_BASE_scripts_wms_1.3.0_ctl_getmap.html#getmap:crs-direct
>
>
>  
>
>                <xsl:if test="functions:mime-match($response/response/headers/header[functions:to-lowercase(@name) = 'content-type'], $image-format) = 'false'">
>                   <ctl:fail/>
>                </xsl:if>
>
>  
>
> It may relate to another issue, attached the email.
>
>  
>
> Thanks & regards,
>
> Christine
>
>  
>
>
>
> _______________________________________________
> CITE-Forum mailing list
> CITE-Forum at lists.opengeospatial.org
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20160414/adf79539/attachment-0001.html>


More information about the CITE-Forum mailing list