Opened 2 months ago
Last modified 6 weeks ago
#2409 new defect
MapServer 8.0 CONFIG
Reported by: | kalxas | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | OSGeoLive16.0 |
Component: | OSGeoLive | Keywords: | mapserver |
Cc: | osgeolive@… |
Description
MapServer 8.0 debian package is now available in our nightly ppa:
MapServer 8.0 requires to setup a CONFIG file:
https://mapserver.org/mapfile/config.html
The following error can be replicated in build22:
msLoadConfig(): Unable to access file.
Change history (10)
comment:1 by , 2 months ago
comment:2 by , 2 months ago
Copying Seth's comments from the pull request.
This pull requests includes the following:
- points to the new updated demo (see https://github.com/MapServer/MapServer-demo/pull/7 - a new v1.2 tag was created for this)
- adds a new CONFIG file required for MapServer 8.0. Move the current environment variables from Apache to the CONFIG file
- adds a new ITASCA setting to the CONFIG file (so it can be used for the OGC Features API - can add some notes to the quickstart on this)
- adds in the new php-mapscript-ng module
Note these changes haven't been tested with a full build of the OSGeoLive ISO, so there may need to be tweaks after a new beta build.
TODO:
- the Itasca demo is currently broken until the TEMPLATE value can be set via a URL. See https://github.com/MapServer/MapServer/pull/6469#issuecomment-1375928613. Once this is merged and backported hopefully there can be a new MapServer 8.0 patch release used for OSGeoLive?
- confirm if the PROJ_LIB" "/usr/share/proj" setting in the CONFIG is required - or is this the default location anyway?
- update MS_DOCS_VERSION="7-6" to MS_DOCS_VERSION="8-0" when this file is available. It needs to be uploaded to http://download.osgeo.org/livedvd/data/mapserver/mapserver-8-0-html-docs.zip (see directory contents at http://download.osgeo.org/livedvd/data/mapserver/)
- it would be nice to include the html-bootstrap4 templates - currently only html-plain are added in the UbuntuGIS package
comment:3 by , 2 months ago
Priority: | blocker → critical |
---|
MapServer demo works again on build27
http://download.osgeo.org/livedvd/nightly/osgeolive-nightly-build27-amd64-3c5c53d-master.iso
Leaving ticket open to track todo items
comment:4 by , 2 months ago
I've uploaded the latest docs to https://www.dropbox.com/s/oo9sulhheac7ejw/mapserver-8-0-html-docs.zip?dl=0 using the same naming convention / structure as previously.
@kalxas do you have permissions to upload this file to http://download.osgeo.org/livedvd/data/mapserver/ ?
comment:5 by , 2 months ago
comment:6 by , 2 months ago
Thank you, it is now available:
http://download.osgeo.org/livedvd/data/mapserver/mapserver-8-0-html-docs.zip
comment:8 by , 6 weeks ago
TODO list update:
- the Itasca demo is currently broken until the TEMPLATE value can be set via a URL. See https://github.com/MapServer/MapServer/pull/6469#issuecomment-1375928613. Once this is merged and backported hopefully there can be a new MapServer 8.0 patch release used for OSGeoLive?
- DONE - confirm if the PROJ_LIB" "/usr/share/proj" setting in the CONFIG is required - or is this the default location anyway?
- DONE - update MS_DOCS_VERSION="7-6" to MS_DOCS_VERSION="8-0" when this file is available. It needs to be uploaded to http://download.osgeo.org/livedvd/data/mapserver/mapserver-8-0-html-docs.zip (see directory contents at http://download.osgeo.org/livedvd/data/mapserver/)
- it would be nice to include the html-bootstrap4 templates - currently only html-plain are added in the UbuntuGIS package
For the last item, there was an IRC discussion on DebianGIS IRC, this will not happen upstream due to JavaScript licensing issues.
comment:9 by , 6 weeks ago
Priority: | critical → major |
---|
comment:10 by , 6 weeks ago
Thanks for the update @kalxas, I thought there might be a reason why it wasn't included. Do you have a link to the discussion? It would be good to know which JS library was an issue so that if a different template is used it can be avoided. For now the plain templates will suffice. Once the 8.0 patch release is out the final issues should be resolved.
Pull request:
https://github.com/OSGeo/OSGeoLive/pull/358