[Chameleon-dev] [Bug 1423] New: [Chameleon-Widget]Adding new layer
with no record in CatalogSearch generates MapServer error
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Wed Apr 12 14:23:30 EDT 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1423
Summary: [Chameleon-Widget]Adding new layer with no record in
CatalogSearch generates MapServer error
Product: Chameleon
Version: 2.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: nsavard at mapgears.com
I made a research on parc with the CatalogSearch widget. Then I tried to add
the 'TERRN_PIQ_NIQ_0:BNDT/NTDB-250K:NTDB' layer and I got a MapServer error (see
below). If I search that layer on
http://ceomap2.ccrs.nrcan.gc.ca/cslt/wes/stateless-search.html Web site I got
a layer with no record (see below).
The question is should Chameleon trap this kind of error instead of displaying a
broken image?
------------
Returned XML:
<searchResponse DTD_Version="1.1.0">
<searchParameter name="RS">XML</searchParameter>
<searchParameter name="ESN">summary</searchParameter>
<searchParameter name="QUERY_LANGUAGE">OGC_Common</searchParameter>
<searchParameter name="DATABASES">USL</searchParameter>
<searchParameter name="SCHEMA">ISO19119</searchParameter>
-
<searchParameter name="QUERY">
SRS='EPSG:4326'
AND title like '%TERRN_PIQ_NIQ_0:BNDT/NTDB-250K:NTDB%'
AND (Format='gif' OR format='jpeg')
AND ServiceType='Web Mapping Layer'
AND Intersects(LatLongBoundingBox,
Envelope(-160, -50, 50, 10))
</searchParameter>
<searchStatus elementSetName="summary" numberOfRecords="0" success="true"
schema="ISO19119" timestamp="2006-04-12T14:20:20"/>
<searchResults>
</searchResults>
</searchResponse>
------------------------
Warning: [MapServer Error]: msDrawMap(): Failed to draw WMS layer named
'TERRN_PIQ_NIQ_0:BNDT/NTDB-250K:NTDB'. This most likely happened because the
remote WMS server returned an invalid image, and XML exception or another
unexpected result in response to the GetMap request. Also check and make sure
that the layer's connection URL is valid. in
C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php on line 534
Warning: [MapServer Error]: msDrawRaster(): Unrecognized or unsupported image
format in C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php on line 534
Warning: [MapServer Error]: drawEPP(): EPPL7 support is not available. in
C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php on line 534
Warning: Cannot modify header information - headers already sent by (output
started at C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php:534) in
C:\ms4w\apps\chameleon\htdocs\common\wrapper\drawmap.php on line 1485
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list