[mapserver-commits] [mapserver/mapserver] 420dcb: msSLDApplySLD(): tidy-up code. No functional change

Even Rouault noreply at github.com
Mon Oct 28 07:18:50 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: 420dcb114e4085066d739f41ff3c8fb0ffa73721
      https://github.com/mapserver/mapserver/commit/420dcb114e4085066d739f41ff3c8fb0ffa73721
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapogcsld.c

  Log Message:
  -----------
  msSLDApplySLD(): tidy-up code. No functional change


  Commit: f5509aca018a69580d68eb792d95ee210d9484ab
      https://github.com/mapserver/mapserver/commit/f5509aca018a69580d68eb792d95ee210d9484ab
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapogcsld.c

  Log Message:
  -----------
  msSLDApplySLD(): tidy up code by moving layer duplication to a dedicated function. No functional change


  Commit: a02eb6a29023ff925105cdd279bc05c530262793
      https://github.com/mapserver/mapserver/commit/a02eb6a29023ff925105cdd279bc05c530262793
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapogcsld.c

  Log Message:
  -----------
  msSLDParseNamedLayer(): move UserStyle parsing to a dedicated function. No functional change


  Commit: 72f61b828512efc597994b36b1171dfebd931f9d
      https://github.com/mapserver/mapserver/commit/72f61b828512efc597994b36b1171dfebd931f9d
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapogcsld.c

  Log Message:
  -----------
  msSLDParseXXXX(): use a LOOP_ON_CHILD_ELEMENT() macro to simplify code when iterating over XML elements. No major functional change, except that it should be slightly more robust to the present of XML comments in some cases


  Commit: d89ac1fadbd34bed5e991c834c601d3e9026091c
      https://github.com/mapserver/mapserver/commit/d89ac1fadbd34bed5e991c834c601d3e9026091c
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapogcsld.c
    M mapogcsld.h
    A msautotest/sld/expected/sld_named_userstyle_1.png
    A msautotest/sld/expected/sld_named_userstyle_2.png
    A msautotest/sld/expected/sld_named_userstyle_3.png
    A msautotest/sld/sld_named_userstyle.map

  Log Message:
  -----------
  SLD parsing: handle several UserStyle per NamedLayer, honour UserStyle.Name to set the CLASS.GROUP value, and honour UserStyle.IsDefault to set LAYER.CLASSGROUP


  Commit: 9bb379794e63e654de408cc416db692424da20e4
      https://github.com/mapserver/mapserver/commit/9bb379794e63e654de408cc416db692424da20e4
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapserver.h
    M mapstring.c

  Log Message:
  -----------
  Add a msStringBuffer API to offer more efficient string concatenation


  Commit: 2107829cdf61bca7faba0af54b28ecadaed3108d
      https://github.com/mapserver/mapserver/commit/2107829cdf61bca7faba0af54b28ecadaed3108d
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapogcsld.c

  Log Message:
  -----------
  msSLDGenerateSLDLayer(): tidy-up. no functional change


  Commit: 6dbece41e162bdd0c1d7411c22ce504b17b4cd57
      https://github.com/mapserver/mapserver/commit/6dbece41e162bdd0c1d7411c22ce504b17b4cd57
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapogcsld.c
    A msautotest/sld/expected/sld_named_userstyle_get_styles.xml
    A msautotest/sld/sld_named_userstyle_get_styles.map
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_airlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_roadarea.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_roadlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_transportlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_airlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_roadarea.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_roadlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_transportlink.xml
    M msautotest/wxs/expected/wms_inspire_styles_all.xml
    M msautotest/wxs/expected/wms_inspire_styles_commontransportelements.xml
    M msautotest/wxs/expected/wms_inspire_styles_railtransportnetwork.xml
    M msautotest/wxs/expected/wms_inspire_styles_roadtransportnetwork.xml
    M msautotest/wxs/expected/wms_inspire_styles_transportnode.xml

  Log Message:
  -----------
  SLD generation: write UserStyle.Name from CLASS.GROUP (one UserStyle per class that share the same CLASS.GROUP) and UserStyle.IsDefault from LAYER.CLASSGROUP


  Commit: 1681765bf82c61a5f981889ca756cda2cb00a35b
      https://github.com/mapserver/mapserver/commit/1681765bf82c61a5f981889ca756cda2cb00a35b
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M mapscript/python/tests/cases/map_test.py
    M mapscript/swiginc/map.i

  Log Message:
  -----------
  mapscript: add an optional version parameter for map.generateSLD()


  Commit: fb13d41e69e3e1be24ec13d36a933553b89bfe55
      https://github.com/mapserver/mapserver/commit/fb13d41e69e3e1be24ec13d36a933553b89bfe55
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M mapogcsld.c
    M mapogcsld.h
    M mapscript/python/tests/cases/map_test.py
    M mapscript/swiginc/map.i
    M mapserver.h
    M mapstring.c
    A msautotest/sld/expected/sld_named_userstyle_1.png
    A msautotest/sld/expected/sld_named_userstyle_2.png
    A msautotest/sld/expected/sld_named_userstyle_3.png
    A msautotest/sld/expected/sld_named_userstyle_get_styles.xml
    A msautotest/sld/sld_named_userstyle.map
    A msautotest/sld/sld_named_userstyle_get_styles.map
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_airlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_roadarea.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_roadlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_styles130_transportlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_airlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_roadarea.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_roadlink.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_styles130_transportlink.xml
    M msautotest/wxs/expected/wms_inspire_styles_all.xml
    M msautotest/wxs/expected/wms_inspire_styles_commontransportelements.xml
    M msautotest/wxs/expected/wms_inspire_styles_railtransportnetwork.xml
    M msautotest/wxs/expected/wms_inspire_styles_roadtransportnetwork.xml
    M msautotest/wxs/expected/wms_inspire_styles_transportnode.xml

  Log Message:
  -----------
  Merge pull request #5908 from rouault/sld_userstyle_name

SLD: handle several UserStyle per NamedLayer


Compare: https://github.com/mapserver/mapserver/compare/2bd9c0d3bbaf...fb13d41e69e3


More information about the mapserver-commits mailing list