Hot answers tagged

8 votes

Importing CSV into QGIS with Python, Specific Parameters?

Here are the parameters required while importing a delimited text file: key value(s) crs e.g. epsg:4326, EPSG:3857 type csv/regexp/whitespace delimiter <delimiter character(s) or regular ...
6 votes

Importing grid layer from CSV in QGIS

After importing your CSV, you can use the "Geometry by Expression" tool with the following expressions. If the grid contains squares, you can use: make_square( make_point("left"...
5 votes

'Invalid GeoJSON geometry' error while exporting an array as CSV in Google Earth Engine

The cause of the error is that you are passing a dictionary to the first parameter of the Feature constructor. However, the first parameter has to be geometry and the second parameter has to be ...
5 votes

Export WKT to CSV from QgsVectorLayer with QGIS Python

You can use this structure: .... .... options = QgsVectorFileWriter.SaveVectorOptions() options.driverName = "csv" options.fileEncoding = "utf-8" options.layerOptions = ['GEOMETRY=...
4 votes

Python -> GDAL -Converting raster into CSV but getting only nodata values

You encounter a common issue when working on a georeferenced raster using pandas and numpy. Printing the table displays only the head and tail pixels which are usually in the nodata area shown in ...
1 vote

Is it possible to make a condition for a field in QGIS using CSV

So I understand that Table 2 already contains the num and obey fields? If so, you can just perform a Table Join using the Join attributes by field value from the Processing algorithm Toolbox. A ...
1 vote

Error: Computed value is too large, while trying to extract all the elevation values in GEE

Using reduceToVectors on the DEM is probably not doing what you're expecting. All connected areas that have the same elevation will get collapsed into a single point (that's just what reduceToVectors ...

Only top scored, non community-wiki answers of a minimum length are eligible