[mapserver-users] mapserver with kml

Ivan Ogasawara ivan.ogasawara at gmail.com
Wed Dec 13 16:33:35 PST 2017


Dear all,

Anyone knows some tutorial to work with mapserver (wms) and kml?

I am trying to do it .. but with no success.

this is the local url used:

http://172.17.0.2/?map=/maps/dengue-Rio-de-Janeiro.map&SERVI
CE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=RIO_DE_JANEIRO&
STYLES=&SRS=epsg:4326&BBOX=-43.7965385309,-23.0828926973,-
43.0990394004,-22.7460202858&WIDTH=400&HEIGHT=300&FORMAT=
kml.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=RIO_
DE_JANEIRO&STYLES=&SRS=epsg:4326&BBOX=-43.7965385309,-23.
0828926973,-43.0990394004,-22.7460202858&WIDTH=400&HEIGHT=300&FORMAT=kml

for image/png works fine (tested with leaflet).

Any tips?

Files:
* mapfiles:
  * https://pastebin.com/4EkahMZi
  * https://pastebin.com/DVSt4mmS
* kml: https://pastebin.com/LYkD4ZDL
* Result: https://user-images.githubusercontent.com/5209757/
33969313-f7029096-e042-11e7-8621-e8235f0bd5ce.png

Thanks!

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


More information about the mapserver-users mailing list