Questions tagged [extract]
To obtain a subset of a spatial object, by means of some logic or query
339
questions
1
vote
0
answers
26
views
Adding GeoPackage data (covering whole country) to specific area of the country in QGIS
I have a big GeoPackage of building data for a whole country. I want to add only building data for a certain part of the country. I have tried adding the whole data package and then "select by ...
0
votes
1
answer
50
views
Extract values of surrounding pixels in a raster from QGIS
I can extract values from raster by "raster to points" tool but I need to find values of surrounding eight pixels to the central pixel. And I need to do this for all pixels so I could put in ...
1
vote
1
answer
52
views
Problem with creating elevation cross sections using R and terra
The terra::extract function samples raster data from the top to the bottom and from left to right. This creates an issue if you're using a line to sample a raster with plan of plotting the data as a ...
0
votes
1
answer
31
views
Repeat a process for several .csv files (containing points) in Google Earth Engine
I need to extract the time series of estimated NDWI from LANDSAT for three year (2020-2022) all around the word. I have to do this process over a regular grid (9-km) and I noticed that the process ...
0
votes
0
answers
45
views
Extract Value to Points using ArcMap
I am using ArcMap.
I am trying to extract NDVI values to my point data. However, when I use the tool Extract Values to Points the error is generated as:-
I think they have same Projected Coordinate ...
1
vote
0
answers
12
views
Extract subgroups w/ max time difference between points < 2.5h in QGIS
I have several point layers can be grouped by "date" and "new_id", such as:
datetime_lcl date new_id
05/06/2023 09:30:01 05/06/2023 1
05/06/2023 10:...
3
votes
3
answers
91
views
Extracting by position working differently in QGIS modeler
I am trying to create a tool in the QGIS modeler. The idea is to select lines within an area by hand (e.g. select features by polygon) and the first step of the tool would be to select/extract all ...
2
votes
1
answer
77
views
Extract function from raster package gives weird spikes when used to create a cross-section of a DEM
I tried to extract a cross-section from a DEM. Somehow I get weird spikes every other point. I dont see this behavior in QGis. Somehow the extract function is not sorting the values acording to the ...
3
votes
1
answer
45
views
QGIS Extract by Expression - Only subgroups w/ time duration between consecutive observations < 4h
I have several point layers with the attributes CLUSTER_ID (groups points in different clusters by unique ID) and datetime_lcl (timestamps). In each layer, I'd like to extract only the clusters in ...
1
vote
1
answer
38
views
Extract by Expression w/ two conditions stopping when first condition is met in QGIS
I have an output from ST-DBSCAN with the attribute "CLUSTER_SIZE". I'd like to extract only attributes belonging to clusters of size >= 10. If this condition cannot be met, then extract ...
2
votes
1
answer
151
views
Extracting area of the clusters of specific coordinates
I am working in GEE and I am trying to extract areas of clusters for some specific coordinates.
I have a clustered map of the area of all the clusters (using object-based clustering) and a list of ...
1
vote
1
answer
43
views
Max pixel issue exporting NDVI map (Landsat 5 and 8) from GEE
I want to export an NDVI map for the Quebec province, Canada, from GEE so that I can select my sampling locations after importing the map on QGIS. But I get this error:
Error: Export too large: ...
0
votes
0
answers
46
views
Extracting rasters multi-value to points
I have a point shapefile and 90000 raster files with precipitation data. For each point, I tried extracting precipitation data from the rasters to points (gauge stations) using ArcGIS model builder, ...
3
votes
1
answer
210
views
How to extract GPM precipitation data on multiple location points using Google Earth engine
The script below allows to extract monthly precipitation data for a single shapefile point.
how can we modify it so that it can extract data for multiple points contained in a single shapefile.
The ...
4
votes
1
answer
95
views
Extract points from a selected polygon in model builder [QGIS 3.30]
My idea is to extract all points from within a selected polygon. I know this is a rather simple task if you use the tool Extract by Location, however my colleagues have no experience in QGIS or any ...
4
votes
1
answer
173
views
Can QGIS export a limited area of a project?
I am new to GIS in general, and I've created a map in QGIS that contains data for a very large area.
I would like to copy this onto a mobile device, but the file size is too large, and I don't need ...
0
votes
1
answer
569
views
Extracting places from Google Maps into Excel sheet [closed]
How can I extract places from Google Maps into Excel sheet?
1
vote
1
answer
35
views
Extracting specific features using expression in QGIS [closed]
I have a field holding strings like this - 1,2,3,4,5,11,12,10 (each record contains a combination of figures from 1 to 20 separated by commas).
I need to extract only the records containing in this ...
5
votes
1
answer
77
views
Creating vector layer as subset of another vector layer using PyQGIS
With PyQGIS.I am trying to create a new vector layer by filtering another vector layer based on its attributes. Here is the code that I am using:
fn = r"C:/path/file.shp"
layer = ...
2
votes
1
answer
277
views
Extracting precipitation data on CHIRPS v2.0
I have downloaded daily precipitation data from CHIRPS v2.0 and want to create a time series. The data is nc file format. But the resulting array in rain data have all value of -9999.9
import netCDF4 ...
0
votes
0
answers
33
views
Extract daily precipitation data from CHIRPS v2.0 nc file
I want to extract the precipitation data on CHIRPS nc file in time series with a 5 to 10 degree latitude, but I keep getting this error
CRSError: Invalid projection: epsg:4326: (Internal Proj Error: ...
0
votes
1
answer
373
views
Extracting values from one raster based on condition in another raster and distinguished by polygons in a vector file
I have one raster file on land cover (30x30m pixels), one raster file on soil organic carbon (SOC) (250x250m pixels), and one vector file with contiguous polygons. I use ArcGIS 10.5.1. The two raster ...
6
votes
2
answers
378
views
Extract raster value at each vertex from line, while keeping the line
So I have a line that is basically drawn from two points. A starting point and an end point. It looks like this:
I then densify the line by count and set the value to e.g. 50
Then I explode the line ...
0
votes
1
answer
43
views
Apply "conditional" buffer in raster::extract function in R?
I have a raster stack of climate data from which I would like to extract values based on a set of point coordinates. Some of these points are just outside the raster extent, so I'd like to apply a ...
0
votes
1
answer
29
views
Lock workspace to extract exact same crops .tifs from different wms raster layers
I am trying to lock a zone into qgis to extract exactly the same crop of raster images coming from around 20 different wms layers one by one.
I can make it one by one but it is very difficult not to ...
-1
votes
2
answers
121
views
Extracting raster values from ALL pixels [closed]
I have a large raster file from which I want to extract the raster values of ALL pixels present in the file. How do I do this in R?
-1
votes
1
answer
77
views
Extract national boundaries from file [closed]
I would like to know how to extract national boundaries coordinates into a text file.
I've downloaded some files from natural earth (like shapefile, json etc..) but I don't know how to use them.
My ...
1
vote
0
answers
20
views
Clip all polygons inside the boundary of provinces to separate and calculate every inside polygons area
I need to calculate area of polygons inside every province but some of polygons are not exactly inside of one province and part of it is in one province and the other part is in another province. How ...
1
vote
1
answer
121
views
Raster to points with row and column information on QGIS
I'm trying to extract rows and columns from a raster to points, as the Value Tool plugin shows:
It's a pity that the raster to points tool only records the value of cells and not the raster cell ...
0
votes
3
answers
417
views
How to extract the frequency of raster values from polygons in terra?
I have raster layer of days in which the temperature exceeds the threshold of 0 degrees, and a shapefile of the states of United States.
I would like to extract the frequency of the pixel values per ...
2
votes
1
answer
237
views
Extract vertex coordinates of a polygon on a map in QGIS
How can I extract the vertex coordinates of a polygon on a map into CSV using QGIS?
0
votes
0
answers
88
views
Extract NDVI value for polygons using Sentinel-3 OLCI collection
I'm using GEE to calculate NDVI index from Sentinel-3 OLCI collection and then I would like to extract mean values of NDVI for polygons.
In first step I create the mask out water and cloud pixels. In ...
3
votes
1
answer
73
views
QGIS - automated extraction of route section
I want to extract a section of a route. My base data are route polylines and kilometer points with kilometerinformation along the route. Suppose I want to automatically create the route segment from ...
1
vote
0
answers
26
views
Given points extract square patches of different dimensions
I have a set of point coordinates and I wish to extract a square patch around each(keeping the point at the center -say patches of 64x64~256x265 pixels-) from Sentinel-2. The points are arbitrary and ...
1
vote
2
answers
234
views
Extract features based on spatial and attribute from another shapefile QGIS
I have two line-type shapfiles A and B that have different sizes, but some of them go through the same alignment as the other. These two shapefiles have an attribute table with a column called ident.
...
1
vote
0
answers
88
views
QGIS raster extraction
I am attempting to clip a part of Bing Maps Aerial to be able to fine-tune the georeferencing. I go to "Clip Raster by Extent", & the result is a raster with labels of feature layers ...
0
votes
0
answers
47
views
Extracting multiple image values to point in GEE - getting empty out put
I am trying to extract values of sentinel-1 descending pass data for a given point location for a given time period. Though there are images in the given location for the given time period, I am ...
1
vote
2
answers
298
views
QGIS - How to split and display Population Data according to District/Province?
I'm a complete beginner in QGIS, currently self-teaching myself through Youtube.
Current Problem: To split and display population data according to district/province
Project Background: To measure ...
2
votes
1
answer
330
views
Extract by Expression in QGIS Graphical Modeler
QGIS version 3.16.16-Hannover
OS Version Linux Mint 19.3
So I am trying to run a simple Extract by location algorithm in the graphical modeler
I have as Input a polygon file with a field call ...
0
votes
1
answer
53
views
Separate a buildings' polygons shapefile layer into single layers of the single exctracted building in QGIS
I'm new here in QGIS.
I have a shapefile layer composed of polygons, that represents the rooftop buildings of my case of study. I'd like to "exctract" every single building from my shapefile ...
0
votes
1
answer
53
views
Using GDAL to extract Oracle raster
I'm wondering does anyone have examples for extracting raster data from Oracle OrdImage format and creating a GeoTIFF using GDAL?
I see some info on extracting GeoRasters but not OrdImage.
0
votes
1
answer
358
views
Extract values based on raster colour in QGIS [duplicate]
I have a shapefile layer of postal codes in The Netherlands. I also have a energy consumption colour map raster, with different energy types as different colours. I need to find a way of overlaying ...
0
votes
2
answers
502
views
How to extract point data (latitude, longitude) of different soil variables from SoilGrids without actually downloading the TIFF files
Objective
I have a dataset of ~200 observations, from scientific papers describing agroforestry, with associated coordinates (lat., lon.) dispersed all over the temperate world (US, Europe, China, etc....
1
vote
0
answers
64
views
OSMOSIS syntax for extracting buildings out of country.pbf via .polyfile
I am new to osmosis and osmfilter did not work with my .poly file. I do not get the syntax working. I like to extract all buildings within a poly file.
I tried just for all objects
C:\Program Files (...
1
vote
3
answers
68
views
Extract lines not connected to railway network
I want to extract the lines which are not connected to whole railway system (see picture). These are smaller service and leisure lines of minor importance. I thought about something like "has not ...
0
votes
0
answers
47
views
Calculating lidR::rumple_index for polygons using raster::extract
I have a raster (CHM) that I am using to calculate various vegetation metrics for a large set of polygons. See example below:
veg_metrics = function(x, na.rm) c(mean = mean(x, na.rm=na.rm), min = min(...
2
votes
1
answer
168
views
Extracting points by multipolygon and having separate point(s) output using ArcGIS Pro
I have a point shapefile that has 1.5 million data points and I want to extract the points that are within in each polygon of a multipolygon.shp file and have separate outputs. Let's say there are 32 ...
0
votes
1
answer
725
views
Terra extract returns Nan value
I have tried to extract some temperatures for a given shapefile over North America. I used the terra package for extracting this data. It works for 14 of 16 areas in the shapefile. When I even try to ...
0
votes
1
answer
39
views
Automated point extraction from large shapefile [closed]
I am building a web application that follows the (simplified) process below:
User draws a polygon on a Google map
After user submits the polygon, the polygon is transmitted to QGIS Server
QGIS runs a ...
2
votes
2
answers
466
views
Extract house number layer from OSM
I am using QGIS 3.22. Is there a way to extract the house number data from the OSM into shapefile or something else?