I am using
FWTools 2.2.8.
OS:Windows 7 64 bit
Geoserver 2.2.2
Tomcate 7
I have download ogr jar file from
http://geoserver.org/display/GEOS/GeoServer+2.2.2 link and added into
geoserver/web-InF/lib folder and also I added ogr2og2.xml file into
geoserver/data folder
Sample xml
<OgrConfiguration>
<ogr2ogrLocation>C:\FWTools2.2.8\bin\ogr2ogr.exe</ogr2ogrLocation>
<gdalData>C:\FWTools2.2.8\data</gdalData>
<formats>
<Format>
<ogrFormat>MapInfo File</ogrFormat>
<formatName>OGR-TAB</formatName>
<fileExtension>.tab</fileExtension>
</Format>
<Format>
<ogrFormat>MapInfo File</ogrFormat>
<formatName>OGR-MIF</formatName>
<fileExtension>.mif</fileExtension>
<option>-dsco</option>
<option>FORMAT=MIF</option>
</Format>
<Format>
<ogrFormat>CSV</ogrFormat>
<formatName>OGR-CSV</formatName>
<fileExtension>.csv</fileExtension>
</Format>
<Format>
<ogrFormat>KML</ogrFormat>
<formatName>OGR-KML</formatName>
<fileExtension>.kml</fileExtension>
</Format>
</formats>
</OgrConfiguration>
I am using code to download kml file
window.open(wfsProtocol.url+'?service=WFS&srs=EPSG:4326&version='+wfsProtocol.version+'&request=GetFeature&outputFormat=OGR-KML&typeName='+layer+'&featureID='+id,'_parent');
*
But when download the wms layer as in kml and csv, I am not getting download
file in zipped format.*
*
And also I am getting file name and title as null in the download window.*
I have added download image here
<http://osgeo-org.1560.x6.nabble.com/file/n5132498/kmlWindowDownload.png>
Can you please help me,
1.how to get file name and title in download window?
2.how to get kml and csv as in zipped file format?
Thanks and reagards,
Mano G
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Not-able-to-download-kml-and-csv-file-in-zipped-format-in-windows-7-64-bit-tp5132498.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users