[MapServer-dev] Possibly undocumented 8.0 change

Richard Greenwood richard.greenwood at gmail.com
Mon Aug 29 03:39:38 PDT 2022


No, just laziness. It's not a big deal, but maybe should be documented.

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

> 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 <sethg at geographika.co.uk>
> *Lähetetty:* maanantai 29. elokuuta 2022 10.45
> *Vastaanottaja:* Richard Greenwood <richard.greenwood at gmail.com>;
> Rahkonen Jukka <jukka.rahkonen at maanmittauslaitos.fi>
> *Kopio:* MapServer Devs <mapserver-dev at lists.osgeo.org>
> *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 <
> 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%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
>
> 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%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>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20220829/4651bd0d/attachment-0001.htm>


More information about the MapServer-dev mailing list