[MapServer-users] MapServer WEB global footer header are shown as result even if no feature was effected

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Mon Nov 6 09:39:17 PST 2023


Hello Steve,

thanks a lot for your answer.

8.2 - sounds good

Astrid

Am 2023-11-06 17:13, schrieb Steve Lime:
> Hi Astrid: I noticed this too but in a slightly different way. It's a
> bug, see the discussion here:
> 
>   https://github.com/MapServer/MapServer/issues/6907
> 
> Basically the EMPTY keyword is being ignored. This will be fixed in
> 8.2...
> 
> --Steve
> 
> On Mon, Nov 6, 2023 at 9:39 AM Astrid Emde (WhereGroup) via
> MapServer-users <mapserver-users at lists.osgeo.org> wrote:
> 
>> Hello all,
>> 
>> I have noticed a different behaviour in MapServer 8 in comparision
>> to
>> MapServer 7.
>> 
>> In the Web-Section I use a global header and footer and I created an
>> 
>> empty.html page. The definition in the Web-Section looks like:
>> 
>> WEB
>> HEADER './templates/header.html'
>> FOOTER './templates/footer.html'
>> EMPTY 'http://myserver/ms_empty.html'
>> 
>> Before Version 8
>> - MapServer would show the EMPTY-html if no result comes back from a
>> 
>> Featureinfo-Request
>> 
>> But with MapServer 8
>> - The Header & Footer are given back - with no results in the middle
>> 
>> When I define everything in the LAYER the behaviour is a bit better
>> - I
>> get back an empty result but still not the content of the EMPTY-File
>> HEADER "./templates/header.html"
>> TEMPLATE "./templates/plz.html"
>> FOOTER "./templates/footer.html"
>> 
>> My question: How can I get back the old behaviour and only get back
>> the
>> content of the Empty-file?
>> 
>> Did the definition change?
>> Or is it a bug? Does someone else noticed the behaviour?
>> 
>> I checked the actual issues, but I could not find anything about it
>> 
>> https://github.com/MapServer/MapServer/issues/6907
>> 
>> Documentation see
>> https://mapserver.org/mapfile/web.html
>> 
>> --
>> Best regards
>> 
>> Astrid Emde
>> GIS-Consultant
>> 
>> **********************************
>> Where2B Konferenz 2023
>> 14. Dezember 2023 in Bonn und Online
>> https://where2b-conference.com/
>> **********************************
>> 
>> Astrid Emde
>> WhereGroup GmbH
>> Eifelstraße 7
>> 53119 Bonn
>> Germany
>> 
>> Tel: +49(0)228 90 90 38 - 22
>> Fax: +49(0)228 90 90 38 - 11
>> 
>> astrid.emde at wheregroup.com
>> www.wheregroup.com [1]
>> 
>> Meinen PGP Public-Key können Sie unter pgp.mit.edu [2]
>> herunterladen:
>> 
>> 
> https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
>> Signierte und/oder verschlüsselte Nachrichten sind sehr
>> willkommen
>> 
>> Folgen Sie der WhereGroup auf twitter:
>> http://twitter.com/WhereGroup_com
>> 
>> Geschäftsführer:
>> Olaf Knopp, Peter Stamm
>> Amtsgericht Bonn, HRB 9885
>> 
> -------------------------------_______________________________________________
>> MapServer-users mailing list
>> MapServer-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 
> Links:
> ------
> [1] http://www.wheregroup.com
> [2] http://pgp.mit.edu

-- 
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

**********************************
Where2B Konferenz 2023
14. Dezember 2023 in Bonn und Online
https://where2b-conference.com/
**********************************

   Astrid Emde
   WhereGroup GmbH
   Eifelstraße 7
   53119 Bonn
   Germany

   Tel: +49(0)228 90 90 38 - 22
   Fax: +49(0)228 90 90 38 - 11

   astrid.emde at wheregroup.com
   www.wheregroup.com

   Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
   
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

   Folgen Sie der WhereGroup auf twitter:
   http://twitter.com/WhereGroup_com

   Geschäftsführer:
   Olaf Knopp, Peter Stamm
   Amtsgericht Bonn, HRB 9885
-------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x1C287CCB.asc
Type: application/pgp-keys
Size: 1574 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20231106/c425c5dd/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20231106/c425c5dd/attachment.sig>


More information about the MapServer-users mailing list