Sunday, 3 December 2017

What ArcGIS geoprocessing tools support exporting tabular data to CSV?


I have found that most if not all geoprocessing tools that allow tabular output are limited to geodatabase tables and DBF files for supported output formats. Are there any that also support CSV output? Numerous tools supports CSV input, such as Table to Table, Copy Rows, etc.


The only exception I have seen is a script tool in the Spatial Statistics toolbox called Export Feature Attribute to ASCII, but this only supports feature classes, not tables, and it chokes on non-ASCII characters:


: 'ascii' codec can't encode character u'\xa0' in position 213: ordinal not in range(128)`

Edit: Thanks for the alternatives in the answers so far. I actually do use some of those those already myself, but just to be clear my question is specifically about the built-in geoprocessing tools in ArcGIS 10. Alternatives are welcome but I am more specifically wondering why the capability to export to CSV exists interactively in ArcMap but apparently not through the GP framework (without Python scripting).


Incidentally, I trawled around the ArcGIS Ideas site a bit and did come upon a few existing ideas that may be of interest to some:





Answer



I am using the Table To Excel Tool by Ghislain Prince for export data to csv/excel. This tool is mentioned at the end of discussion "Export a table directly to an MS Excel file" at Arcgis ideas in your given link.


I have exported lot of unicode data with this tool and working perfectly.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...