There's no on the fly reprojection of an exisiting cache, so to be
able to serve the same tileset/layer under multiple SRSs you'll need
to have one cache per srs/grid.

--
thomas

On 25 August 2016 at 15:33, Travis Kirstine
<tkirst...@firstbasesolutions.com> wrote:
> Unrelated question: Can mapcache handle multiple srs in a WMS service (out)?
>
> -----Original Message-----
> From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
> Sent: August-25-16 8:56 AM
> To: Travis Kirstine <tkirst...@firstbasesolutions.com>
> Cc: Lime, Steve D (MNIT) <steve.l...@state.mn.us>; Jukka Sirviö 
> <jukka.sir...@mipro.fi>; mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] mapcache question
>
> The reprojection is done inside MapCache, i.e. as a client of the original 
> tiles. You don't need an additional WMS :)
>
> --
> thomas
>
> On 25 August 2016 at 14:50, Travis Kirstine 
> <tkirst...@firstbasesolutions.com> wrote:
>> I believe that there still would be an issue as the reprojection from X to 
>> Y, the reprojection would need to be done on the source WMTS side.  I guess 
>> you could proxy the source WMTS using mapserver with the gdal mini driver  
>> and reproject to create a WMS to feed mapcache?
>>
>> -----Original Message-----
>> From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
>> Sent: August-25-16 3:55 AM
>> To: Lime, Steve D (MNIT) <steve.l...@state.mn.us>
>> Cc: Travis Kirstine <tkirst...@firstbasesolutions.com>; Jukka Sirviö
>> <jukka.sir...@mipro.fi>; mapserver-users@lists.osgeo.org
>> Subject: Re: [mapserver-users] mapcache question
>>
>> Jukka,
>> in master, there is also support for any GDAL dataset as a mapcache source 
>> (i.e. in addition to wms). If you use that in addition to a GDAL 
>> TMS/WMS/WMTS minidriver you'll be able to reproject/store third party tiles 
>> on the fly.
>>
>> --
>> thomas
>>
>> On 24 August 2016 at 21:58, Lime, Steve D (MNIT) <steve.l...@state.mn.us> 
>> wrote:
>>> I would think reprojection of individual tiles into another set of tiles 
>>> that would stitch back together without artifacts would be difficult. I 
>>> thought MapCache did support native MapServer mode=map as a source which 
>>> could useful if GDAL supports WMTS and you could create a corresponding 
>>> MapServer layer.
>>>
>>> -----Original Message-----
>>> From: mapserver-users
>>> [mailto:mapserver-users-boun...@lists.osgeo.org]
>>> On Behalf Of Travis Kirstine
>>> Sent: Wednesday, August 24, 2016 1:14 PM
>>> To: Jukka Sirviö <jukka.sir...@mipro.fi>;
>>> mapserver-users@lists.osgeo.org
>>> Subject: Re: [mapserver-users] mapcache question
>>>
>>> Jukka,
>>>
>>> According to the docs mapcache only support WMS as input.
>>>
>>> " A source is a service mod-mapcache can query to obtain image data. This 
>>> is typically a WMS server accessible by a URL. (There are currently no 
>>> sources other than WMS implemented, though others may be added later if the 
>>> need arises)"
>>>
>>> If this is still true then your proposed chain will not work.
>>>
>>> MapProxy will support a tiled source and I know TMS works  (not sure
>>> about WMTS) and handle the reprojection
>>>
>>> Regards
>>>
>>> -----Original Message-----
>>> From: mapserver-users
>>> [mailto:mapserver-users-boun...@lists.osgeo.org]
>>> On Behalf Of Jukka Sirviö
>>> Sent: August-24-16 10:09 AM
>>> To: mapserver-users@lists.osgeo.org
>>> Subject: [mapserver-users] mapcache question
>>>
>>>
>>> Hello,
>>> I would like to put a mapcache to be in the middle, in the following chain:
>>>
>>> 1) original wmts service in local/national crs x   -->  2) mapcache wmts, 
>>> reprojection to world-wide crs y (3857) -->  3) user interface (OpenLayers 
>>> v2, Qgis), also in crs y
>>>
>>> Mapcache was compiled, and is working a-ok with demo data. But I have 
>>> trouble to configure mapcache to work as a part in the above chain. As 
>>> planned, Mapcache should work as a WMTS client down towards target 1 and 
>>> WMTS server up against target 3, ie. kind of a proxy with crs reprojection 
>>> and basic auth. Anyway, does this make any sense at all, or is the draft 
>>> totally irrational?
>>>
>>> If the draft is reasonable, could you give some hints on how to proceed 
>>> related to configuration with mapcache.xml?
>>>
>>>
>>>
>>> -Jukka
>>>
>>> ________________________________
>>>
>>> Tämä sähköpostiviesti (liitteineen) saattaa sisältää luottamuksellista 
>>> tietoa, joka on tarkoitettu vain vastaanottajalleen. Jos et ole oikea 
>>> vastaanottaja, ilmoita viestin lähettäjälle tapahtuneesta virheestä ja 
>>> tuhoa viesti välittömästi. Viestin luvaton julkaiseminen, kopioiminen, 
>>> jakelu tai muu käyttö tai toimenpiteisiin ryhtyminen sen perusteella on 
>>> ehdottomasti kielletty.
>>>
>>> This message (including any attachments) may contain confidential 
>>> information intended for the person or entity to which it is addressed. If 
>>> you are not the intended recipient, notify the sender and delete this 
>>> message immediately. Notice that disclosing, copying, distributing or any 
>>> other use of the message and its information, or taking any action based on 
>>> it, is strictly prohibited.
>>>
>>> ________________________________
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to