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 < [email protected]> wrote: > Hi, > > > > What happens if you use an empty NAME? > > > > -Jukka Rahkonen- > > > > *Lähettäjä:* MapServer-dev <[email protected]> *Puolesta > *Richard Greenwood > *Lähetetty:* maanantai 29. elokuuta 2022 9.06 > *Vastaanottaja:* Seth G <[email protected]> > *Kopio:* MapServer Devs <[email protected]> > *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 <[email protected]> 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 > > [email protected] > > 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
_______________________________________________ MapServer-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-dev
