Questions tagged [image]
A representation or description of a scene, typically produced by an optical or electronic device, such as a camera or a scanning radiometer.
581
questions
3
votes
1
answer
44
views
Image Resolution degrading when georeferencing
I have a scan of a historical map in pdf. I converted it in to png as well as tif and then georeferenced it. However, as soon as I load the image (both png and tif) in to the georeferencing tool the ...
0
votes
0
answers
11
views
Add Image next to Mouse Cursor with ArcMap Add-in Button
I am working on an add-in program for ArcMap 10.5.
Here is the goal:
When the user clicks the add-in button, an image displays in the winform picture box. (For this example, that image comes from ...
1
vote
1
answer
38
views
Band calculations using satellite images captured on different dates
I want to do some band calculations using bands taken from multi spectral (MS) satellite images and bands from a short-wave infrared (SWIR) image. I have one SWIR image covering the whole area of ...
1
vote
1
answer
55
views
QGIS map composer remove red cross with condition
In the atlas composer, I'd like to be able to assess whether the path to the image is valid.
Something like, but I always have the "photo" attribute (an ID) filled in. I will check the path.
...
0
votes
1
answer
69
views
ArcGIS Pro map series exporting to JPEG or PNG using arcpy script tool has same extent for every exported image
I've written an arcpy script tool to automate exporting a map series to a set of image files (one image file for each page of the map series).
Each image has the correct features displayed, for those ...
0
votes
1
answer
33
views
In GEE replace NoData value with value Zero in an image with only one band
I have the following code in GEE: I am trying to replace the NoData values with Zeros.
var mag_nbr = float_predictor_variables.select(['MAG_NBR'])
var mag_nbrZero = mag_nbr.where({
test: ...
0
votes
1
answer
47
views
Does Landsat satellite image should have raster value to -1 and 1?
I am calculating the NDVI for Landsat-8 using the formula as shown below:-
But the pixel value rendered is as shown below: -
But the NDVI values need to be between -1 and +1 however, the value ...
0
votes
1
answer
83
views
How to display in QGIS Map Tips an image with absolute path written in the layer? [duplicate]
I am trying to display the images of a layer with the "map tip" function.
The absolute path of each picture (D:\ ... \ ...\...jpg) is written in a field called "path".
I tried to ...
0
votes
0
answers
34
views
QGIS: Export ShapeFile-Layer with image coordinates
I am completely new to QGIS and I am trying to solve this issue:
I have 3 layers: OpenStreetMap, an image and my shapefile layer with polygons.
All polygons are within the image.
Is it somehow ...
1
vote
1
answer
26
views
Working with 8-bit image in Earth Engine
I'm working with the MODIS Terra Continuous Fields 250m product. The data include several bands, including a "Quality" band.
var geometry = ee.FeatureCollection("FAO/GAUL/2015/level0&...
0
votes
1
answer
52
views
How can I use code to get accurate "crs_transform" of ee.Images after the clip() operation?
I use GEE(Google Earth Engine) for my research. I found that the parameters "crs_transform" of the ee.Image did not change before and after the clip() operation.
print(ee.Image('LANDSAT/LC08/...
0
votes
1
answer
101
views
QGIS python for generating TIFF images from LAT/LON
I am new to PyQGIS, looking for help with the following. I included some pseudo-code at the bottom.
Read a CSV file with records having these fields: Longitude1, Latitude1, Longitude2, Latitude2, ...
0
votes
0
answers
52
views
Round numbers of Image Collection in Google Earth Engine
I have an image collection filtered data
How can I compute sum reducer with two decimal places of my total image.
var imagess = chirps
.filter(ee.Filter.date('2022-02-01', '2022-02-10'));
print(...
0
votes
0
answers
103
views
Exporting Images using PyQGIS
I am attempting to export an image based on a portion of the map.
I have written code that successfully identifies the area of the map I would like to output, but I am having trouble exporting ...
1
vote
2
answers
150
views
How to mask bands of an image based on values of one of the bands using numpy and gdal
I have a raster with two bands, and I want to mask both bands to get data where band "yod" has a value of 2011 and export a new tif file with the same two bands masked.
The following script ...
0
votes
0
answers
28
views
Put a boundary line on the image that is already clipped to shapefile, the boundary of the same shapefile in Python
I managed to clip the image to the shapefile, but when I plot I see that it is following the pattern of the shapefile, but I want the boundary to appear on the final image too.
Here is the code
fig, ...
0
votes
1
answer
121
views
For loop over Feature Collection to return Image Collection in EE python API
I am new to the EE python API and am struggling to get a for loop (could eventually also use a map function) over a feature collection. My idea is to have one image and a FeatureCollection as input, ...
1
vote
1
answer
73
views
Image Composition using average values and if-else
I am new to Google Earth Engine and have been using it for just over two weeks now. I have a question about image composition.
I have got three images with me that cover the same area over three ...
1
vote
2
answers
84
views
Distorted image overlay in Leafet and Mapbox
I have created some png images from a tiff using gdal_translate
It fits well in QGIS
Info from QGIS about the layer
Extent -63.0499992370605469,-11.0499992370605469 : 101.9500007629394531,71....
1
vote
0
answers
99
views
Save Google image as map with a point location dropped on it using a coordinate
I have saved a Google map image (PNG) using coordinates in Python. Now, I want to mark a location(as a coloured dot) of that coordinate on the map and save the same image. Are there any options ...
2
votes
0
answers
97
views
QGIS Interactive PDF Map - Pop Up Images
I am a new user and still learning.
I created a map that when the user selects specific points on it, a pop-up image displays.
Is it possible to export this map as an interactive pdf and keep the pop-...
0
votes
0
answers
175
views
Internal error when exporting image data from Google Earth Engine to Google Drive
I’m running a script on Google Earth Engine to download a couple years of data from an image collection for a region in the US, but the download keeps failing. The console gives the message “Tile ...
1
vote
1
answer
117
views
Using Python (in Colab), how to convert a multiband ee.Image into an ee.ImageCollection?
I ultimately want to convert an ee.Image to an xarray object so I can further process the data.
I know the library wxee can do that with ee.ImageCollection.wx.to_xarray(). However, it requires an ee....
0
votes
1
answer
88
views
How to getValue (string) from an ui.Checkbox in GEE
I am developing an GEE-app where I initially want to concatenate a birdSelector string for user-defined filtering of an image collection containing monthly bird distribution maps from different ...
0
votes
0
answers
53
views
Why Aster Image not showing (swir_4,5,6,7,9) bands in the area of interest in Google Earth Engine?
When I want to download all bands of aster images, in Google Earth Engine, for AOI some bands not showing the phenomenon, and only the image has a black background, this problem occurs in the swir ...
0
votes
0
answers
28
views
Looping through points in an image to find date range with highest cumulative rainfall
New to GEE and confused about difficulty of iterating through items. I want to find the planting season, which is very location specific, and I define it as the 90 day period at a given location with ...
1
vote
0
answers
301
views
Shapefile to img conversion tool
I've been looking for a tool to convert shapefiles to img files (for eventual use in a Garmin GPS device). Any idea of how to perform such conversion or of any tools that can do that?
I'm using QGIS.
0
votes
0
answers
63
views
Download clipped Sentinel1-GRD data using bounding box or an AOI
I am using this code to download Sentinel-1 data. I am able to download a whole tile. I want to crop a specfic area and download that region using my AOI.
This is my code of Jupyter notebook-
pip ...
0
votes
1
answer
161
views
GEE error: Image (Error) Image.reduceRegion: Provide 'geometry' parameter when aggregating over an unbounded image
I want to perform PCA on GEE using Sentinel 2 images of two different time period. Everything runs fine but i keep getting error
Image (Error) Image.reduceRegion: Provide 'geometry' parameter when
...
0
votes
0
answers
48
views
How to fill gap in GEE (JavaScript)
I am trying to creat LST maps for given dates. But the images have gap (stripes) for months Jan to Apr in 2011 and 2016. The following is the link of my code in GEE (JavaScript):
https://code....
0
votes
0
answers
75
views
Apply image.sampleRegions obtaining geometry of pixels instead of points in Google Earth Engine java-script API
Goal
In Google Earth Engine, I would like to turn a multiband image of 10x10km resolution into a feature collection, where every pixel becomes a feature (i.e., a rectangle) with the pixel values of ...
0
votes
1
answer
202
views
How do I export an image collection in GEE?
I am a new student and have been trying to export images from GEE. The following code generates Mean Surface Soil Moisture for each month in Afghanistan over the course of 6 years. I export the data ...
3
votes
2
answers
121
views
Automatically export each item in a layer as an image
I have a simple CSV file with points only. Each point represents a historical location where certain last name was mentioned in the XIX century. It looks like this:
lat;lon;last_name
55.9885461;66....
1
vote
1
answer
51
views
QGIS print layout: no options for string for path to raster image
I want to create a print layout/atlas in QGIS where an image captured by QField is displayed automatically. But now when I want to select the file path in the area Image -> Raster Image->Field ...
0
votes
0
answers
59
views
Offline image export in Google Earth Engine
Can an image be exported when I am not online in Google Earth Engine?
1
vote
1
answer
87
views
Plot shapefile as squares [closed]
I am trying to plot a US shapefile as squares instead of showing the actual boundaries.
I can plot a shapefile like this...
import geopandas as gpd
import numpy as np
State_Shp = '.../...
2
votes
1
answer
164
views
Can't display a satellite TIFF image in Spyder using Python
I wish to create a Python script that opens a multiband satellite tiff image, then selects the bands the RGB image will be displayed with and then from this point and then I can collect my data from ...
5
votes
2
answers
121
views
View more than three pictures in the image viewer of QGIS
I'm adding photos inside point fields in a GeoPackage table in QGIS. The default image viewer cannot show more than three photos and the window is not scrollable.
Is there any settings so that I can ...
1
vote
1
answer
181
views
Export image: Error: Internal error. (Error code: 13), I used my code many times and suddendly it stoped working
I want to export Sentinal 1 images to my drive. My shapefiles are in ESPG:4326, the images are in different systems, and I want to project the images to ESPG:3995 while exporting. The code was working ...
0
votes
1
answer
352
views
Saving plot from .nc file without showing the plot
I am trying to save the sequence of plots of 24 hours of ERA5 data from .nc file without plotting them. I am using xarray for reading .nc data. Here is my code:
import xarray as xr
import matplotlib....
2
votes
1
answer
196
views
OL Static Image with dynamic extent
I use the Static Image function to display static images as a overlay in a map. The images are loaded by click OL feature points in the map. The problem is, the images have different width/height.
...
0
votes
0
answers
100
views
Lack of data from Sentinel 2 over part of the territory until 2019
When searching for Sentinel images, I couldn't find some of the images from 2017-2018. With what it can be connected? I've tried various methods, creating an image with both mosaic() and median(), but ...
0
votes
1
answer
139
views
Select features covering an image (Google Earth Engine)
I have a feature collection (grids) and an image. Any ideas on how to filter only features that cover the image (only the unmasked part of the image which appears in the map layer)?
Here's the code: ...
1
vote
1
answer
297
views
Google Earth Engine: how to export large image as one image not tiles
I want to download sentinel5 data for no2 for Saudi Arabia the whole country.
This is my code:
var collection = ee.ImageCollection('COPERNICUS/S5P/OFFL/L3_NO2')
.select('NO2_column_number_density')
...
2
votes
0
answers
124
views
Resizing image for classification
I want to perform supervised classification in Python and in order to perform that I need to have a training sample raster and satellite image. My problem is the training sample raster file has a ...
0
votes
0
answers
35
views
Turn asset folder of non-overlapping images into asset image collection in Google Earth Engine
CONTEXT
I initially uploaded 279 10x10 degree tiles of 30x30m resolution non-overlapping images (all of them mosaiced together give a global layer) to an asset folder in Google Earth Engine. I would ...
0
votes
1
answer
527
views
how to print all the images of an Image Collection
I have to print all the images (layers) of ImageCollection because it is easier to select manually the best image.
Is it possible?
var point = ee.Geometry.Point([8.73727, 45.81165]);
// Import the S-...
1
vote
2
answers
528
views
Use the .map() function of Google Earth engine between two different images within the same image collection
Context
I am using the MODIS layer. I divide the layer into classification bins and would like to assess change between two consecutive years (e.g., year 2005 to year 2006) for the years 2000 to 2020 (...
2
votes
1
answer
509
views
Filter pixel values from a list in every Image in an ImageCollection in Google Earth Engine
The context
I am using the MODIS Land Cover image collection ("MODIS/061/MCD12Q1") to calculate land use change area over 20 years. I am using the "LC_Type1" classification and I ...
1
vote
2
answers
127
views
How do I pass the clipping parameter for the export request in ArcGIS API for JavaScript 3
Starting at ArcGIS Server 10.8, for map services using the ArcGIS Pro runtime, the export request now supports the clipping parameter to clip the image produced, according to the geometry included in ...