All Questions
Tagged with csv attribute-table
49
questions
0
votes
0
answers
36
views
QGIS vector layer attribute table update using CSV - JOIN not working
I have an existing vector layer which I have added features to and updated the geometry existing features. The associated attribute table has 34 FIELDS (with 25 features). I'm trying to undertake a ...
-2
votes
4
answers
267
views
Merging features with same value in table (CSV) [closed]
I have a table (CSV) with statistical data for different neighbourhoods in a city (population according to different age categories).
My problem is that the neighbourhood doesn't have one field per ...
1
vote
1
answer
79
views
Importing WGS84 points into project CRS OSGB36 broken, showing black screen
I am relatively new to all things GIS.
I am trying to import CSV points collected in WGS84 format eg. LAT 55.93887932 LONG -4.50803484, into a project with CRS set to OSGB36 (EPSG: 27700).
This is ...
4
votes
2
answers
385
views
Exporting attribute table to CSV via pure Python in QGIS
I would like to use pure Python to export the attribute table as csv. For the variable data, I need a list that will read the whole attribute table. Is that possible?
import csv
layer = iface....
6
votes
2
answers
476
views
Export only specific fields of a QGIS layer as CSV
I have some layers that contain attachments (photos and videos). The layers have the following attributes:
['ATTACHMENTID', 'GLOBALID', 'REL_GLOBALID', 'CONTENT_TYPE', 'ATT_NAME', 'DATA_SIZE', 'DATA']
...
4
votes
2
answers
1k
views
Batch exporting GeoPackage attribute table to CSV in QGIS
I have a large quantity (200+) of GeoPackage files, and I want to export the attributes table of all of them to CSV's. Is there a way I can do that in the GUI or with a Plugin for QGIS 3.16.15?
...
4
votes
2
answers
459
views
How to combine raster data into CSV attributes in QGIS
Recently I am working on some raster data transfer in to .csv. I am doing this manually. First I upload my coordinate points in to raster then I click the information button then I click on every ...
2
votes
0
answers
371
views
Adding data from CSV file to vector layer in QGIS
I am trying to add data from a CSV file to a Vector layer (shapefile). I already created a column with same numbers to have a reference column, so I could join my CSV data to that reference column.
I ...
1
vote
1
answer
235
views
Using .CSV file as an external dictionary, but can't find a way to reference/make a key for Null in order to assign it a value using ArcPy
I am using ArcGIS Desktop: ArcMap 10.8.1 and using Python 2.7.18. I have a script that uses a .CSV file as an external dictionary (opposed to creating a dictionary within the script) but I cannot find ...
5
votes
3
answers
309
views
Populating attributes while creating polygons in for-loop from CSV using PyQGIS
I have a working script that builds rectangles from a CSV using @Kadir Sahbaz's answer and @Ben W's answer
I'm wanting to pass non-geometry attributes as well. This runs and creates the fields but ...
0
votes
1
answer
246
views
Adding attributes to CSV-file using PyQGIS
I am new to PyQGIS and I want to add one more field in my existed table. Here is my code:
pointLayer = QgsVectorLayer(uri, 'my_layer', 'delimitedtext')
pointLayer.dataProvider().addAttributes([...
0
votes
2
answers
187
views
Attributes comparison in QGIS
Is there a way to compare two attributes which can not be related spatially?
For example: I have a CSV file that has names of roads only, no coordinates, no geometry just names, and SHP that contains ...
3
votes
3
answers
2k
views
QGIS importing CSV files only as attribute tables, although they contain coordinates in the right format
I've got an issue importing CSV files to QGIS 3.12 Bucuresti and/or 3.4 Madeira.
Months ago I created a point distribution map for several species with several CSV files containing geographical data. ...
0
votes
1
answer
1k
views
Exporting Layer Attribute Table Fields To CSV using PyQGIS [closed]
I would like to export the names of all the attribute table field names of all the layers in my QGIS document to a spreadsheet, I know I need to loop through an array of the layers, the field names in ...
0
votes
1
answer
918
views
CSV attribute table to polyline shapefile
I have a .csv file that is an exported attribute table that I would like to reconstruct as a polyline shapefile (for reasons beyond my control I cannot access the original shapefile from which the ....