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 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, August 14, 2012 8:47 AM
To: 'Mapserver-users' 
<[email protected]<mailto:[email protected]>>
Subject: [mapserver-users] KML generation
Resent-From: Michael Smith 
<[email protected]<mailto:[email protected]>>

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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to