Thanks Michael,
That was indeed the error ! Thanks a ton! -Sowmya. _______________________________ Sowmya Tiramdasu QCoherent Software 9668 Madison Blvd., Suite 202 Madison, AL 35758 (256) 461-8289 Telephone (256) 461-8249 Fax www.geocue.com <http://www.geocue.com/> From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil] Sent: Tuesday, August 14, 2012 8:09 AM To: Sowmya Tiramdasu; 'Mapserver-users' Subject: Re: [mapserver-users] KML generation Sowmya, Looks like you might have a smart-quote there. Try OUTPUTFORMAT NAME kml DRIVER "KML" MIMETYPE "application/vnd.google-earth.kml+xml" IMAGEMODE RGB EXTENSION "kml" FORMATOPTION "ATTACHMENT=lidar.kml" #name of kml file returned - This is my line 308 FORMATOPTION "maxfeaturestodraw=100" END Mike -- Michael Smith US Army Corps Remote Sensing GIS/Center From: Sowmya Tiramdasu <stiramd...@qcoherent.com> Date: Tuesday, August 14, 2012 8:47 AM To: 'Mapserver-users' <mapserver-users@lists.osgeo.org> Subject: [mapserver-users] KML generation Resent-From: Michael Smith <michael.sm...@usace.army.mil> Hi, I know this would be a very basic question. I tried to look around on the web and in the previous lists emails. But, somehow I could not get a solution. Sorry for bothering evryone with this basic question. I am trying get a KML output from my mapserver. I was succesfull in getting a png output which means all my layers are being rendered correctly. Now I modified my mapfile . I removed the IMAGETYPE = png from the MAP Section and added the following: OUTPUTFORMAT NAME kml DRIVER "KML" MIMETYPE "application/vnd.google-earth.kml+xml" IMAGEMODE RGB EXTENSION "kml" FORMATOPTION 'ATTACHMENT=lidar.kml' #name of kml file returned - This is my line 308 FORMATOPTION "maxfeaturestodraw=100" END Now when I try to query the mapserver in mode=map, I am getting a parsing error. getString(): Symbol definition error. Parsing error near ('):(line 308). Any help will be greatly appreciated. Thanks in advance! Sowmya. _______________________________ Sowmya Tiramdasu QCoherent Software 9668 Madison Blvd., Suite 202 Madison, AL 35758 (256) 461-8289 Telephone (256) 461-8249 Fax www.geocue.com <http://www.geocue.com/>
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users