[mapserver-users] Mapfile EMPTY Statement

Steve Lime Steve.Lime at dnr.state.mn.us
Fri Mar 7 06:00:10 PST 2008


Sorry Len but EMPTY and ERROR are exception handling pieces of the
CGI and not the WxS services. They have their own exception handling
that follows the various OGC specs.

Steve

>>> "Len Kne" <knex0001 at umn.edu> 03/06/08 4:58 PM >>>
Greetings
 
I am trying to use the EMPTY command in WEB section of a mapfile with no
luck.  Running the GetFeatureInfo below, the mapfile HEADER and FOOTER are
read and added to the page, but in this case, it should go to the EMPTY url
as there are no features.  If this is executed with INFO_FORMAT=text/plain,
it shows no results.  Does the EMPTY statement not work with GetFeatureInfo?
 
Thanks
 
Len
 
http://maps.umn.edu/cgi-bin/mapserv?map=/var/www/data/wms/digitize_miim.map
<http://maps.umn.edu/cgi-bin/mapserv?map=/var/www/data/wms/digitize_miim.map
&VERSION=1.1.1&REQUEST=GetFeatureInfo&SERVICE=WMS&SRS=EPSG:26915&BBOX=461091
.8064952637,4975030,482458.1935047363,4991990&WIDTH=931&HEIGHT=739&LAYERS=My
Points,MyLines,MyPolygon&STYLES=,,&FORMAT=image/png&INFO_FORMAT=text/html&EX
CEPTIONS=application/vnd.ogc.se_xml&FEATURE_COUNT=100&QUERY_LAYERS=MyPoints,
MyLines,MyPolygon&X=493&Y=103&mb_user_name=root&digitize_schema=ecoed>
&VERSION=1.1.1&REQUEST=GetFeatureInfo&SERVICE=WMS&SRS=EPSG:26915&BBOX=461091
.8064952637,4975030,482458.1935047363,4991990&WIDTH=931&HEIGHT=739&LAYERS=My
Points,MyLines,MyPolygon&STYLES=,,&FORMAT=image/png&INFO_FORMAT=text/html&EX
CEPTIONS=application/vnd.ogc.se_xml&FEATURE_COUNT=100&QUERY_LAYERS=MyPoints,
MyLines,MyPolygon&X=493&Y=103&mb_user_name=root&digitize_schema=ecoed
 




More information about the MapServer-users mailing list