[mapserver-users] CSV from Mapscript results
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Tue Sep 8 09:07:54 PDT 2015
You have two options:
1 - use query templates to render the result as CSV
2 - use whatever tool your programming language gives you and just loop through the results and dump to CSV
Personally since you're using MapScript I'd opt for 2 for a couple of reasons: you have total control that way and for larger result sets it's likely to be more performant since the whole CSV file wouldn't need to be constructed in memory like templates would.
Steve
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Matej Mailing
Sent: Tuesday, September 08, 2015 5:30 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] CSV from Mapscript results
Hi,
what would be the best way to create a CSV from Mapscript query results?
Thanks,
Matej
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list