Mapwingis 4.9.3 Tiles problem

Nov 26, 2015 at 4:24 PM
Hi,

I'm using the Tiles class to download tiles from a custom provider (id=1025). The problem is that the y-coordinates are flipped and the result looks weird.

Apparently the server handles tiles in TMS but Mapwingis in XYZ. There is a formula to correct this but I have no control to the y-coordinates in the url that mapwingis sends to the server. Is there a way to tell mapwingis to handle the tiles as TMS? Or other way to solve this problem?
Coordinator
Jan 21, 2016 at 2:22 PM
Sorry for replying so late, I'm catching up with the questions.

Can you share the url of the TMS provider so we can try to fix this? I think the provider should report if it is using flipped coordinates.

A work-around is to use a XML file to load the data. That should work because in the XML-file you can set that the coordinates are flipped.
One drawback though, the tiles are not cached so it will be a bit slower.
Here's some info about the XML format: http://www.gdal.org/frmt_wms.html