[Mapbender-users] Heads-up for MapServer users: start removing all references to DUMP in your mapfiles now...
Astrid Emde (WhereGroup)
astrid.emde at wheregroup.com
Thu Apr 8 23:59:27 PDT 2021
Hello Jeff,
thanks a lot for sharing the information. I guess there are several
MapServer users around. We are looking forward to version 8.0 already :)
On the MapServer list Even shared this:
"From a quick test, a one-liner can easily do the DUMP bla removal:
find /root/dir/of/your/mapfiles -name "*.map" -exec sed -i
"s/\s*DUMP.*//" {} \;
Even"
So it should be easy to fix all the mapfiles.
See you
Astrid
Am 2021-04-08 18:29, schrieb Jeff McKenna:
> (sending this to the Mapbender community as many use MapServer to
> publish their services)
>
>
> Hello everyone!
>
> This is a big heads-up, that the upcoming MapServer 8.0 release (and
> the current MapServer source code if you compile from the GitHub
> [unreleased] source as of today) will cause an error to be thrown if
> your LAYER contains the DUMP parameter:
>
> loadLayer(): Unknown identifier. Parsing error near (DUMP): line xxx
>
> So it would be smart now to review all of your mapfiles to make sure
> that any references to DUMP in your layers are commented or removed.
> (DUMP was first deprecated back in the 6.0 release, and using LAYER
> METADATA is required instead)
>
> For example, here is an example that uses METADATA to expose (or dump)
> all attribute fields for a layer that is served through WFS:
>
> LAYER
> NAME "continents"
> METADATA
> "wfs_title" "World continents"
> "gml_include_items" "all"
> "gml_featureid" "ID"
> "wfs_enable_request" "*"
> END
> ...
>
> *the next MS4W release will definitely contain this change, so please
> be sure to start removing DUMP from your mapfiles now...
>
> Thanks all!
>
> -jeff
>
>
> Thank-you for using MS4W.
> "MS4W: open doors as well as windows"
>
>
> --
> Jeff McKenna
> GatewayGeo: Developers of MS4W, MapServer Consulting and Training
> co-founder of FOSS4G
> http://gatewaygeo.com/
>
>
>
>
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users
--
Mit freundlichen Grüßen
Astrid Emde
GIS-Consultant
----------------------------------------------------
Aufwind durch Wissen!
Web-Seminare und Online-Schulungen
bei der www.foss-academy.com
----------------------------------------------------
Astrid Emde
WhereGroup GmbH
Eifelstraße 7
53119 Bonn
Germany
Fon: +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/mapbender_users/attachments/20210409/da4f28ca/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/mapbender_users/attachments/20210409/da4f28ca/attachment.sig>
More information about the Mapbender_users
mailing list