Re: [OSM-talk] Different tile numbers in MapTiler than other tile sets
On 11 May 2010 14:35, Andy Allan wrote: > 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? I worked around the issue in the end by re-purposing a script[1] to move tiles from TMS to Google format tile names. If anybody else is in a similar situation and wants a copy of the updated script, just give me a shout. [1] http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ Cheers, Dan -- Dan Karran d...@karran.net www.dankarran.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Different tile numbers in MapTiler than other tile sets
On Tue, May 11, 2010 at 2:51 PM, Jukka Rahkonen wrote: > Andy Allan gmail.com> writes: > >> 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? > > TMS standard comes originally from the Open source GIS world, see > http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification. Are you suggesting > to > ignore Open source when industry starts to accept the same concepts :) We've been ignoring Open Source GIS standards since forever, because they generally suck. Note the lack of WMS and/or WFS-T running on any of our servers :-) This reminds me of sitting around with various OSGeo+OCG people at FOSS4G in Cape Town, with them all berating their own standards for being overcomplicated and impossible to implement! We've got nothing to be ashamed of by focussing on doing things better. Cheers, Andy ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Different tile numbers in MapTiler than other tile sets
On 11 May 2010 14:45, Jukka Rahkonen wrote: > There is an active ticket about making Potlatch to support TMS tiling schema. > Richard Fairhurst is willing to implement it but he is busy. It will be a > great > feature when it is ready because MapTiler is so simple to use. And because it > is > using GDAL it supports very many formats and projections. I found that ticket just after I posted, when I realised is was TMS that was being used. That'd be a great option to have if that's the standard that's being moved towards. I was quite pleased at how easy to use MapTiler was, and I guess the easier the process, the more likely people would be to let us use their geodata. > Another possibility would be to make MapTiler to create tiles according to > Google naming schema but I guess that Klokan is busy too, maybe with the OGC > WTMS http://www.opengeospatial.org/standards/wmts That'd be handy too. > Anyway, some day Potlatch will support TMS tiles. Cheers, Dan -- Dan Karran d...@karran.net www.dankarran.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Different tile numbers in MapTiler than other tile sets
On 11 May 2010 14:35, Andy Allan 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 d...@karran.net www.dankarran.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Different tile numbers in MapTiler than other tile sets
Dan Karran karran.net> writes: > > 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. > > http://themap.im/tiles/2007_OLM_SW_tiff/13/3987/5565.png > http://a.tile.openstreetmap.org/13/3987/2626.png > > Can anyone point me in the right direction? Am I just using the wrong > settings? Hi, There is an active ticket about making Potlatch to support TMS tiling schema. Richard Fairhurst is willing to implement it but he is busy. It will be a great feature when it is ready because MapTiler is so simple to use. And because it is using GDAL it supports very many formats and projections. Another possibility would be to make MapTiler to create tiles according to Google naming schema but I guess that Klokan is busy too, maybe with the OGC WTMS http://www.opengeospatial.org/standards/wmts Anyway, some day Potlatch will support TMS tiles. ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] Different tile numbers in MapTiler than other tile sets
On Tue, May 11, 2010 at 10:40 AM, Dan Karran 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. > > http://themap.im/tiles/2007_OLM_SW_tiff/13/3987/5565.png > http://a.tile.openstreetmap.org/13/3987/2626.png > > Can anyone point me in the right direction? Am I just using the wrong > settings? 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 ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
[OSM-talk] Different tile numbers in MapTiler than other tile sets
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. http://themap.im/tiles/2007_OLM_SW_tiff/13/3987/5565.png http://a.tile.openstreetmap.org/13/3987/2626.png Can anyone point me in the right direction? Am I just using the wrong settings? Cheers, Dan -- Dan Karran d...@karran.net www.dankarran.com ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk