Re: Conditional BANDS directive based on underlying data
Peter Schmitt <[email protected]> Tue, 30 Apr 2019 14:30:48 -0600
| Newsgroups | gmane.comp.gis.mapserver.user |
|---|---|
| Message-ID | <CACkcqcUZ+tpqvb0dnUDqaiOANtdViBQ2NmdXVupACP0XPjmXKw@mail.gmail.com> |
On Tue, Apr 30, 2019 at 4:41 AM Rahkonen Jukka (MML) < [email protected]> 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, green, and blue in .vrt) in the > same service. We have only one tileindex in PostGIS, made from the tiff > images, but it can be modified on-the-fly in the tileindex layer > > > > DATA "the_geom from (SELECT the_geom, fid, CASE WHEN filepath like > '%_mv_%' THEN replace(filepath,'TIFF','vrt') ELSE filepath END AS location,… > > > Thanks Jukka & Even! A tile index of VRTs should work quite well for my use case. Cheers, Pete _______________________________________________ mapserver-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users