[mapserver-commits] [MapServer/MapServer] 2c3767: MVT: Sets correct media type of Mapbox vector tile...

ravhed noreply at github.com
Thu May 20 12:46:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 2c3767a5bf8cfec610c59758206ae267c2ada622
      https://github.com/MapServer/MapServer/commit/2c3767a5bf8cfec610c59758206ae267c2ada622
  Author: ravhed <erik.ravhed at gmail.com>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M maperror.c
    M mapfile.c
    M mapmvt.c
    M mapoutput.c
    M mapscript/php/mapscript_i.c
    M mapscript/swiginc/image.i
    M mapscript/swiginc/outputformat.i
    M mapscript/swiginc/symbol.i
    M mapserver.h
    M mapservutil.c
    M mapwms.cpp
    M msautotest/wxs/expected/ows_all_wms_capabilities.xml
    M msautotest/wxs/expected/ows_all_wms_capabilities_post.xml
    M msautotest/wxs/expected/ows_metadata_wms_capabilities111.xml
    M msautotest/wxs/expected/ows_metadata_wms_capabilities130.xml
    M msautotest/wxs/expected/ows_wms_capabilities.xml
    M msautotest/wxs/expected/ows_wms_rootlayer_name_capabilities.xml
    M msautotest/wxs/expected/ows_wms_rootlayer_name_empty_capabilities.xml
    M msautotest/wxs/expected/wms111_test_xml_escaping.xml
    M msautotest/wxs/expected/wms130_test_xml_escaping.xml
    M msautotest/wxs/expected/wms_dimension_cap.xml
    M msautotest/wxs/expected/wms_dimension_cap130.xml
    M msautotest/wxs/expected/wms_empty_cap111.xml
    M msautotest/wxs/expected/wms_empty_cap130.xml
    M msautotest/wxs/expected/wms_empty_cap_latestversion.xml
    M msautotest/wxs/expected/wms_get_capabilities_tileindexmixedsrs.xml
    M msautotest/wxs/expected/wms_inspire_cap.xml
    M msautotest/wxs/expected/wms_inspire_cap_111.xml
    M msautotest/wxs/expected/wms_inspire_cap_111_eng.xml
    M msautotest/wxs/expected/wms_inspire_cap_111_ger.xml
    M msautotest/wxs/expected/wms_inspire_cap_eng.xml
    M msautotest/wxs/expected/wms_inspire_cap_ger.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_cap130.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_cap130_eng.xml
    M msautotest/wxs/expected/wms_inspire_scenario1_cap130_ger.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_cap111.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_cap111_eng.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_cap111_ger.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_cap130.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_cap130_eng.xml
    M msautotest/wxs/expected/wms_inspire_scenario2_cap130_ger.xml
    M msautotest/wxs/expected/wms_layer_groups_caps111.xml
    M msautotest/wxs/expected/wms_mvt.mvt
    A msautotest/wxs/expected/wms_mvt_xprotobuf.mvt
    M msautotest/wxs/expected/wms_north_polar_stereo_extent.xml
    M msautotest/wxs/expected/wms_nosld_cap.xml
    M msautotest/wxs/expected/wms_nosld_cap_postgis.xml
    M msautotest/wxs/wms_mvt.map

  Log Message:
  -----------
  MVT: Sets correct media type of Mapbox vector tiles output (#6331)

The correct media type is defined as "vnd.mapbox-vector-tile" (see http://www.iana.org/assignments/media-types/media-types.xhtml). Use that by default, but also keep application/x-protobuf as a possibility (e.g. it will still be advertised in GetCapabilities response).




More information about the mapserver-commits mailing list