Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid is not correct when transform to Label Projection. #2617

Open
mrvipchien opened this issue Oct 12, 2022 · 1 comment
Open

Grid is not correct when transform to Label Projection. #2617

mrvipchien opened this issue Oct 12, 2022 · 1 comment

Comments

@mrvipchien
Copy link

mrvipchien commented Oct 12, 2022

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

@sbrunner
Copy link
Member

Is there an issue with axis order?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants