Hi Richard,

Is your aim with using GROUP without NAME to hide the layer from 
GetCapabilities so that users cannot see or request that layer separately but 
only as a member of a group? Like "opaque container" in Geoserver 
https://docs.geoserver.org/latest/en/user/data/webadmin/layergroups.html

-Jukka Rahkonen-



Lähettäjä: Seth G <[email protected]>
Lähetetty: maanantai 29. elokuuta 2022 10.45
Vastaanottaja: Richard Greenwood <[email protected]>; Rahkonen Jukka 
<[email protected]>
Kopio: MapServer Devs <[email protected]>
Aihe: Re: [MapServer-dev] Possibly undocumented 8.0 change

Hi Richard,

Could you create an issue for this on GitHub?
It looks like it could relate to the move to C++.
Thanks,

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%7C740cb7d9adbd462bcdb208da899282d6%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637973559593824585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6tzJpnqQQ7EeDVed5QNDNUILWh2XgP8uVeJvZFUOk%2FI%3D&reserved=0>
twitter: @geographika


On Mon, Aug 29, 2022, at 9:34 AM, Richard Greenwood wrote:
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]<mailto:[email protected]>>
 wrote:

Hi,



What happens if you use an empty NAME?



-Jukka Rahkonen-


Lähettäjä: MapServer-dev 
<[email protected]<mailto:[email protected]>>
 Puolesta Richard Greenwood
Lähetetty: maanantai 29. elokuuta 2022 9.06
Vastaanottaja: Seth G <[email protected]<mailto:[email protected]>>
Kopio: MapServer Devs 
<[email protected]<mailto:[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]<mailto:[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%7C740cb7d9adbd462bcdb208da899282d6%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637973559593824585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6tzJpnqQQ7EeDVed5QNDNUILWh2XgP8uVeJvZFUOk%2FI%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%7C740cb7d9adbd462bcdb208da899282d6%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637973559593824585%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kpVMwcC6nx6SjlMQD5BEZ8%2F3g6duQ304WtLiEE%2Fo0O0%3D&reserved=0>

_______________________________________________

MapServer-dev mailing list

[email protected]<mailto:[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%7C740cb7d9adbd462bcdb208da899282d6%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637973559593980832%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BgJttttphqxXuS2uU9IG8P7xsUn85uH2gzCKIdcOp7Y%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%7C740cb7d9adbd462bcdb208da899282d6%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637973559593980832%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ew%2FlrO5cHFmes6wUDEJH2pLW5H6b982IbU6zjDbds4E%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%7C740cb7d9adbd462bcdb208da899282d6%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637973559593980832%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ew%2FlrO5cHFmes6wUDEJH2pLW5H6b982IbU6zjDbds4E%3D&reserved=0>

_______________________________________________
MapServer-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-dev

Reply via email to