Tag Info

New answers tagged

1

I think what you want to do is create a CSV for the output, which in QGIS there are options on how to export the geometry. Right-click the layer Choose Save As Choose Format - CSV now notice the Layer Options settings > GEOMETRY do you want your geometry stored as WKT, XY's, etc.? In my example, I turned zip code polygon shapefiles into CSV using WKT. ...


2

The file utility is able to guess the encoding of a text file. Use ogr2ogr for a conversion that preserves the original encoding if there is no .cpg file: ogr2ogr -f CSV file.csv file.dbf file file.csv Example output: file.csv: ISO-8859 text I have tested it with two of the most frequent encodings, UTF-8 and latin1. Works out of the box in Ubuntu, not ...


0

Thank you very much for your rapid reply. In fact, by deleting rows 1, 2, 4, 5 and 6, I want the row 3 to become the first row (headline) of the table (i.e., Au, Pt, pd, SiO2...). The latter contains 150 rows of data below the 6 first rows, that begins with #59101 in the provided example. Thus, I do not want to keep just the row 3, but realy deleting the ...


0

If you want to extract just row 3 and want to keep using ModelBuilder then you'll be wanting something like this: Create a model with your DBF as one of the inputs Use the Make Query Table tool or the Select Layer By Attributes tool with the query "\"COLUMN_A\" = 'Analyte Symbol'" (Substitute the real attribute name for COLUMN_A) Optional: Use Copy Rows to ...



Top 50 recent answers are included