Using XYZ files with custom projection

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Expand view Topic review: Using XYZ files with custom projection

Re: Using XYZ files with custom projection

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.

Using XYZ files with custom projection

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!

Top