[mapserver-commits] [MapServer/MapServer] 2489fd: uvraster: improve efficiency of GetShape()

Even Rouault noreply at github.com
Fri Sep 6 06:55:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 2489fdb02b9e66ced706dd608b0dda945f24ae6a
      https://github.com/MapServer/MapServer/commit/2489fdb02b9e66ced706dd608b0dda945f24ae6a
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

  Changed paths:
    M CMakeLists.txt
    R msautotest/renderers/expected/uvraster.pdf
    R msautotest/renderers/expected/uvraster.svg
    R msautotest/renderers/expected/uvraster_reproj.pdf
    R msautotest/renderers/expected/uvraster_reproj.svg
    M msautotest/renderers/uvraster.map
    M msautotest/renderers/uvraster_reproj.map
    R src/mapuvraster.c
    A src/mapuvraster.cpp

  Log Message:
  -----------
  uvraster: improve efficiency of GetShape()


  Commit: 32b46a177bc1f60facfc3b1976719ce2c37062b0
      https://github.com/MapServer/MapServer/commit/32b46a177bc1f60facfc3b1976719ce2c37062b0
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

  Changed paths:
    M CMakeLists.txt
    A msautotest/renderers/data/temperature.tif
    A msautotest/renderers/expected/rasterlabel.png
    A msautotest/renderers/rasterlabel.map
    M src/mapdraw.c
    M src/mapfile.c
    M src/maplayer.c
    M src/maplexer.c
    M src/maplexer.l
    A src/maprasterlabel.cpp
    M src/mapserver.h
    M src/mapuvraster.cpp

  Log Message:
  -----------
  Add CONNECTIONTYPE RASTERLABEL

This adds a new CONNECTIONTYPE to be able to display labels based on
raster content.
The code is similar to UVRASTER.


  Commit: 21101e125f1c3af4379e60974d629924b062c53c
      https://github.com/MapServer/MapServer/commit/21101e125f1c3af4379e60974d629924b062c53c
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

  Changed paths:
    A msautotest/wxs/expected/wms_getstyles2.xml
    M msautotest/wxs/wms_styles.map
    M src/mapogcsld.cpp

  Log Message:
  -----------
  msSLDGenerateTextSLD(): avoid crash on expressions of LABEL we can't transform to SLD

but there's a memory leak

```
Direct leak of 42 byte(s) in 1 object(s) allocated from:
    #0 0x7efd24675c3e in __interceptor_realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cc:163
    #1 0x7efd23473913 in msStringConcatenate /home/runner/work/MapServer/MapServer/src/mapstring.cpp:1428
    #2 0x7efd2346c344 in yylex src/mapparser.y:1094
    #3 0x7efd23460946 in yyparse /home/runner/work/MapServer/MapServer/src/mapparser.c:1584
    #4 0x7efd237a32bb in msSLDGenerateTextSLD /home/runner/work/MapServer/MapServer/src/mapogcsld.cpp:4231
    #5 0x7efd237a6b7d in msSLDGenerateUserStyle /home/runner/work/MapServer/MapServer/src/mapogcsld.cpp:4575
    #6 0x7efd237a7438 in msSLDGenerateSLDLayer /home/runner/work/MapServer/MapServer/src/mapogcsld.cpp:4642
    #7 0x7efd2379ba41 in msSLDGenerateSLD /home/runner/work/MapServer/MapServer/src/mapogcsld.cpp:3445
    #8 0x7efd23162ec0 in msWMSGetStyles /home/runner/work/MapServer/MapServer/src/mapwms.cpp:5474
    #9 0x7efd23165527 in msWMSDispatch /home/runner/work/MapServer/MapServer/src/mapwms.cpp:5777
    #10 0x7efd231b6144 in msOWSDispatch /home/runner/work/MapServer/MapServer/src/mapows.c:290
    #11 0x7efd2342c89d in msCGIDispatchRequest /home/runner/work/MapServer/MapServer/src/mapservutil.c:2240
    #12 0x5589f3102f00 in main /home/runner/work/MapServer/MapServer/src/apps/mapserv.c:294
    #13 0x7efd22788082 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x24082)
```


  Commit: 96e8df8cf1ea1a26e13d5b1eeb69a111581c87ed
      https://github.com/MapServer/MapServer/commit/96e8df8cf1ea1a26e13d5b1eeb69a111581c87ed
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-09-06 (Fri, 06 Sep 2024)

  Changed paths:
    M CMakeLists.txt
    A msautotest/renderers/data/temperature.tif
    A msautotest/renderers/expected/rasterlabel.png
    R msautotest/renderers/expected/uvraster.pdf
    R msautotest/renderers/expected/uvraster.svg
    R msautotest/renderers/expected/uvraster_reproj.pdf
    R msautotest/renderers/expected/uvraster_reproj.svg
    A msautotest/renderers/rasterlabel.map
    M msautotest/renderers/uvraster.map
    M msautotest/renderers/uvraster_reproj.map
    A msautotest/wxs/expected/wms_getstyles2.xml
    M msautotest/wxs/wms_styles.map
    M src/mapdraw.c
    M src/mapfile.c
    M src/maplayer.c
    M src/maplexer.c
    M src/maplexer.l
    M src/mapogcsld.cpp
    A src/maprasterlabel.cpp
    M src/mapserver.h
    R src/mapuvraster.c
    A src/mapuvraster.cpp

  Log Message:
  -----------
  Merge pull request #7135 from rouault/rasterlabel

Add CONNECTIONTYPE RASTERLABEL (RFC 139)


Compare: https://github.com/MapServer/MapServer/compare/5d7fbf726715...96e8df8cf1ea

To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications


More information about the MapServer-commits mailing list