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

XYZ Tile Server with custom CRS not working #26705

Closed
qgib opened this issue Apr 28, 2018 · 8 comments
Closed

XYZ Tile Server with custom CRS not working #26705

qgib opened this issue Apr 28, 2018 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@qgib
Copy link
Contributor

qgib commented Apr 28, 2018

Author Name: Bruce Steedman (Bruce Steedman)
Original Redmine Issue: 18873
Affected QGIS version: 3.4.4
Redmine category:web_services_clients/xyz


I have added the following URL pattern as an XYZ Tile Server connection:

http://dcw7.digimap.je/arcgis/rest/services/StatesOfJersey/JerseyAerialPhotoOL2014_500/MapServer/tile/{z}/{y}/{x}.png

An example tile is at http://dcw7.digimap.je/arcgis/rest/services/StatesOfJersey/JerseyAerialPhotoOL2014_500/MapServer/tile/0/268/331

When I add the layer no tiles are rendered on my map.

I have successfully added other tile layers, which work: e.g. https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}.png

The Map Server I am trying to add uses a custom CRS: EPSG:3109 (which uses a custom map origin). I have this CRS set in my project and on the fly projection enabled.

When added, the layer does not pick up the custom CRS, but instead uses EPSG:3857. Changing to the correct CRS in the added layer does not resolve the problem.

I note that the Server specifies 9 zoom levels, with 0 scaled at 1:250,000.

Does 2.18 LTS support Tile Servers with custom CRS & scales and if not does QGIS 3 do so?

Steps to reproduce above and no known workaround.

Many thanks.


@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2018

Author Name: Bruce Steedman (Bruce Steedman)


Related to #26713 re incorrect crs parsed from ESRI wkt on server.

Also, problem still exists in QGIS v3.02 on Ubuntu 18.04 LTS.

@qgib
Copy link
Contributor Author

qgib commented Jan 20, 2019

Author Name: Jürgen Fischer (@jef-n)


Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jan 21, 2019

Author Name: Bruce Steedman (Bruce Steedman)


Thanks for looking at this Jürgen.

Just tried with 3.4.4 and the same result. Exactly the same steps as before & this time I set the zoom range to 0 to 9, as per the MapServer (see attached image):

http://dcw7.digimap.je/arcgis/rest/services/StatesOfJersey/JerseyAerialPhotoOL2014_500/MapServer (note custom zoom level with 0 being 1:250,000)

However, when I look at the network requests QGIS is making I see requests like this:

GET http://dcw7.digimap.je/arcgis/rest/services/StatesOfJersey/JerseyAerialPhotoOL2014_500/MapServer/tile/15/16336/16425.png - i.e. a zoom level outside of the 0-9 range.

Question: Can QGIS XYZ tile layers deal with custom zoom levels like this and/or is perhaps the root of the problem that the correct CRS (EPSG:3109) is not being read/converted from the MapServer WKT under the 'Spatial Reference' key?

Many thanks

Bruce


  • 14126 was configured as xyz.png

@qgib
Copy link
Contributor Author

qgib commented Jan 21, 2019

Author Name: Jürgen Fischer (@jef-n)


  • version was changed from 2.18.17 to 3.4.4
  • status_id was changed from Feedback to Open

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@alexbruy alexbruy changed the title XYZ Tile Server with custom CRS not working in 2.18 LTS XYZ Tile Server with custom CRS not working Sep 22, 2019
@Pedro-Murteira
Copy link

This is still valid on QGIS 3.16.15 and 3.22.2.

@alexbruy
Copy link
Contributor

Is this still valid issue?

@alexbruy alexbruy added the Feedback Waiting on the submitter for answers label Dec 3, 2023
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 18, 2023
Copy link

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue.
Or, if you have any further questions, there are also further support channels that can help you.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Feedback Waiting on the submitter for answers stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

3 participants