New answers tagged export
0
votes
Exporting polygon as DXF using PyQGIS
Try this:
expFolder = r"/home/cirrusklaus/Downloads/tmp/shp" #Path of a Linux OS adapt it
Filename= 'myFile'#adapt it
Filetyp='dxf'
filename = f"{Filename}.{Filetyp}"
output = os....
1
vote
Accepted
Remove bad quality pixels from daily PROBA-V images
You need to map the mask_vnpa2_img() function to the image collection and select the NDVI band after mapping. The bitwiseExtract() function was missing in your code, I added it.
var bitwiseExtract = ...
0
votes
Exporting polygon as DXF using PyQGIS
You have to transfer the data to the processingtools with a variable. At the very end you don't have to pass iface but the last step ot the result. Try this:
from qgis import processing
inlay = iface....
1
vote
Accepted
Download all images for a particular month of a year in Google Earth Engine
For visualizing and exporting only useful images for February of 2018, you can use following code. Before exporting whatever image, you can mark each layer in the Tab of layers (default visualization ...
1
vote
Accepted
Export daily image from PROBA-V
Problem appears because you are trying to apply 'reproject' ee.Image method to an Image Collection. It would be recommended that this method is included within the function subtracted as follows:
// ...
-1
votes
Calculating max shardSize and fileDimensions to avoid tiling large raster exports in Earth Engine
The Python equivalent to get the file size would be
import ee
# Initialize Earth Engine
ee.Initialize()
# Define the image and region
image = ee.Image(0).float()
region = ee.Geometry(ee....
1
vote
Max pixel issue exporting NDVI map (Landsat 5 and 8) from GEE
You are trying to export the whole world in 10m scale:
print(NDVI_diff.geometry())
Polygon, 5 vertices type: Polygon coordinates: List (1 element) 0:
List (5 elements) 0: [-180,-90] 1: [180,-90] ...
1
vote
"DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated" when exporting GeoJSON in QGIS
'DeprecationWarning: QgsVectorFileWriter.writeAsVectorFormat() is deprecated' is a warning, not an error. If you check the documentation for that method you see that using QgsVectorFileWriter....
3
votes
Accepted
Get a list of dates indicating areas whose pixel cover is greater than 80%
First of all, you are mixing methods from ee.Image objects and ee.ImageCollection. For this reason, I guess you probably considered the median determination for your dataset because your first ...
1
vote
Accepted
Export List of lists as a FeatureCollection (CSV) in GEE
You can solve your issue by using following lines instead:
var fc = ee.FeatureCollection(stats.map(function(list) {
list = ee.List(list);
var dict = {
a_image_id: ...
1
vote
Export List of lists as a FeatureCollection (CSV) in GEE
The problem is that you have some entries in your list with null; thus, when your function fc tries to get elements from that null it results in an error. An easy solution is to simply filter the List ...
1
vote
QGIS Composer layer missing after export to PDF or PNG
I found that there's an issue in Github for this bug.
"Layer blending mode reset on export for all file types #50526"
1
vote
Accepted
Download NASA's Black Marble VNPA2 nighttime light data using Google Earth Engine
Maybe you messed up the bit fiddling? I've got a little utility function that I always use, so I don't have to think about it every time:
var mask_vnpa2_img = function(image) {
var qa = image.select(...
2
votes
Export data and symbology from QGIS to ArcGIS
Ah the painful world of symbology. Unfortunately there is no easy way of migrating from QGIS to ArcGIS while preserving symbology. In QGIS you can save a layer's default symbology into a geopackage ...
1
vote
ArcGIS Pro: Export file geodatabase feature class including JOINs and RELATEs
You should certainly be able to export your data with a joined table, what you are calling approach 1. Why approach 1 is failing for you I cannot say without further evidence as it works perfectly OK ...
7
votes
Failed to export from shapefile to CSV in QGIS
The error message is quite explicit and clear:
a field with this name already exists.
It seems you have two fields with the same name (maybe truncated by the fieldname length constraint in ...
2
votes
Exporting MapInfo TAB file with symbology using Processing Toolbox or PyQGIS
Apply the symbologyExport=QgsVectorFileWriter.FeatureSymbology parameter when writing and it will keep its symbology when opened in MapInfo.
from os.path import abspath
from qgis.utils import iface
...
3
votes
Exporting attribute table to CSV via pure Python in QGIS
I use this:
import csv
outFolder = r'/home/lissiklaus/Downloads/tmp/csv/'
filename = 'countries.csv'
outPath = f"{outFolder}{filename}"
layer = iface.activeLayer()
header = [field.name() ...
6
votes
Accepted
Exporting attribute table to CSV via pure Python in QGIS
You can use .getFeatures() to iterate over each feature
and .attributes() to fetch each feature's attributes:
layer = iface.activeLayer()
fieldnames = [field.name() for field in layer.fields()] #If ...
0
votes
QGIS killed 'Items Properties' panel?
In the Layout, you will see "view" on the top panel
Click "view" and it will produce a drop down list,
scroll down to "panel"
Click it and a multiple option drop down ...
0
votes
Accepted
How can I change the Data format in xProperties of GEE Chart?
You can map over the collection and add a property with the formatted date. Use that property as xProperty when charting.
var scaledReducedl8 = ee.ImageCollection('LANDSAT/LC08/C02/T1_L2')
....
Top 50 recent answers are included
Related Tags
export × 1672qgis × 521
arcgis-desktop × 291
google-earth-engine × 266
pdf × 131
shapefile × 122
arcpy × 120
raster × 118
arcmap × 103
csv × 83
pyqgis × 72
geotiff-tiff × 67
python × 65
arcgis-pro × 52
dxf × 49
image × 48
print-composer × 47
google-earth-engine-javascript-api × 43
layers × 41
attribute-table × 41
qgis-3 × 40
arcgis-10.1 × 40
layouts × 40
postgis × 39
arcgis-10.2 × 39