[mapserver-users] mapserver with kml

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Thu Dec 14 11:21:22 PST 2017


If it is WMS standard compliant it must accept the advertized mime type. That said our KML implementation is not necessarily compliant. There may also be some trouble with parsing the request because + is changed into space. But perhaps it is OK to do so for the query string.

-Jukka Rahkonen-
________________________________
Lähettäjä: Ivan Ogasawara<mailto:ivan.ogasawara at gmail.com>
Lähetetty: ‎14.‎12.‎2017 21:03
Vastaanottaja: Rahkonen Jukka (MML)<mailto:jukka.rahkonen at maanmittauslaitos.fi>
Kopio: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Aihe: Re: [mapserver-users] mapserver with kml


The name of the format in the GetCapabilities is

<Format>application/vnd.google-earth.kml+xml</Format>

Use that.

yes .. this format is in my GetMap/Format

  <Format>application/vnd.google-earth.kml+xml</Format>

using this format name in url result this error:

  msWMSLoadGetMapParams(): Image handling error. Unsupported output format (application/vnd.google-earth.kml xml).

I think I should use the same value defined on OUTPUTFORMAT/NAME


I have never used CRS:84 as CRS and I don't know if it really works. You can stay in WMS version 1.1.1 and SRS=EPSG:4326. Verify first with image/png that GetMap returns a map.


I have no problem with image/png format  (using 1.1.1 or 1.3.0)

Read

http://www.mapserver.org/optimization/debugging.html,<http://www.mapserver.org/optimization/debugging.html> add MS_ERRORFILE and DEBUG 5 and see what you get.

 These parameter are already defined:

    CONFIG 'ON_MISSING_DATA' 'IGNORE'
    CONFIG 'PROJ_LIB' './conf/'
    CONFIG      "MS_ERRORFILE" "/var/log/mapserver.log"
    CONFIG      "CPL_DEBUG" "ON"
    CONFIG      "PROJ_DEBUG" "ON"
    DEBUG       5

but I couldn't find any important information in the log file ( https://pastebin.com/iP4h0wXx)


this is the proj_lib/conf/ file : https://pastebin.com/AFNKC88Z

My best regards,
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20171214/71077115/attachment.html>


More information about the mapserver-users mailing list