mapfish-print icon indicating copy to clipboard operation
mapfish-print copied to clipboard

Grid is not correct when transform to Label Projection.

Open mrvipchien opened this issue 3 years ago • 1 comments

Context

  • MapFish print version: 3.29.4 (latest)
  • Java version: 17
  • OS: Docker

Describe the bug

The printed grid is not correct when added "labelProjection" param. The right labels is not equals to the lefts and all left labels are same.

How to reproduce

{
    "layout": "A4 landscape",
    "attributes": {"map": {
        "rotation": 0,
        "center": [
            602602,
            4915620
        ],
        "layers": [{
                    "type": "grid",
                    "font": {
                        "name": ["Arial", "Liberation Sans"]
                    },
                    "rotateLabels": true,
                    "numberOfLines": [3, 3],
                    "labelProjection": "EPSG:4326"
                }],
        "scale": 258000,
        "projection": "EPSG:26713",
        "dpi": 72
    }}
}

Actual results

image mapfish-print-report (5).pdf

Expected results

mrvipchien avatar Oct 12 '22 02:10 mrvipchien

Is there an issue with axis order?

sbrunner avatar Oct 12 '22 07:10 sbrunner