Re: [mapserver-users] Conditional BANDS directive based on underlying data

2019-04-30 Thread Peter Schmitt
On Tue, Apr 30, 2019 at 4:41 AM Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi> wrote: > > As Even already answered, using vrt files over the BGRN originals will > work. We had a need to use both grayscale originals and vrt-falsified RGB > versions (the only band pointing to red,

Re: [mapserver-users] Conditional BANDS directive based on underlying data

2019-04-30 Thread Rahkonen Jukka (MML)
tetty: maanantai 29. huhtikuuta 2019 19.41 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] Conditional BANDS directive based on underlying data Hi, When my data is 4-band (BGRN), I use the BANDS processing directive to yield RGB tiles, like so: PROCESSING"B

Re: [mapserver-users] Conditional BANDS directive based on underlying data

2019-04-29 Thread Even Rouault
On lundi 29 avril 2019 10:40:32 CEST Peter Schmitt wrote: > Hi, > > When my data is 4-band (BGRN), I use the BANDS processing directive to > yield RGB tiles, like so: > > PROCESSING"BANDS=4,3,2" > > Is there a way to have a single layer within a Mapfile that will set this > directive to

[mapserver-users] Conditional BANDS directive based on underlying data

2019-04-29 Thread Peter Schmitt
Hi, When my data is 4-band (BGRN), I use the BANDS processing directive to yield RGB tiles, like so: PROCESSING"BANDS=4,3,2" Is there a way to have a single layer within a Mapfile that will set this directive to 4,3,2 when the underlying data has four bands and either skip the directive