oops here is the correct command for kml output:

  shp2img -m mymap.map -o ttt.kml -i kml -all_debug 5

(does that generate a valid KML file?)


-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
co-founder of FOSS4G
http://gatewaygeo.com/


On 2020-10-15 9:41 a.m., Jeff McKenna wrote:
Hi Bruno,

What happens if you call that mapfile at the commandline with shp2img (and pass the "i" switch with your format name)?  such as:

   shp2img -m mymap.map -o ttt.png -i kml -all_debug 5

You can also then try png output:

   shp2img -m mymap.map -o ttt.png -i png -all_debug 5

Does it generate a valid map image?




-jeff




_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to