[mapserver-users] Mapfile EMPTY Statement

Daniel Morissette dmorissette at mapgears.com
Fri Mar 7 09:01:54 EST 2008


Len Kne wrote:
> 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?
>  

Len,

No, the EMPTY statement does not work with GetFeatureInfo. There was 
already a ticket about this:
   http://trac.osgeo.org/mapserver/ticket/546

I have implemented a fix for this and committed to SVN trunk a few 
minutes ago. You'll find all the details in the ticket.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list