[mapserver-users] KML generation

Sowmya Tiramdasu stiramdasu at qcoherent.com
Tue Aug 14 08:14:50 PDT 2012


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.Smith at 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 <stiramdasu at qcoherent.com>
Date: Tuesday, August 14, 2012 8:47 AM
To: 'Mapserver-users' <mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] KML generation
Resent-From: Michael Smith <michael.smith at 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/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120814/356490ee/attachment.html>


More information about the mapserver-users mailing list