[Mapserver-users] WMS & Web Object Empty tag

Julien, Heryk hjulien at nrcan.gc.ca
Mon Jan 5 06:53:14 PST 2004


Hi to all,
I'm successfully calling a remote MapServer WMS layers in my mapfile.
However when I query a zone with no features, my "Empty" tag is ignored.
Just to make sure I added the "WEB EMPTY" mapfile object in both the wms
client and service mapfiles. But it didn't work.

Does anyone know if the "WEB EMPTY" mapfile object is ignored when calling a
mapserver WMS service?

If I put aside the wms service and use my mapfile directly, the empty tag
functions correctly.

Anyone can help me?

Héryk
NRCan


-----Message d'origine-----
De : Julien, Heryk [mailto:hjulien at nrcan.gc.ca]
Envoyé : Monday, December 29, 2003 11:30 AM
À : 'mapserver-users at lists.gis.umn.edu'
Objet : [Mapserver-users] WMS & Web Object Empty tag


Hi,

First of all, I'm having trouble with the Web Object Empty tag. When I query
an unmapped region of my mapfile using a wms GetFeatureInfo call my Web
Object EMPTY tag is ignored.
EMPTY
"http://cgcq.rncan.gc.ca/GASL_clf/mapserver/templates/MS_query_noSel.html"
If I use a "Text/html" request format I get a blank page while the
"Text/plain" format returns the following message: "GetFeatureInfo
results:Search returned no results".
I'm presently using the following Web Metadata configuration:
"wms_feature_info_mime_type" "Text/html"

Secondly, when you add a Mapserver generated wms layer in a Mapfile, which
Web Object Empty will be used when no features are selected?. 
Example: The mapfile "B.map" contains a layer calling a Mapserver WMS
service called "A.map". Will mapserver use the Web Object Empty tag in the
mapfile A or B when no features are selected during a query?
Can anyone help me?

==========================================
Héryk
NRCan

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list