[mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients -

Mark Volz MarkVolz at co.lyon.mn.us
Thu Jul 11 13:27:16 PDT 2019


James and Others,

Exactly how should SRS in the grid?  Should <srs> change from "EPSG:103749" to " ESRI::103744"

   <grid name="LyonCC">
      <metadata>
         <title>Lyon County, MN</title>
      </metadata>
      <extent>352256 90112 614400 352256</extent>
      <srs>EPSG:103749</srs>
      <resolutions>1024 512 256 128 64 32 16 8 4 2 1 0.5 0.25</resolutions>
	  <units>ft</units>
      <size>256 256</size>
   </grid>




Also,
I did try setting up a mapcache and I think things are starting to work.  However it bugs me because I don’t know exactly why they are working, and if there is anything else I need to do to make the WMTS work even better for other clients.

After making these changes on mapcache on my local machine everything worked fine in ArcMap
*I removed all of the other projections except for Lyon County Coordinates 103749 (note 103744 is for another projection)
*I changed the resolutions to make sure they are powers of two.

Remaining questions
1)Is it required that WMTS services have resolutions with a power of 2?
2)Do I need to share my data at a certain DPI?   I have two ArcGIS test services.  With ArcGIS Online one service works with a DPI of 96, the other with a DPI of 72 does not work in ArcGIS Online.   This may be a limitation of ArcGIS Online as both services work in ArcMap.
3)Is there a reason why ArcMap only wanted to consume WGS_84 instead of Lyon County Coordinates?

Thank You!

Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator


-----Original Message-----
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> On Behalf Of mapserver-users-request at lists.osgeo.org
Sent: Thursday, July 11, 2019 2:00 PM
To: mapserver-users at lists.osgeo.org
Subject: mapserver-users Digest, Vol 138, Issue 8

SWHHS/LYON/LINCOLN COUNTY SECURITY NOTICE:
This email originated from an external sender. Exercise caution before clicking on any links or attachments and consider whether you know the sender. For more information please contact IT support.
________________________________

Send mapserver-users mailing list submissions to
        mapserver-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%2fmapserver-users&c=E,1,ANUOwSyHB32pc0mB6lckKm9GYPsZo3v4I58sBJ1Q-p6gyPiwn2RpnKtexO4K2SWwpkIurPglLxK--lnOH9HNn95yrTWIngPzAb_jadmfbe6KQ_No2YLwtvnGbW4,&typo=1
or, via email, send a message with subject or body 'help' to
        mapserver-users-request at lists.osgeo.org

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

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


Today's Topics:

   1. Re: Trouble when serving mapcache WMTS to ArcMap  clients -
      custom (Passmore, James H.)


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

Message: 1
Date: Thu, 11 Jul 2019 16:19:17 +0000
From: "Passmore, James H." <jpass at bgs.ac.uk>
To: "mapserver-users at lists.osgeo.org"
        <mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] Trouble when serving mapcache WMTS to
        ArcMap  clients - custom
Message-ID:
        <CWLP123MB2564D9640030705A0EB53729EBF30 at CWLP123MB2564.GBRP123.PROD.OUTLOOK.COM>

Content-Type: text/plain; charset="utf-8"

I see you have in the GetCapabilities file <ows:SupportedCRS>urn:ogc:def:crs:EPSG:6.3:103744</ows:SupportedCRS>

That's surely wrong, as 103744 is not a valid EPSG code, but one defined by ESRI (https://github.com/Esri/projection-engine-db-doc/blob/master/proj4/esri)

I'm not sure if it would work if you stated it like  urn:ogc:def:crs:ESRI::103744 or just ESRI::103744, but it's possible that ArcMap is trying to do an EPSG lookup, failing and reverting to WGS84

James

Message: 1
Date: Wed, 10 Jul 2019 18:43:05 +0000
From: Mark Volz <MarkVolz at co.lyon.mn.us>
To: "mapserver-users at lists.osgeo.org"
<mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] Trouble when serving mapcache WMTS to ArcMap clients - custom county projection for Minnesota?
Message-ID: <6290ae2cff5b4550891c4480d2eb837f at co.lyon.mn.us>
Content-Type: text/plain; charset="utf-8"

Hello,

I am having trouble serving a Mapserver / Mapcache WMTS service to ArcMAP clients when using my counties projection which is 103749 for Lyon County, MN.  At most tile zoom levels the air photo are further South than where they should otherwise be located.  The only exception is that around 1:6000 the image lines up perfectly.  When I connect ArcMAP to the Mapcache Service using WMS the service works fine however ArcGIS wants to consume the service in WGS_84 instead of county projections.

Is there anything I need to do so that my WMTS service works better between MapServer(Mapcache), ArcGIS, and possibly QGIS?

Reference:
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fgeomoose.lyonco.org%2fmapcache%2fwmts%2f1.0.0%2fWMTSCapabilities.xml&c=E,1,VAvarNs7aGQKm-cK9kstof_MLmX9XuLjGHuOg5DEXzAEjdJKbLcWTbEGjt-Ql_-yS1OppE29i5-0hyBUhwP2UR0scAyxP7O8tCtRChjdfa6yiTHy8KOY&typo=1


Thank You!
Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator



This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system.
UK Research and Innovation has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UK Research and Innovation does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses.
Opinions, conclusions or other information in this message and attachments that are not related directly to UK Research and Innovation business are solely those of the author and do not represent the views of UK Research and Innovation.


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

Subject: Digest Footer

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

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

End of mapserver-users Digest, Vol 138, Issue 8
***********************************************


More information about the mapserver-users mailing list