{"action":"created","issue":{"url":"https://api.github.com/repos/mapserver/mapcache/issues/123","labels_url":"https://api.github.com/repos/mapserver/mapcache/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/mapserver/mapcache/issues/123/comments","events_url":"https://api.github.com/repos/mapserver/mapcache/issues/123/events","html_url":"https://github.com/mapserver/mapcache/issues/123","id":71185972,"number":123,"title":"Mapcache problem with reverse axis projection","user":{"login":"tudorbarascu","id":3179646,"avatar_url":"https://avatars.githubusercontent.com/u/3179646?v=3","gravatar_id":"","url":"https://api.github.com/users/tudorbarascu","html_url":"https://github.com/tudorbarascu","followers_url":"https://api.github.com/users/tudorbarascu/followers","following_url":"https://api.github.com/users/tudorbarascu/following{/other_user}","gists_url":"https://api.github.com/users/tudorbarascu/gists{/gist_id}","starred_url":"https://api.github.com/users/tudorbarascu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tudorbarascu/subscriptions","organizations_url":"https://api.github.com/users/tudorbarascu/orgs","repos_url":"https://api.github.com/users/tudorbarascu/repos","events_url":"https://api.github.com/users/tudorbarascu/events{/privacy}","received_events_url":"https://api.github.com/users/tudorbarascu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapserver/mapcache/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-27T05:42:26Z","updated_at":"2015-09-09T09:12:30Z","closed_at":"2015-09-08T07:42:33Z","body":"Hi,\r\n\r\nEPSG:3844, the Romania projection is one of the projections with N-E axis order.\r\nFor the local extent that I'm using,\r\n                 minlon, minlat,  ....\r\n``<extent>388512,332495,464441,454917</extent>``,\r\nmapcache outputs an incorrect Top Left corner of the computed matrixes,\r\nand that is:\r\n\r\n``<TopLeftCorner>475855.000000 388512.000000</TopLeftCorner>``\r\ninstead of the correct one:\r\n``<TopLeftCorner>388512.0 454917.0</TopLeftCorner>``  (minLon,maxLat).\r\n\r\nIs there a way in mapcache to say that it's a reverse (yx) axis projection?\r\nThe source is a 1.3.0 WMS server (Qgis).\r\nThank you,\r\nTudor\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mapserver/mapcache/issues/comments/138848649","html_url":"https://github.com/mapserver/mapcache/issues/123#issuecomment-138848649","issue_url":"https://api.github.com/repos/mapserver/mapcache/issues/123","id":138848649,"user":{"login":"tbonfort","id":358469,"avatar_url":"https://avatars.githubusercontent.com/u/358469?v=3","gravatar_id":"","url":"https://api.github.com/users/tbonfort","html_url":"https://github.com/tbonfort","followers_url":"https://api.github.com/users/tbonfort/followers","following_url":"https://api.github.com/users/tbonfort/following{/other_user}","gists_url":"https://api.github.com/users/tbonfort/gists{/gist_id}","starred_url":"https://api.github.com/users/tbonfort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbonfort/subscriptions","organizations_url":"https://api.github.com/users/tbonfort/orgs","repos_url":"https://api.github.com/users/tbonfort/repos","events_url":"https://api.github.com/users/tbonfort/events{/privacy}","received_events_url":"https://api.github.com/users/tbonfort/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T09:12:30Z","updated_at":"2015-09-09T09:12:30Z","body":"From what I understand, the top-left corner in mapcache terms is *always* the (minx,maxy) point. It is returned to the client as minx,maxy or maxy,minx depending on the axis ordering dictated by the CRS.\r\nI'm not saying there's nothing to fix in mapcache, but for the time being my understanding is that mapcache is doing the correct thing here.\r\n\r\n``` Top left should be for my case minLat, maxLon``` => that's the bottom-right corner\r\n\r\nI'm not sure you're getting the meaning of mapcache's \"origin\" modifier: it only applies to the alignment of the stored tiles, and comes into effect when your choice of resolutions does not align to the extent of your grid (i.e. not for WGS84 and googlemapscompatible grids which use power-of-two resolutions), see for example https://lists.osgeo.org/pipermail/mapserver-users/2014-October/077061.html"}}