[OpenLayers-Users] Export Vector Features to file

Donald Kerr donald.kerr at dkerr.co.uk
Sat Sep 22 03:42:12 PDT 2012


If you're using asp, or some other means of injecting headers, then you can
do the following:

Response.ContentType = "text/csv"
Response.AddHeader "Content-Disposition", "attachment; filename=" &
ReportFileName

After that, just output comma separated values.

Regards,

Donald




-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Shadin
Sent: 22 September 2012 11:37
To: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] Export Vector Features to file



Thanks Mr.Phil  but that needs Flash which is not okay with me



--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Export-Vector-Features-to-File-tp5002132
p5003732.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2441/5284 - Release Date: 09/21/12



More information about the Users mailing list