On 10/13/2015 4:15 PM, Robert Sanson wrote:
Thanks Thomas. I do not have labels, so would you still recommend
metatiles for performance reasons? Would you suggest 3 3 or 5 5 for a
Mapserver WMS backend?

<metatile>3 3</metatile>

Robert,

Regarding labels you can set a metabuffer value in both the mapcache.xml and the mapfile.

  <tileset name="osm-curvature">
    <source>osm-curvature</source>
    <cache>disk</cache>
    <grid>WGS84</grid>
    <grid>g</grid>
    <format>PNGQ_FAST</format>
    <metatile>5 5</metatile>
    <!-- metabuffer must be the abs() of what is in the mapfile -->
    <metabuffer>20</metabuffer>        <!-- THIS -->
    <expires>3600</expires>
  </tileset>

and in the mapfile:

    WEB
        METADATA
            labelcache_map_edge_buffer "-20"   ## <!-- THIS -->
            "ows_title"     "OSMCurvature"
            ...
        END
    END

-Steve W

Robert

-----Original Message----- From: thomas bonfort
[mailto:[email protected]] Sent: Tuesday, 13 October 2015 8:07
p.m. To: Robert Sanson <[email protected]> Cc:
[email protected] Subject: Re: [mapserver-users]
Mapcache - optimum format for orthophotos?

in the vast majority of the cases, you'll want to have mapcache use
metatiles, be serving PNGs from your WMS server
(<format>image/png</format> in your mapcache <source>), and storing
your tiles as JPG (<format>JPG</format> in your <tileset>). If you
need to preserve transparency on your orthophoto edges, you can
choose to store the tiles as a"mixed" format instead of pure JPG.

-- thomas

On 12 October 2015 at 22:13, Robert Sanson
<[email protected]> wrote:
Hi

What is the recommended format for serving and storing true colour
orthophotos via Mapcache if we wish to preserve maximum detail? The
source data are uncompressed GeoTiffs served as WMS by Mapserver.

Many thanks,

Robert Sanson _______________________________________________
mapserver-users mailing list [email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users
mailing list [email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to