[mapserver-users] KML generation

Sowmya Tiramdasu stiramdasu at qcoherent.com
Tue Aug 14 05:47:46 PDT 2012


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

 <http://www.geocue.com/> www.geocue.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120814/19ef5d29/attachment.htm>


More information about the MapServer-users mailing list