[mapserver-users] 7.6.2 released

2020-12-07 Thread Jeff McKenna
The MapServer team is pleased to announce the maintenance release of 
MapServer 7.6.2


For the list of changes see the Changelog at 
https://mapserver.org/development/changelog/changelog-7-6.html


Or head to Download at https://mapserver.org/download.html

For those wanting searchable offline documentation, the updated PDF is 
available at https://download.osgeo.org/mapserver/docs/MapServer.pdf



Happy (fast) mapserving...


Please everyone have a safe Christmas holiday.


--
The MapServer Team













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


Re: [mapserver-users] Styling KML output

2020-12-07 Thread Steve Lime
So you're using the OGR driver. I wouldn't expect that to leverage
MapServer class/styles at all - more of a data dump. There is a separate
KML driver (see https://mapserver.org/output/kml_output.html) and you can
also use templates to generate KML and define styles as part of the
templates themselves.

--Steve

On Thu, Dec 3, 2020 at 7:30 AM Martin Høgh  wrote:

> I've setup KML/KMZ output for WFS with these definitions:
>
>  OUTPUTFORMAT
>  NAME kml
>  DRIVER "OGR/KML"
>  MIMETYPE "application/vnd.google-earth.kml+xml"
>  IMAGEMODE FEATURE
>  EXTENSION "kml"
>  FORMATOPTION "FORM=simple"
>  FORMATOPTION 'FILENAME=gmap75.kml'
>  FORMATOPTION "maxfeaturestodraw=1000"
>  END
>
>  OUTPUTFORMAT
>  NAME kmz
>  DRIVER "OGR/LIBKML"
>  MIMETYPE "application/vnd.google-earth.kmz"
>  IMAGEMODE FEATURE
>  EXTENSION "kmz"
>  FORMATOPTION "FORM=simple"
>  FORMATOPTION 'FILENAME=gmap75.kmz'
>  FORMATOPTION "maxfeaturestodraw=1000"
>  END
>
> It works fine.
>
> When serving KML polygons they all have a red outline and no fill:
>
>
> ffff0
>
> Is it supposed to use the classes in the MapFile? Or is there another
> way to style KML output?
>
> Best regards,
>
> Martin Høgh
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] RASTER conditionally use default palette color based on pixel value

2020-12-07 Thread Steve Lime
Seems like you'd have to draw it twice - once with the using the
palette and a second time where you do whatever filtering and color
re-assignment you want.

On Sat, Dec 5, 2020 at 11:24 AM Scott  wrote:

>
> For instance:
>
> ...
>
> CLASS
>NAME "useDefaultColor"
>EXPRESSION ([pixel] >= 100 && [pixel] < 200)
>STYLE
>   #COLOR "#cc"   <-- this works (uncommented of course)
>   COLOR [red] [green] [blue] <-- this does not
>END
> END
> ...
>
> Thank you!
>
>
> --
> www.postholer.com
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users