[mapserver-users] Mapfile EMPTY Statement

Len Kne knex0001 at umn.edu
Thu Mar 6 14:58:02 PST 2008


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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080306/a3138376/attachment.htm>


More information about the MapServer-users mailing list