Re: [mapserver-users] KML output 6.4.2
Great, keep us all in the loop with how it goes. You'll find that using the WFS outputformat for KML/KMZ works very well, as it is passed through the OGR driver; I'm not aware of many using WMS for KML/KMZ output. But yes, I imagine if you travel down that path you may eventually hit my same issue from 2011 :) -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-10-19 9:29 AM, Moisan, Yves (EC) wrote: Hi Jeff, Thanx for the info. There may be something missing in the mapfile, I'll double check. WFS is not an option for me. I need a element that points to a GetMap request for each layer. Cheers, Yves -Message d'origine- De : mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] De la part de Jeff McKenna Envoyé : 18 October 2016 6:13 À : mapserver-users@lists.osgeo.org Objet : Re: [mapserver-users] KML output 6.4.2 I have been more successful with KML output through WFS, by setting an OUTPUTFORMAT block in your mapfile and then passing =kml in your WFS request. Is that an option for you?? -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-10-18 5:45 PM, Moisan, Yves (EC) wrote: Hi All, Haven’t been here in a while … I’m striving to find out how to either query MS or run a command to generate a KML document ready to be ingested by Google Earth. I’ve seen the documentation mentioning “Output can then be generated using MapServer cgi (example mode=map) or through a WMS request.” [1] and I understand the capability has been there since 6.0, but I can’t get around to obtaining a KML document that has elements pointing to the GetMap requests of particular layers. I do get KML documents (with FORMAT=kml), but they miss a element in the element corresponding to a layer from which GE could fetch an image : MyName 1 #LayerFolder_check Examples or pointers anyone ? TIA, Yves [1] http://mapserver.org/output/kml_output.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] KML output 6.4.2
I have been more successful with KML output through WFS, by setting an OUTPUTFORMAT block in your mapfile and then passing =kml in your WFS request. Is that an option for you?? -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-10-18 5:45 PM, Moisan, Yves (EC) wrote: Hi All, Haven’t been here in a while … I’m striving to find out how to either query MS or run a command to generate a KML document ready to be ingested by Google Earth. I’ve seen the documentation mentioning “Output can then be generated using MapServer cgi (example mode=map) or through a WMS request.” [1] and I understand the capability has been there since 6.0, but I can’t get around to obtaining a KML document that has elements pointing to the GetMap requests of particular layers. I do get KML documents (with FORMAT=kml), but they miss a element in the element corresponding to a layer from which GE could fetch an image : MyName 1 #LayerFolder_check Examples or pointers anyone ? TIA, Yves [1] http://mapserver.org/output/kml_output.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] KML output 6.4.2
Hi Yves! Not sure if this helps, but...I remember testing KMZ output through WMS (in 2011), and I had found an issue with the output coordinates and had filed a ticket: https://github.com/mapserver/mapserver/issues/3928 Note that I just now dug up that old sample mapfile and data and added the working link at the bottom of that old ticket. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2016-10-18 5:45 PM, Moisan, Yves (EC) wrote: Hi All, Haven’t been here in a while … I’m striving to find out how to either query MS or run a command to generate a KML document ready to be ingested by Google Earth. I’ve seen the documentation mentioning “Output can then be generated using MapServer cgi (example mode=map) or through a WMS request.” [1] and I understand the capability has been there since 6.0, but I can’t get around to obtaining a KML document that has elements pointing to the GetMap requests of particular layers. I do get KML documents (with FORMAT=kml), but they miss a element in the element corresponding to a layer from which GE could fetch an image : MyName 1 #LayerFolder_check Examples or pointers anyone ? TIA, Yves [1] http://mapserver.org/output/kml_output.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] KML output 6.4.2
Hi All, Haven't been here in a while ... I'm striving to find out how to either query MS or run a command to generate a KML document ready to be ingested by Google Earth. I've seen the documentation mentioning "Output can then be generated using MapServer cgi (example mode=map) or through a WMS request." [1] and I understand the capability has been there since 6.0, but I can't get around to obtaining a KML document that has elements pointing to the GetMap requests of particular layers. I do get KML documents (with FORMAT=kml), but they miss a element in the element corresponding to a layer from which GE could fetch an image : MyName 1 #LayerFolder_check Examples or pointers anyone ? TIA, Yves [1] http://mapserver.org/output/kml_output.html ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users