Opened 7 years ago

Closed 7 years ago

#1522 closed defect (fixed)

Petascope_Error when WCST_import ingredient file defined crs_resolver with prepending space

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.4
Component: wcst_import Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

Error in petascope with the space between the compound CRSs

Error Code: InvalidMetadata
Error Text: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ows:ExceptionReport version="2.0.0"
    xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd"
    xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
    <ows:Exception exceptionCode="InvalidMetadata">
        <ows:ExceptionText> http://localhost:8080/def/crs-compound?1= http://localhost:8080/def/crs/OGC/0/AnsiDate&amp;2= http://localhost:8080/def/crs/EPSG/0/4326 definition seems not valid.</ows:ExceptionText>
    </ows:Exception>

</ows:ExceptionReport>

It should have no space like this

http://ows.rasdaman.org/def/crs-compound?1=http://ows.rasdaman.org/def/crs/OGC/0/AnsiDate&2=http://ows.rasdaman.org/def/crs/EPSG/0/4326

The problem seems due to in ingredient file it has the prepending space (Dimitar).

"crs_resolver": " http://ows.rasdaman.org/def/",

Change History (1)

comment:1 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.