Re: [MapServer-users] [EXTERN]Re: WG: mapcache tms it not working properly

2023-04-21 Thread STEINER Andreas
Hello, 

 

i have another hint maybe. 

The source is a mapproxy layer where the source of the mapproxy layer has a 
GLOBAL_WEBMERCATOR grid --> EPSG:3857 and origin north-west (top-left).

I don’t know how to configure mapcache and mapproxy that the output of that 
layer gets a bottom-left origin since tms only supports bottom-left. 

So we know the issue is that we have different origins at source and target. 

Maybe you know how I should configure it. 

Thanks in advance. 

 

Von: Travis Kirstine mailto:traviskirst...@gmail.com> > 
Gesendet: Dienstag, 11. April 2023 20:44
An: STEINER Andreas < <mailto:astei...@eurofunk.com> astei...@eurofunk.com>; 
mapserver-users < <mailto:mapserver-users@lists.osgeo.org> 
mapserver-users@lists.osgeo.org>
Betreff: [EXTERN]Re: [MapServer-users] WG: mapcache tms it not working properly

 


Sie erhalten nicht oft eine E-Mail von  <mailto:traviskirst...@gmail.com> 
traviskirst...@gmail.com.  <https://aka.ms/LearnAboutSenderIdentification> 
Erfahren Sie, warum dies wichtig ist



My guess top-left is your issue, I believe the tms standard is 
for bottom-left

 

 

 

 

 

 

 

 

 

On Tue, 11 Apr 2023 at 08:44, STEINER Andreas < <mailto:astei...@eurofunk.com> 
astei...@eurofunk.com> wrote:

Hello everyone, 

 

I set up a mapcache layer for a customer of mine. 
The layer looks like this: 

 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png=05%7C01%7Casteiner%40eurofunk.com%7Cdf03d26da26b45637bd208db3b1db2cb%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638169639115429132%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=my5qLpPpw0gdE6FW8aEz6g3VdUqhUn%2BV4d5UJhJW2H0%3D=0>
 
https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png

 

When requesting the layer via wmts or wms everything works fine. 
My customer requires TMS – when I request the tiles with tms the tiles are not 
at the right place.

 

Z0: At Z0 the tiles match: 

 

 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png=05%7C01%7Casteiner%40eurofunk.com%7Cdf03d26da26b45637bd208db3b1db2cb%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638169639115429132%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=Uvn%2FQE5RrO%2FBghsTx7R%2F9suGgSQ%2FL8C71U5Fk%2FimXDI%3D=0>
 
https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png

 

At Z1 they are not at the same place: 
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png=05%7C01%7Casteiner%40eurofunk.com%7Cdf03d26da26b45637bd208db3b1db2cb%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638169639115429132%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=kfCNWkGnmxtuIMNPm7B2AzYgAePOZyIjXw5%2Fd%2B1hU%2Fk%3D=0>
 
https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png

And e.g. at Z6 it looks like this: 

 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png=05%7C01%7Casteiner%40eurofunk.com%7Cdf03d26da26b45637bd208db3b1db2cb%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638169639115429132%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C=OYKHZx9vLqNQ17tQMu8QLrTfP%2BSFC4JxBJZWhKxXGFg%3D=0>
 
https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png

 

That’s the configuration for the GRID: 

  

  

GoogleMapsCompatible


urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible

  

  -20037508.3427892480 -20037508.3427892480 20037508.3427892480 
20037508.3427892480

  EPSG:3857

  256 256

  EPSG:900913

  top-left

  156543.03392800014 78271.5169634 39135.7584829 
19567.8792402 9783.93962049996 4891.96981024998 2445.98490512499 
1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106 
76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155 
4.77731426794937 2.388657133974685 1.1943285668550503 
0.5971642835598172

  

 

 

I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it’s the 
same result. 

The url I used looks like this:  
<http://XX%20/mapcache/tms/1.0.0/%3ctileset%3e@WORLD/%7bz%7d/%7bx%7d/%7by%7d.png>
 http://XX /mapcache/tms/1.0.0/@WORLD/{z}/{x}/{y}.png

Maybe someone has an idea why it doesn’t wo

Re: [MapServer-users] [EXTERN]Re: WG: mapcache tms it not working properly

2023-04-12 Thread STEINER Andreas
Hello, thanks for the Answer, 

 

I tried using botton-left but it’s the same behavior. 

 

Best regards

Andy

 

Von: Travis Kirstine  
Gesendet: Dienstag, 11. April 2023 20:44
An: STEINER Andreas ; mapserver-users 

Betreff: [EXTERN]Re: [MapServer-users] WG: mapcache tms it not working properly

 


Sie erhalten nicht oft eine E-Mail von traviskirst...@gmail.com 
<mailto:traviskirst...@gmail.com> . Erfahren Sie, warum dies wichtig ist 
<https://aka.ms/LearnAboutSenderIdentification> 



My guess top-left is your issue, I believe the tms standard is 
for bottom-left

 

 

 

 

 

 

 

 

 

On Tue, 11 Apr 2023 at 08:44, STEINER Andreas mailto:astei...@eurofunk.com> > wrote:

Hello everyone, 

 

I set up a mapcache layer for a customer of mine. 
The layer looks like this: 

https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165591-1fb8d097-70e1-487d-91c6-152291b3ae43.png=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=iV79UT%2B1ZVSOVeZVN2Sii0wbTNmdNlNyM5whU3wD%2F9Y%3D=0>
 

 

When requesting the layer via wmts or wms everything works fine. 
My customer requires TMS – when I request the tiles with tms the tiles are not 
at the right place.

 

Z0: At Z0 the tiles match: 

 

https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165657-742f7944-f2a4-444c-9a82-24c10574bdc8.png=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=bXlLrDp%2BKMSyATD8fq675Ch8g6ZMtU2RZMiorgUXr0M%3D=0>
 

 

At Z1 they are not at the same place: 
https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165693-29e2399a-04cd-4df0-b63a-1ab3f606ce92.png=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=GV5eE9yGbSdSg0RjNlOAubjpAuQKOxMgDkPE6Ba175o%3D=0>
 

And e.g. at Z6 it looks like this: 

https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png
 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F59861665%2F231165727-a638e7d8-8803-4c81-a2bd-7ff70ed04020.png=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=Cdu9ZTIog0K75%2BoabkexCREen5zIqWW%2Berxw3rcwBvM%3D=0>
 

 

That’s the configuration for the GRID: 

  

  

GoogleMapsCompatible


urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible

  

  -20037508.3427892480 -20037508.3427892480 20037508.3427892480 
20037508.3427892480

  EPSG:3857

  256 256

  EPSG:900913

  top-left

  156543.03392800014 78271.5169634 39135.7584829 
19567.8792402 9783.93962049996 4891.96981024998 2445.98490512499 
1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106 
76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155 
4.77731426794937 2.388657133974685 1.1943285668550503 
0.5971642835598172

  

 

 

I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it’s the 
same result. 

The url I used looks like this: http://XX /mapcache/tms/1.0.0/ 
<http://XX%20/mapcache/tms/1.0.0/%3ctileset%3e@WORLD/%7bz%7d/%7bx%7d/%7by%7d.png>
 @WORLD/{z}/{x}/{y}.png

Maybe someone has an idea why it doesn’t work. 

 

Thanks in advance. 

 

Best regards

Andy

 

___
MapServer-users mailing list
MapServer-users@lists.osgeo.org <mailto:MapServer-users@lists.osgeo.org> 
https://lists.osgeo.org/mailman/listinfo/mapserver-users 
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users=05%7C01%7Casteiner%40eurofunk.com%7Cbec421cd442c4b17a87f08db3b186bec%7C6d4fa94918de4214a28c3e8c7fa9c25b%7C0%7C0%7C638168748300394319%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI

[MapServer-users] WG: mapcache tms it not working properly

2023-04-11 Thread STEINER Andreas
Hello everyone, 

 

I set up a mapcache layer for a customer of mine. 
The layer looks like this: 

https://user-images.githubusercontent.com/59861665/231165591-1fb8d097-70e1-4
87d-91c6-152291b3ae43.png

 

When requesting the layer via wmts or wms everything works fine. 
My customer requires TMS - when I request the tiles with tms the tiles are
not at the right place.

 

Z0: At Z0 the tiles match: 

 

https://user-images.githubusercontent.com/59861665/231165657-742f7944-f2a4-4
44c-9a82-24c10574bdc8.png

 

At Z1 they are not at the same place: 
https://user-images.githubusercontent.com/59861665/231165693-29e2399a-04cd-4
df0-b63a-1ab3f606ce92.png

And e.g. at Z6 it looks like this: 

https://user-images.githubusercontent.com/59861665/231165727-a638e7d8-8803-4
c81-a2bd-7ff70ed04020.png

 

That's the configuration for the GRID: 

  

  

GoogleMapsCompatible

 
urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible

  

  -20037508.3427892480 -20037508.3427892480 20037508.3427892480
20037508.3427892480

  EPSG:3857

  256 256

  EPSG:900913

  top-left

  156543.03392800014 78271.5169634 39135.7584829
19567.8792402 9783.93962049996 4891.96981024998 2445.98490512499
1222.992452562495 611.4962262813797 305.74811314055756 152.87405657041106
76.43702828507324 38.21851414253662 19.10925707126831 9.554628535634155
4.77731426794937 2.388657133974685 1.1943285668550503
0.5971642835598172

  

 

 

I also tried to use a EPSG:4326 with a extend -180 -180 180 180 but it's the
same result. 

The url I used looks like this: http://XX /mapcache/tms/1.0.0/
 @WORLD/{z}/{x}/{y}.png

Maybe someone has an idea why it doesn't work. 

 

Thanks in advance. 

 

Best regards

Andy









smime.p7s
Description: S/MIME Cryptographic Signature
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users