[mapserver-commits] [mapserver/mapserver] 39ba27: WMS GetMap/GetFeatureInfo: make STYLES parameter m...

Jeff McKenna noreply at github.com
Mon Apr 6 15:28:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: 39ba27d6e178c5c013608dac4c83f07b2ef3ecb3
      https://github.com/mapserver/mapserver/commit/39ba27d6e178c5c013608dac4c83f07b2ef3ecb3
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M mapscript/perl/tests/maps.t
    M mapwms.cpp
    M msautotest/misc/ogr_empty_geojson.map
    M msautotest/misc/sde_join.map
    M msautotest/mspython/test_mapio.py
    M msautotest/sld/centroid.map
    M msautotest/sld/getstyles_text.map
    M msautotest/sld/label.map
    M msautotest/sld/linemark.map
    M msautotest/sld/painter_reference.map
    M msautotest/sld/reference.map
    M msautotest/sld/size.map
    M msautotest/sld/symbolyzers.map
    M msautotest/sld/uom.map
    A msautotest/wxs/expected/wms_get_map_missing_bbox.xml
    A msautotest/wxs/expected/wms_get_map_missing_format.xml
    A msautotest/wxs/expected/wms_get_map_missing_height.xml
    A msautotest/wxs/expected/wms_get_map_missing_layers.xml
    A msautotest/wxs/expected/wms_get_map_missing_srs.xml
    A msautotest/wxs/expected/wms_get_map_missing_styles.xml
    A msautotest/wxs/expected/wms_get_map_missing_width.xml
    M msautotest/wxs/tomk_workshop.map
    M msautotest/wxs/wfs_ogr.map
    M msautotest/wxs/wms_getfeatureinfo_encoding.map
    M msautotest/wxs/wms_getfeatureinfo_lon_wrap_180.map
    M msautotest/wxs/wms_inspire.map
    M msautotest/wxs/wms_ogr_native_sql.map
    M msautotest/wxs/wms_simple.map
    M msautotest/wxs/wms_src_non_square_pixel_ticket5445.map

  Log Message:
  -----------
  WMS GetMap/GetFeatureInfo: make STYLES parameter mandatory as per WMS spec (fixes #6012)

Only for baseline requests: if SLD specific parameters SLD & SLD_BODY are
specified, then do not make STYLES mandatory.

If the STYLES parameter is missing and needed, the error message emitted
suggests to define the "wms_allow_getmap_without_styles" "true" MAP.WEB.METADATA
item to get backward compatible behaviour.


  Commit: db85bc37d07419c6f3f42a93e4a8127bd9abc87d
      https://github.com/mapserver/mapserver/commit/db85bc37d07419c6f3f42a93e4a8127bd9abc87d
  Author: Jeff McKenna <jmckenna at gatewaygeomatics.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M mapscript/perl/tests/maps.t
    M mapwms.cpp
    M msautotest/misc/ogr_empty_geojson.map
    M msautotest/misc/sde_join.map
    M msautotest/mspython/test_mapio.py
    M msautotest/sld/centroid.map
    M msautotest/sld/getstyles_text.map
    M msautotest/sld/label.map
    M msautotest/sld/linemark.map
    M msautotest/sld/painter_reference.map
    M msautotest/sld/reference.map
    M msautotest/sld/size.map
    M msautotest/sld/symbolyzers.map
    M msautotest/sld/uom.map
    A msautotest/wxs/expected/wms_get_map_missing_bbox.xml
    A msautotest/wxs/expected/wms_get_map_missing_format.xml
    A msautotest/wxs/expected/wms_get_map_missing_height.xml
    A msautotest/wxs/expected/wms_get_map_missing_layers.xml
    A msautotest/wxs/expected/wms_get_map_missing_srs.xml
    A msautotest/wxs/expected/wms_get_map_missing_styles.xml
    A msautotest/wxs/expected/wms_get_map_missing_width.xml
    M msautotest/wxs/tomk_workshop.map
    M msautotest/wxs/wfs_ogr.map
    M msautotest/wxs/wms_getfeatureinfo_encoding.map
    M msautotest/wxs/wms_getfeatureinfo_lon_wrap_180.map
    M msautotest/wxs/wms_inspire.map
    M msautotest/wxs/wms_ogr_native_sql.map
    M msautotest/wxs/wms_simple.map
    M msautotest/wxs/wms_src_non_square_pixel_ticket5445.map

  Log Message:
  -----------
  Merge pull request #6039 from rouault/fix_6012

WMS GetMap/GetFeatureInfo: make STYLES parameter mandatory as per WMS spec (fixes #6012)


Compare: https://github.com/mapserver/mapserver/compare/f615ec688e39...db85bc37d074


More information about the mapserver-commits mailing list