MapFish:print 样式不适用

MapFish:print Styling not applying

我正在尝试构建一个可以应用于混合知名文本类型的 MapFish 样式

示例功能

{
  "geometry": {
    "type": "LineString",
    "coordinates": [...],
  "properties": {
    "Name": "KN",
    "id": "5a002a8e9ee4e84a3c125067",
    "geoType": "LineString",
    ...
  },
  "profile":{...}
  "type": "Feature"
},

我正在应用这种风格

{
    "version": "2",
    "[geoType IN ('LineString', 'MultiLineString', 'Curve', 'MultiCurve', 'CompoundCurve')]": {
        "symbolizers": [{
            "type": "Line",
            "strokeColor": "#000080",
            "strokeOpacity": "0.65",
            "strokeWidth": "5.0"
        }]
    },
    "[geoType IN ('Polygon', 'MultiPolygon', 'Triangle', 'CircularString', 'CurvePolygon')]": {
        "symbolizers": [{
            "type": "Line",
            "strokeColor": "#000080",
            "strokeOpacity": "0.65",
            "strokeWidth": "5.0"
        }, {
            "type": "polygon",
            "strokeColor": "#000080",
            "strokeOpacity": "0.65",
            "strokeWidth": "5.0",
            "fillColor": "#000080",
            "fillOpacity": "0.65"
        }]
    },
    "[geoType IN ('Point', 'MultiPoint')]": {
        "symbolizers": [{
            "type": "point",
            "pointRadius": "20",
            "graphicName": "circle",
            "graphicWidth": "20",
            "strokeColor": "#000080",
            "strokeOpacity": "0.65",
            "strokeWidth": "5.0",
            "fillColor": "#000080",
            "fillOpacity": "0.65"
        }]
    }
}

它没有抛出任何错误并且打印完成但是当我从 GeoJSON 中没有得到任何结果时

关于我做错了什么的任何指示?

问题是 Profile 属性,不知道为什么,但是如果你的 GeoJson 在节点的根目录中有任何额外的属性,mapfish 将不会处理它