Tiles as Google not TSM format

132 views
Skip to first unread message

Michał

unread,
Feb 22, 2012, 4:58:52 PM2/22/12
to MapTiler User Group
Hi,
I love the application "MapTiler" but I've got the question.
I would like to upload tiles into Android OsmAnd and I need the tiles
named as Google Tile codification not the TSM one (referring to the
sample on (http://www.maptiler.org/google-maps-coordinates-tile-bounds-
projection/).
Is it possible to force the MapTiles to save them like that? Because
right now as a result I get the TSM format and it doesn't work.

For example I need:
17671/10696
and I get:
17671/22071

Thanks in advance
Michal

Gavin

unread,
Feb 22, 2012, 7:22:39 PM2/22/12
to MapTiler User Group
If the tiles themselves are correct and it's just the file naming
that's an issue you could just create a script to rename them based on
some calculation that converts Google Tile to TSM?

Michał

unread,
Feb 23, 2012, 4:33:53 AM2/23/12
to MapTiler User Group
Yes, I was even thought about it, because they are correct, but do you
know where to fint the conversion formula?
I was looking for it but without any positive results.

Jean-Jacques MONOT

unread,
Feb 23, 2012, 7:45:39 AM2/23/12
to mapt...@googlegroups.com
Formulas . Try these :

/////////////////////////////////////////////
z(osmand) = 17 - z(maptiler)
y(osmand) = 2^zoom(maptiler) - y(maptiler) - 1
/////////////////////////////////////////////


2012/2/23 Michał <michal....@gmail.com>
--
You received this message because you are subscribed to the Google Groups "MapTiler User Group" group.
To post to this group, send email to mapt...@googlegroups.com.
To unsubscribe from this group, send email to maptiler+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/maptiler?hl=en.


Michał

unread,
Feb 23, 2012, 8:22:15 AM2/23/12
to MapTiler User Group
Thanks Jean,
it looks well - I will check the results at the evening on the tablet
and let You know!

All the Best

On 23 Lut, 13:45, Jean-Jacques MONOT <courd...@gmail.com> wrote:
> Formulas . Try these :
>
> /////////////////////////////////////////////
> z(osmand) = 17 - z(maptiler)
> y(osmand) = 2^zoom(maptiler) - y(maptiler) - 1
> /////////////////////////////////////////////
>
> 2012/2/23 Michał <michal.wycza...@gmail.com>

Michał

unread,
Feb 23, 2012, 3:49:03 PM2/23/12
to MapTiler User Group
I tried and unfortunatelly it doesn't work :(
Means file names are fine, but OsmAnd doesn't read it...


On 23 Lut, 14:22, Michał <michal.wycza...@gmail.com> wrote:
> Thanks Jean,
> it looks well - I will check the results at the evening on the tablet
> and let You know!
>
> All the Best
>
> On 23 Lut, 13:45, Jean-Jacques MONOT <courd...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Formulas . Try these :
>
> > /////////////////////////////////////////////
> > z(osmand) = 17 - z(maptiler)
> > y(osmand) = 2^zoom(maptiler) - y(maptiler) - 1
> > /////////////////////////////////////////////
>
> > 2012/2/23 Micha³ <michal.wycza...@gmail.com>
>
> > > Yes, I was even thought about it, because they are correct, but do you
> > > know where to fint the conversion formula?
> > > I was looking for it but without any positive results.
>
> > > On 23 Lut, 01:22, Gavin <m...@gavinharriss.com> wrote:
> > > > If the tiles themselves are correct and it's just the file naming
> > > > that's an issue you could just create a script to rename them based on
> > > > some calculation that converts Google Tile to TSM?
>
Reply all
Reply to author
Forward
0 new messages