New answers tagged

1

Here is the best solution I have found thus far using dbfpy and arcpy. import arcpy from dbfpy import dbf from arcpy import env def DBFtoCSV(): '''Convert every DBF table into CSV table. ''' env.workspace = pathlist[1] # Set new workplace where tables are located tablelist = arcpy.ListTables() # list tables in file for table in ...


3

If your 7000 files have the exact same number of columns you can easily do that without arcpy in a few steps: - Fetch a list with the name of your files - Open a first file as binary - Fetch the length of the header of this file (it will be used for each other files, assuming they have the same number of records/columns, as you say it is an output of ...


0

Edited I just realized something in your code about your print statements. Are you using Python 3 syntax for print with arcpy? Not sure if that has anything to do with the poor performance...since I believe arcpy is based on Python 2 only. I have not used this python library myself, but you might want to check it out and see if it serves your needs: ...


4

You've got a few options here. QGIS can natively open and process from CSV files so if your data is already in that format, you should be fine. Otherwise, you can export it to that format or install a plugin called "Spreadsheet Layers" from the Plugins Manager. There isn't really any major benefits between spreadsheet file types, just use what's simplest for ...


2

When having enconding issues with a Shapefile you can try the QGIS Plugin Shapefile Encoding Fixer. Other helpful questions are: Which character encoding is used by the DBF file in shapefiles? as mentioned by @If you do not know- just GIS How to encode shapefiles from LATIN1 to UTF-8? How to display special characters German “ÄÜÖß” in a map?



Top 50 recent answers are included