-
Notifications
You must be signed in to change notification settings - Fork 30
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
Support of different CRS than "EPSG:3857" or "EPSG:4326" #268
Comments
Hello I suggest you just give it a try and let me know ;-) |
Hi, actually I had tried it before asking the question but I wanted to be sure if it is basically possible. :) I was a little bit confused. I use T-rex vector tiles server to produce my grid and .pbf data in "EPSG:25832" and visualize them in OpenLayers. I took the folder of my cached tiles and tried to open it via your plugin in QGIS. I have just recognised that my cached tiles are in "EPSG:3857" and not in "EPSG:25832". First, I tried to adjust my metadata.json to have "EPSG:25832" but I got error that lat lon is out of range. Then I changed to the original metadata.json, where I got the error "tolerance condition error" again. I have just read that the Google Mercator projection is only valid between +/- 85.0511 degrees North/South and I had the following condition in my metadata But going back to the question if it is possible to load tiles in "EPSG:25832". I think it is not possible, because the plugin assumes that the source crs is always "EPSG:4326" and converts it to "EPSG:3857":
Or am I wrong? |
MBGL Spec. leaves it open which CRS. Mapbox (MB) tools though implement 4326 only. An this plugin completely relies on MB implementations. Just FYI: There are some "tricks" (and implementations) needed in order to support other CRS than 4326. See e.g. this presentations at SotM 2019 https://www.youtube.com/watch?v=GELhDZLtSMI . |
How can we set SRS in tilejson? Is it part of vector layer object? |
Hello,
Is it possible to load tiles in another crs for example "EPSG:25832" via this plugin?
Thanks
The text was updated successfully, but these errors were encountered: