[Merkaartor] Custom TMS servers with merkaartor

Chris Browet cbro at semperpax.com
Fri Apr 16 14:06:18 BST 2010


On Fri, Apr 16, 2010 at 14:49, Christian Ekstra <christian.2res1 at tele2.no>wrote:

>  Chris Browet skrev:
>
> I'll dig deeper, but from a first inspection, going to:
>
> http://www.openstreetmap.org/?lat=32.2942&lon=-106.7419&zoom=14&layers=B000FTF
> (so zoom level 14)
>
> then checking which tiles are used (right-click - view image info in
> Firefox), I get url's like:
> http://a.tile.openstreetmap.org/14/3333/6637.png
>
> which seems very consistent with what Merkaartor is requesting...
>
> What sudirectory tree/images do you have under
> "/2009-NM-DonaAna-mercartor/14"?
>
> - Chris -
>
>
> Seems to me that the problem is related to the sign of the latitude. For
> instance the tile
> http://maps.rhombic.net/2009-NM-DonaAna-mercartor/9/104/304.pngcorresponds tohttp://a.tile.openstreetmap.org/9/104/304.pngwhich is located in this area
> http://www.openstreetmap.org/?lat=-32.474&lon=-106.108&zoom=9&layers=B000FTFNotice that the latitude has opposite sign of the link you posted.
>
> Modifying the latitude inyour link results in
> http://www.openstreetmap.org/?lat=-32.2942&lon=-106.7419&zoom=14&layers=B000FTF,
> which contains the tile
> http://a.tile.openstreetmap.org/14/3333/9746.png.
> This tile do exist on the server:
> http://maps.rhombic.net/2009-NM-DonaAna-mercartor/14/3333/9746.png
>
>
Thanks for finding this out. So the problem would lie in the way the tiles
were generated, right?
They were generated from bottom-left rather than top-left?

- Chris -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/merkaartor/attachments/20100416/2f5120c9/attachment.html>


More information about the Merkaartor mailing list