[Geoserver-users] Not able to download kml and csv file in zipped format in windows 7 64 bit?

Hi,

The last FWTools version is 4 years old and new ones will not come. Of course FWTools still work but much development has been done since that. I prefer downloading recent GDAL versions for Windows from gisinternals.com/sdk. New GDAL may not help with your problem but it should not make it worse either.

-Jukka Rahkonen-

···

Jonathan Moules wrote:

Hi Mano,

Using GeoServer 2.4.3 nothing extra is needed to download KMZ files (compressed KML’s). It comes as standard.

Try the following URL for example:

http://maps.warwickshire.gov.uk/gs/Public_Data_DB/wms?service=WMS&version=1.1.0&request=GetMap&layers=Public_Data_DB:CARE_HOMES_WSHIRE&styles=&bbox=404938.115504549,240904.541047672,454203.46866687,303101.727288308&width=405&height=512&srs=EPSG:27700&format=application%2Fvnd.google-earth.kmz+xml

I don’t know if that was added since 2.2, but I doubt it (someone will correct me I hope if I’m wrong). Maybe there’s something wrong with your OGR install? I don’t have it myself.

Cheers,

Jonathan

On 1 April 2014 15:50, mano3688 <mano3688@anonymised.com> wrote:

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

C:\FWTools2.2.8\bin\ogr2ogr.exe C:\FWTools2.2.8\data MapInfo File OGR-TAB .tab MapInfo File OGR-MIF .mif -dsco FORMAT=MIF CSV OGR-CSV .csv KML OGR-KML .kml

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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Thanks for you info,

I will downloaded and use "release-1600-x64-gdal-1-10-mapserver-6-4.zip "
(MSVC2010 (Win64) -stable)

After installing I will set the gdal bin path in windows environmental
variable and then will check how is export function is working
e.g
path is release-1400-x64-gdal-mapserver\bin

Thanks and Regards,
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-tp5132498p5133206.html
Sent from the GeoServer - User mailing list archive at Nabble.com.