Switching from TMS to Google XYZ possible + Tile sizes?

677 views
Skip to first unread message

I_Watkins

unread,
Nov 9, 2009, 6:21:33 AM11/9/09
to MapTiler User Group
HI All,

I'm new here and have just recently started playing with MapTiler to
help on some of my projects.

Most of my work is using the Google and the ESRI Flex APIs. Both of
these API expect the tiles to be indexed from an origin of top-left,
whereas the output of MapTiler, the origin is bottom left (TMS).

Of course, I can override the tile loading scheme within the Flex code
I'm using, but it is messy.

Is there an option, or failing that, can I request the option to have
the indexing starting top-left instead of bottom left ?

Also, using various schemes of caching, I often find it is much more
performant both in resources and disk storage to use tile sizes of 512
x 512 instead of 256 x 256. Is there an option, or again, failing
that, can I request an option to have tile sizes as squares, e.g. 64,
128, 256, 512 etc.

Cheers

Ian

klo...@gmail.com

unread,
Nov 11, 2009, 5:06:43 AM11/11/09
to mapt...@googlegroups.com
Hi Ian,

> Of course, I can override the tile loading scheme within the Flex code
> I'm using, but it is messy.

It is not a hard change: y = (2^z - 1) - y

> Is there an option, or failing that, can I request the option to have
> the indexing starting top-left instead of bottom left ?

There is no such options in this moment, but it is going to be soon,
because it is a frequently requested feature.
The work on this already started...

> Also, using various schemes of caching, I often find it is much more
> performant both in resources and disk storage to use tile sizes of 512
> x 512 instead of 256 x 256. Is there an option, or again, failing
> that, can I request an option to have tile sizes as squares, e.g. 64,
> 128, 256, 512 etc.

Variable tilesize is implemented but not yet exposed to the the GUI
(beside the Garmin tiling to 256, 512, 1024 tiles).
I am not sure how/if to implement that in MapTiler GUI, because the
Google Maps API template and OpenLayers template starts to be obsolete
with non 256 tiles.
Do you have a running examples for Google Maps API tiles which has
different size as 256x256?

Or do what is your typical use case?

Best regards,

Klokan Petr Pridal

P.S.
I am on holidays, please apologize delayed answer. If you stay
subscribed to this user group you will get info about the latest
changes in MapTiler...
--
http://blog.klokan.cz/
http://www.maptiler.org/
http://www.oldmapsonline.org/

Reply all
Reply to author
Forward
0 new messages