[OSM-talk] Different tile numbers in MapTiler than other tile sets
Dan Karran
dan at karran.net
Tue May 11 14:58:31 BST 2010
On 11 May 2010 14:35, Andy Allan <gravitystorm at gmail.com> wrote:
>> I was trying last night to tile some maps and imagery that I have
>> access to. I've got MapTiler set up to generate the tiles, but I've
>> noticed that it seems to be generating tile numbers that are different
>> from the ones used for tiles in OSM, so Potlatch isn't able to pick
>> them up. The tiles look the same, and the directories are numbered
>> correctly, but just that the actual tiles are numbered differently.
>
> gdal2tiles, and probably MapTiler too, produce OGC-approved,
> industry-standard "TMS" tiles, which are numbered from bottom left.
> Over here in the real world, everyone else uses tiles numbered from
> the top left. That's almost certainly the problem.
>
> I don't know how to fix it for you, but maybe look for an option "(x)
> ignore the standards when the standards are wrong" option in MapTiler?
Cheers Andy, I realised just after I posted that it was doing
TMS-based numbering instead of Google-based. There isn't an option in
the app to do that unfortunately, but perhaps I can write a script to
retrofix the numbering for now without too much difficulty.
Cheers,
Dan
--
Dan Karran
dan at karran.net
www.dankarran.com
More information about the talk
mailing list