[mapserver-users] mapserver with kml

Ivan Ogasawara ivan.ogasawara at gmail.com
Thu Dec 14 14:00:21 PST 2017


Hi Stephen,

2017-12-14 15:44 GMT-04:00 Stephen Woodbridge <woodbri at swoodbridge.com>:

> The "+" char in the URL is interpreted as a space you have to ecapce this
> as %2B
>

You're right, thanks .. but there is the same issue ...


> But you should be able to give the OUTPUTFORMAT block an NAME "kml" and
> give that the appropriate parameters like:
>
>         EXTENSION "kml"
>         MIMETYPE "application/vnd.google-earth.kml+xml"
>
> and whatever other parameters are needed, then request the format "kml"
>

yes .. this is the kml outputformat that I am using:

OUTPUTFORMAT
      NAME "kml"
      DRIVER KML
      MIMETYPE "application/vnd.google-earth.kml+xml"
      IMAGEMODE RGBA
      EXTENSION "kml"
      FORMATOPTION 'ATTACHMENT=RIO_DE_JANEIRO.kml'
    END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20171214/61231640/attachment.htm>


More information about the MapServer-users mailing list