[MapServer-dev] Possibly undocumented 8.0 change

Richard Greenwood richard.greenwood at gmail.com
Mon Aug 29 00:34:11 PDT 2022


An empty string for the NAME works without error. I set the MS_DEBUGLEVEL
to 5 and nothing is written to the error file when this error occurs.

On Mon, Aug 29, 2022 at 12:44 AM Rahkonen Jukka <
jukka.rahkonen at maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> What happens if you use an empty NAME?
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* MapServer-dev <mapserver-dev-bounces at lists.osgeo.org> *Puolesta
> *Richard Greenwood
> *Lähetetty:* maanantai 29. elokuuta 2022 9.06
> *Vastaanottaja:* Seth G <sethg at geographika.co.uk>
> *Kopio:* MapServer Devs <mapserver-dev at lists.osgeo.org>
> *Aihe:* Re: [MapServer-dev] Possibly undocumented 8.0 change
>
>
>
> Yes, it's with a WMS request. Apache throws a 500 error "End of script
> output before headers". I define a LAYER with a GROUP but no NAME. I don't
> believe METADATA plays into it because I commented out the METADATA block
> and it fails in the same way.
>
>
>
> On Sun, Aug 28, 2022 at 3:07 PM Seth G <sethg at geographika.co.uk> wrote:
>
> Hi Richard,
>
>
>
> Do you have more details - is this when using WMS? Is there an error that
> appears?
>
> For WMS there is a known conflict between GROUP and wms_layer_group in a
> METADATA block, but this sounds like something different.
>
>
>
> Seth
>
>
>
> --
>
> web:https://geographika.net
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgeographika.net%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7VnuiFUk6ZCphnd2sDhzTfQtrISaozw5EjLIEAnNL7k%3D&reserved=0>
>
> twitter: @geographika
>
>
>
>
>
> On Sun, Aug 28, 2022, at 3:53 PM, Richard Greenwood wrote:
>
> I didn't see mention of this in the docs, apologies if I missed it. It
> appears that as of 8.0 a layer must have a NAME. In the past it has been
> possible for a layer not to have a NAME if it had a  GROUP.
>
>
>
> --
>
> Richard W. Greenwood
>
> www.greenwoodmap.com
> <https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.greenwoodmap.com%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1Zlg3QFoyrEXmBM%2FvHLLnZu867Ost%2FecilgbnXClEH8%3D&reserved=0>
>
> _______________________________________________
>
> MapServer-dev mailing list
>
> MapServer-dev at lists.osgeo.org
>
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-dev&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7Bx8e4KYB%2FSJ8dsV2%2F4YaTYStlv2yOrGZ4MnhvVPvx4%3D&reserved=0>
>
>
>
>
>
>
>
>
> --
>
> Richard W. Greenwood
> www.greenwoodmap.com
> <https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.greenwoodmap.com%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Ce5ba2199f1844b9fc12c08da89848752%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637973499545900205%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1Zlg3QFoyrEXmBM%2FvHLLnZu867Ost%2FecilgbnXClEH8%3D&reserved=0>
>


-- 
Richard W. Greenwood
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20220829/ce4b2120/attachment.htm>


More information about the MapServer-dev mailing list