Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-14 Thread Schylberg Lars
There is even more details how to optimize the data if You read the blog entry 
from Paul R.

http://blog.cleverelephant.ca/2015/02/geotiff-compression-for-dummies.html

/Lars S.

From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Travis Kirstine
Sent: den 14 oktober 2015 14:24
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapcache - optimum format for orthophotos?

This is worth a read as well for info on how to optimize your images for 
mapserver.

http://mapserver.org/uk/optimization/raster.html




On Wed, Oct 14, 2015 at 6:56 AM, thomas bonfort 
<thomas.bonf...@gmail.com<mailto:thomas.bonf...@gmail.com>> wrote:
it depends on many factors... large metatiles are more efficient as
they usually impose less load on the WMS server, but can cause a
significant delay for the end user if you are populating your cache on
demand.
If you're preseeding everything, use large power of 2 metatiles (4x4,
8x8,...). If you haven't pre-seeded, use smaller ones, how small
depends on the experience you want to provide your user if the tile
isn't already in the cache (2x2, 4x4).
If you're rendering raster data only, you don't need a metabuffer.

On 13 October 2015 at 22:15, Robert Sanson
<robert.san...@asurequality.com<mailto:robert.san...@asurequality.com>> 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?
>
> 3 3
>
> Robert
>
> -Original Message-
> From: thomas bonfort 
> [mailto:thomas.bonf...@gmail.com<mailto:thomas.bonf...@gmail.com>]
> Sent: Tuesday, 13 October 2015 8:07 p.m.
> To: Robert Sanson 
> <robert.san...@asurequality.com<mailto:robert.san...@asurequality.com>>
> Cc: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
> 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 (image/png 
> in your mapcache ), and storing your tiles as JPG 
> (JPG in your ). 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 
> <robert.san...@asurequality.com<mailto:robert.san...@asurequality.com>> 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
>> mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapserver-users



--
[FBS Logo]


Travis Kirstine, Web Development Supervisor
t 905‑477‑3600 x 301 | m 647‑534‑4798 | 
tkirst...@firstbasesolution.com<mailto:tkirst...@firstbasesolution.com>

First Base Solutions Inc.
140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3
t 905‑477‑3600 | f 905‑477‑0892 | 
www.firstbasesolutions.com<http://www.firstbasesolutions.com>


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-14 Thread thomas bonfort
it depends on many factors... large metatiles are more efficient as
they usually impose less load on the WMS server, but can cause a
significant delay for the end user if you are populating your cache on
demand.
If you're preseeding everything, use large power of 2 metatiles (4x4,
8x8,...). If you haven't pre-seeded, use smaller ones, how small
depends on the experience you want to provide your user if the tile
isn't already in the cache (2x2, 4x4).
If you're rendering raster data only, you don't need a metabuffer.

On 13 October 2015 at 22:15, Robert Sanson
<robert.san...@asurequality.com> 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?
>
> 3 3
>
> Robert
>
> -Original Message-
> From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
> Sent: Tuesday, 13 October 2015 8:07 p.m.
> To: Robert Sanson <robert.san...@asurequality.com>
> Cc: mapserver-users@lists.osgeo.org
> 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 (image/png 
> in your mapcache ), and storing your tiles as JPG 
> (JPG in your ). 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 <robert.san...@asurequality.com> 
> 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
>> 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

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-14 Thread Travis Kirstine
This is worth a read as well for info on how to optimize your images for
mapserver.

http://mapserver.org/uk/optimization/raster.html





On Wed, Oct 14, 2015 at 6:56 AM, thomas bonfort <thomas.bonf...@gmail.com>
wrote:

> it depends on many factors... large metatiles are more efficient as
> they usually impose less load on the WMS server, but can cause a
> significant delay for the end user if you are populating your cache on
> demand.
> If you're preseeding everything, use large power of 2 metatiles (4x4,
> 8x8,...). If you haven't pre-seeded, use smaller ones, how small
> depends on the experience you want to provide your user if the tile
> isn't already in the cache (2x2, 4x4).
> If you're rendering raster data only, you don't need a metabuffer.
>
> On 13 October 2015 at 22:15, Robert Sanson
> <robert.san...@asurequality.com> 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?
> >
> > 3 3
> >
> > Robert
> >
> > -Original Message-
> > From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
> > Sent: Tuesday, 13 October 2015 8:07 p.m.
> > To: Robert Sanson <robert.san...@asurequality.com>
> > Cc: mapserver-users@lists.osgeo.org
> > 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 (image/png
> in your mapcache ), and storing your tiles as JPG
> (JPG in your ). 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 <
> robert.san...@asurequality.com> 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
> >> 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
>



-- 
[image: FBS Logo]

*Travis Kirstine*, Web Development Supervisor
*t *905‑477‑3600* x *301 | *m *647‑534‑4798 |
tkirst...@firstbasesolution.com

*First Base Solutions Inc.*
140 Renfrew Drive, Suite 100 | Markham | Ontario | L3R 6B3
*t* 905‑477‑3600 | *f* 905‑477‑0892 | www.firstbasesolutions.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-13 Thread thomas bonfort
in the vast majority of the cases, you'll want to have mapcache use
metatiles, be serving PNGs from your WMS server
(image/png in your mapcache ), and storing
your tiles as JPG (JPG in your ). 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
 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
> 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

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-13 Thread Robert Sanson
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?

3 3

Robert

-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com] 
Sent: Tuesday, 13 October 2015 8:07 p.m.
To: Robert Sanson <robert.san...@asurequality.com>
Cc: mapserver-users@lists.osgeo.org
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 (image/png in your 
mapcache ), and storing your tiles as JPG (JPG in your 
). 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 <robert.san...@asurequality.com> 
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
> 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

Re: [mapserver-users] Mapcache - optimum format for orthophotos?

2015-10-13 Thread Stephen Woodbridge

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?

3 3


Robert,

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


  
osm-curvature
disk
WGS84
g
PNGQ_FAST
5 5

20
3600
  

and in the mapfile:

WEB
METADATA
labelcache_map_edge_buffer "-20"   ## 
"ows_title" "OSMCurvature"
...
END
END

-Steve W


Robert

-Original Message- From: thomas bonfort
[mailto:thomas.bonf...@gmail.com] Sent: Tuesday, 13 October 2015 8:07
p.m. To: Robert Sanson <robert.san...@asurequality.com> Cc:
mapserver-users@lists.osgeo.org 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
(image/png in your mapcache ), and storing
your tiles as JPG (JPG in your ). 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
<robert.san...@asurequality.com> 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 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] Mapcache - optimum format for orthophotos?

2015-10-12 Thread Robert Sanson
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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users