Using XYZ files with custom projection

Discussions about onboard maps, online maps and Map Creators
mattyOH
Posts: 3
Joined: Sat Jan 29, 2022 11:27 pm

Using XYZ files with custom projection

Post by mattyOH » Fri Jun 24, 2022 11:51 am

I have a set of XYZ tiles that use ESPG:27700 (OSGB Grid) projection...
Is it possible to use these tiles in AQ by placing them inside an XYZ.zip file and to specify the custom projection as ESPG:27700 similar to if you were accessing them via a tile server and specifying the projection in the .aqm file?
I hope this makes sense and that someone can point me in the right direction!

Psyberia-Support
Site Admin
Posts: 5517
Joined: Wed Apr 14, 2010 9:41 pm

Re: Using XYZ files with custom projection

Post by Psyberia-Support » Sat Jun 25, 2022 8:12 am

Hi,
Unfortunately it's not as simple.
If your map tiles do not follow the common Google/OSM tile naming scheme, then the map projection code is not sufficient. You'll also need to provide the resolution for each zoom levels (ie how much meters for each pixel, or something similar).
This is something you usually do in an .aqx file when setting up an access to an online map server.
You may be able to do this, and specify a local file in the "<server>" tag, something like "file://path/to/tiles/{$z}/{$x}/{$y}.jpg". But I've never tested this...
Let me know if you need more information on a particular point.
Do you like AlpineQuest ? Leave a small comment on Google Play !

Post Reply