[Geomoose-users] TMS layers in GeoMOOSE 3.x

Mark Volz MarkVolz at co.lyon.mn.us
Mon Dec 20 07:42:09 PST 2021


Brent and Jim,

Thank you for your replies.  
I am using MapCache to serve out imagery in Web Mercator (GoogleBingArcGISCompatible).  The Web Mercator tiles are working correctly in ArcGIS as well as QGIS when using WMTS.  Unfortunately, I am still having a couple issues:

 Issue 1:
*GeoMOOSE is requesting a tile that it out of range.  I am not sure what is causing this issue:
 	GeoMOOSE is working with other XYZ tile servers such as OpenLayers.
	MapCache is working with ArcGIS and QGIS clients.
	The tiles requested and served  are 256*256.
	I think the tiles should be working however I am still getting an error that my tiles are out of range even after I checked to make sure that I did not swap the X and Y.  One error is that MapCache is reporting tile y=189759 is not within 334028 to 334954.  

Issue 2:
*Firefox is reporting that a cross-origin request is blocked.

Please let me know if you might know how I can fix these problems.  For reference I the public server and configuration information is below.

Thank You!


The public server is:
https://geomoose.lyonco.org/lyonmapcache/tms/1.0.0/LyonPictoPhotos2020@GoogleBingArcGISCompatible/

GeoMOOSE Configuration:
<map-source name="Picto2020BackgroundTMS" type="xyz" transitionEffect="resize">
        <layer name="LyonPictoPhotos2020"/>
		<url>https://geomoose.lyonco.org/lyonmapcache/tms/1.0.0/LyonPictoPhotos2020@GoogleBingArcGISCompatible/{z}/{y}/{x}.jpg</url>
		<type>"jpeg"</type>
</map-source>

MapCache Configuration: 
<grid name="GoogleBingArcGISCompatible">
        <metadata>
            <title>GoogleBingArcGISCompatible</title>
            <WellKnownScaleSet>urn:ogc:def:wkss:OGC:1.0:GoogleMapsCompatible</WellKnownScaleSet>
        </metadata>
        <extent>-20037508.3427892480 -20037508.3427892480 20037508.3427892480 20037508.3427892480</extent>
        <srs>EPSG:3857</srs>
        <srsalias>EPSG:900913</srsalias>
        <units>m</units>
        <size>256 256</size>
     	<resolutions>156543.0339280410 78271.51696402048 39135.75848201023 19567.87924100512 9783.939620502561 4891.969810251280 2445.984905125640 1222.992452562820 611.4962262814100 305.7481131407048 152.8740565703525 76.43702828517624 38.21851414258813 19.10925707129406 9.554628535647032 4.777314267823516 2.388657133911758 1.194328566955879 0.5971642834779395 0.29858214173896975 0.149291070869484875</resolutions>
    </grid>


-----Original Message-----
From: Geomoose-users <geomoose-users-bounces at lists.osgeo.org> On Behalf Of geomoose-users-request at lists.osgeo.org
Sent: Friday, December 17, 2021 2:10 PM
To: geomoose-users at lists.osgeo.org
Subject: Geomoose-users Digest, Vol 124, Issue 6

Caution:

This email was sent from an external account. If you were expecting an internal email you would not see this notice. Please exercise caution before clicking on any links. Report any suspicious email to the Help Desk.

Question Everything: Were you expecting this email?

________________________________

Send Geomoose-users mailing list submissions to
        geomoose-users at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.osgeo.org%2fmailman%2flistinfo%2fgeomoose-users&c=E,1,74QPL10lc3lvjBIAKpTYU4U6ANmKCyHwwPDfzF7xO7hTRA07Akcpei38OQtBsHdxG4mFl407Pf__gPlOrHZHs3b2Lvqu1N5Y7iOlZ_mV_EkMNA,,&typo=1
or, via email, send a message with subject or body 'help' to
        geomoose-users-request at lists.osgeo.org

You can reach the person managing the list at
        geomoose-users-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Geomoose-users digest..."


Today's Topics:

   1. Re: TMS layers in GeoMOOSE 3.x (Jim Klassen)
   2. Re: TMS layers in GeoMOOSE 3.x (Brent Fraser)


----------------------------------------------------------------------

Message: 1
Date: Fri, 17 Dec 2021 14:01:42 -0600
From: Jim Klassen <klassen.js at gmail.com>
To: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] TMS layers in GeoMOOSE 3.x
Message-ID: <e91df770-4391-4bf8-c519-dea7b283ec32 at gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

The part I'm not sure about is if there is still support for custom tile grids.? At first glance it looks like only the default grid is supported (I don't see anything in GeoMoose 3 to override the OpenLayers tileGridFunction or specify a different tileGrid).

On 12/16/21 12:42 PM, Brent Fraser wrote:
> Hi Mark.
>
> ? i did some TMS testing a while back and used:
>
> ? <!-- - - - - - - - ?TYPE = "xyz -> TMS" ? - - - - - - - - - - - - 
> --> ? ? <map-source name="TMS-tile" type="xyz"> ? ? ? ? <layer 
> name="imagery"/> 
> <url>http://localhost/gm3-demo-data/demo/tiles/TMS/MNDAKO075061_s3/{z}
> /{x}/{-y}.png</url>
> ? ? </map-source>
>
> ? Note the *{-y}* . ?And the tiles I used are not in the standard gm3 
> demo data; I just put my test data there on my local machine.
>
> Best Regards,
> Brent Fraser
>
> ----------------------------------------------------------------------
> --
> *From*: "Mark Volz" <MarkVolz at co.lyon.mn.us>
> *Sent*: 12/16/21 11:12 AM
> *To*: "geomoose-users at lists.osgeo.org" 
> <geomoose-users at lists.osgeo.org>
> *Subject*: [Geomoose-users] TMS layers in GeoMOOSE 3.x
>
> Hello,
>
> Can we add TMS layers to GeoMOOSE 3.x? In the older version of 
> GeoMOOSE I had used TMS to connect to MapCache. ?Please let me know if 
> I can access TMS layers and if I should do something different.
>
> Thank You
>
> GM 2.x code to access TMS:
>
> <map-source name="Picto2020BackgroundTMS" type="tms"
> projection="EPSG:103749" tiled="true" width="512" height="512"
> units="ft" transitionEffect="resize" tileOrigin="new 
> OpenLayers.LonLat(436450.000000,80000.000000)">
>
> ? ? ? ? <layer name="LyonPictoPhotos2020"/>
>
> <url>https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgeomoose.lyon
> co.org%2flyonmapcache%2ftms%2f&c=E,1,nNyoTdjfh9RgVdK3lApzcY6XMoRLXk12X
> 1WXLh3mDHulGL6EyFv2M47nK--AfakjJnZnGBqli8bfP4_LsuAuwmmlG4z3u1j2P_8MJz0
> ONeM,&typo=1</url>
>
> <type>"jpg"</type>
>
> </map-source>
>
> Sincerely,
>
> *Mark Volz, GISP*
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.osgeo.org%2f
> mailman%2flistinfo%2fgeomoose-users&c=E,1,cP5G0bOCRu16ZgLg2vRBUz7hCLHV
> fGqsfr-6L2BquHZ5L5c-PGjFBUwHCqZFF1z7244NYUfarp_EXZAiXA3lU6ItkyurftuojZ
> qRd6Gun3FDE_Hbr9-NsK8sHA,,&typo=1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://linkprotect.cudasvc.com/url?a=http%3a%2f%2flists.osgeo.org%2fpipermail%2fgeomoose-users%2fattachments%2f20211217%2f549ddc95%2fattachment-0001.html&c=E,1,FZQdRXm11FQiRG2NSuIlnXZoboLvpT1KdzcXL4EDU1PqyfOHSEmtz91kIrXd0y2ZQqKrCRbFkwxZXQ4mBwLqNaVz3oI3LelhzVclUDsDooqkYuEj2xJAi4EKx1U,&typo=1>

------------------------------

Message: 2
Date: Fri, 17 Dec 2021 13:09:26 -0700
From: "Brent Fraser" <bfraser at geoanalytic.com>
To: "Jim Klassen" <klassen.js at gmail.com>,
        <geomoose-users at lists.osgeo.org>
Subject: Re: [Geomoose-users] TMS layers in GeoMOOSE 3.x
Message-ID: <a482a66422e145b5898b2a1bf2ddf9ff at geoanalytic.com>
Content-Type: text/plain; charset="utf-8"

Yeah, I didn't test custom tile schemes; I was happy to see standard Web Mercator TMS work.

----------------------------------------
From: "Jim Klassen" <klassen.js at gmail.com>
Sent: 12/17/21 1:02 PM
To: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] TMS layers in GeoMOOSE 3.x

The part I'm not sure about is if there is still support for custom tile grids.  At first glance it looks like only the default grid is supported (I don't see anything in GeoMoose 3 to override the OpenLayers tileGridFunction or specify a different tileGrid).

On 12/16/21 12:42 PM, Brent Fraser wrote:
Hi Mark.

i did some TMS testing a while back and used:

<!-- - - - - - - -  TYPE = "xyz -> TMS"   - - - - - - - - - - - - -->
<map-source name="TMS-tile"               type="xyz">
<layer name="imagery"/>
<url>http://localhost/gm3-demo-data/demo/tiles/TMS/MNDAKO075061_s3/{z}/{x}/{-y}.png</url>
</map-source>

Note the {-y} .  And the tiles I used are not in the standard gm3 demo data; I just put my test data there on my local machine.

Best Regards,
Brent Fraser

----------------------------------------
From: "Mark Volz" <MarkVolz at co.lyon.mn.us>
Sent: 12/16/21 11:12 AM
To: "geomoose-users at lists.osgeo.org" <geomoose-users at lists.osgeo.org>
Subject: [Geomoose-users] TMS layers in GeoMOOSE 3.x

Hello,

Can we add TMS layers to GeoMOOSE 3.x?   In the older version of GeoMOOSE I had used TMS to connect to MapCache.  Please let me know if I can access TMS layers and if I should do something different.

Thank You

GM 2.x code to access TMS:

<map-source name="Picto2020BackgroundTMS" type="tms" projection="EPSG:103749" tiled="true" width="512" height="512" units="ft" transitionEffect="resize" tileOrigin="new OpenLayers.LonLat(436450.000000,80000.000000)">
<layer name="LyonPictoPhotos2020"/>
<url>https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgeomoose.lyonco.org%2flyonmapcache%2ftms%2f&c=E,1,MBcgmZ2Jt746HSIDYM-fYfYiG-drsRR3bix_7Rx1Dj5xJBw7YY6vCuo-UH6mdmq8RfP6X8jM3GWw3oTjYo3H0AAmCd7yzHlzUf68YVnqngoTpr5OEd0Rnw,,&typo=1</url>
<type>"jpg"</type>
</map-source>

Sincerely,
Mark Volz, GISP

_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.osgeo.org%2fmailman%2flistinfo%2fgeomoose-users&c=E,1,xMh-ls89WpsaYqxsdY3KvqA-_bWEW37TfBWnJy0OYSDMAcfQj6R_iwe1o6DMUoqSaUEfs7vG7wWIa2yntHNe9OcPxKvpoftNT6RBR9QeBwio75O_R6Q8j_b-cA,,&typo=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://linkprotect.cudasvc.com/url?a=http%3a%2f%2flists.osgeo.org%2fpipermail%2fgeomoose-users%2fattachments%2f20211217%2fbad87a52%2fattachment.html&c=E,1,EYywdTShGcYCuchQkuucmw9-Yv4smLgxO-l5j4dFy5zWrMpbWRUcVkuhGTNZdW41lDFo_O3Scddg9waB4dr79FGNrnf4zG7UIqUIglbcH0BzSlSD&typo=1>

------------------------------

Subject: Digest Footer

_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.osgeo.org%2fmailman%2flistinfo%2fgeomoose-users&c=E,1,jTx22kNkZlAEGrHPSGTzdwAGP2yGGknuw6b2oFnkqTqfSsfYrLpMgAWohBKzRP2hb02AQMrYpjOjC2pTZHNZxkxKu7GhMCzrtAXWrYdITo2EmQ6_wwYnZrXMf_bD&typo=1


------------------------------

End of Geomoose-users Digest, Vol 124, Issue 6
**********************************************



More information about the Geomoose-users mailing list