Skip to main content

Questions tagged [extract]

To obtain a subset of a spatial object, by means of some logic or query

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

"Extract by Expression" works manually, but not in model [duplicate]

I have a QGIS project (v 3.34.0) where I run a model to calculate distances from all building facades to the nearest road. The last step in the model is to extract only those line features (the ...
mtwente's user avatar
2 votes
1 answer
59 views

is this posible to extract coastline or border line from multipolygon geojson but keep them separate

i have multipolygon cities , how to get coastline or border line that not intersect with other cities, and keep separate each cities, is that possible? there any software or programing method (like ...
good112233's user avatar
0 votes
1 answer
151 views

Extract time series subset from NetCDF for many spatial points using R [closed]

I have been following mdsumner's response on Extract time series from .nc files for many locations simultaneously which is a similar question, but am having some trouble. Here is my code: library(...
Hailey's user avatar
  • 3
0 votes
2 answers
103 views

Extract specific information from a shapefile [closed]

I work with water and waste water systems. I have a shapefile that involves all the manholes and pipe ID's. My task is to extract 72 pipes that have unique ID's. In a shapefile that involves 4000+ ...
Kaltrina Loshi's user avatar
1 vote
3 answers
85 views

Saving selection as new layer after using array for filter expression in PyQGIS

I am selecting features based on whether "ZIP_CODE" value is found in an array. I am getting matches with the following: layer = iface.activeLayer() array = [93013, 35007] matches = 0 for ...
Simon Palmer's user avatar
1 vote
1 answer
22 views

Can Extract Multi Values to Points be used with a query layer as input?

I tried using Extract Multi Values to Points in ArcGIS Pro with a query layer for the points layer and a local geotiff for the raster. I received the error "ERROR 010560: Cannot create table or ...
ycartwhelen's user avatar
  • 2,417
1 vote
0 answers
20 views

Extract Multi Values to Points for two time-enabled layers using ArcGIS Pro

I have a time-enabled point layer (5-minute resolution) and time-enabled raster layer (hourly resolution). I'm trying to create a new field in the point layer by extracting values, but it's doing so ...
RML's user avatar
  • 11
0 votes
0 answers
55 views

QGis-Modeler: Using "Basic statistic" values for "Extract by expression" - Outliers

I'm working on Qgis 3.34.0. with Model Designer. I'm working with soil data (Organic matter for example). I have 2 data sources, "cal OM" and "lab OM". The data I'll use will be &...
Matias Z's user avatar
0 votes
0 answers
120 views

GEE - extract temperature data for a large dataset of GPS locations

I'm trying to extract mean temperature data for specific GPS locations across a large latitudinal/longitudinal range). I am using Google Earth Engine (new at this). To get to the code I'm showing ...
mto23's user avatar
  • 655
0 votes
0 answers
15 views

Extract values from a raster (imported as a NetCDF file) to table - problematic date/time column

I have a NetCDF file with sea surface height data, which I imported into ArcMap as a raster. I plotted the points and extracted the values at each location using the sample tool. In the raster, each ...
D. Kyriakoudi's user avatar
0 votes
0 answers
21 views

Marking the location of known raster values within certain polygons

I have a raster dataset of elevation values, and a feature dataset of polygons that delineate certain objects within the raster dataset. I've used Zonal Statistics to create tables of min, max, ...
M.S.'s user avatar
  • 1
0 votes
0 answers
21 views

I have muiltiple polygons in a shapefile, and want to extract each polygon from a rasterfile and save as separate files

I have 80 polygons in a shapefile, and one complete raster file, I want to extract each polygon from a raster file and save it as a different raster files. numPolygons <- length(shapefile) ...
gis user's user avatar
3 votes
1 answer
230 views

Find locations (cell's centroid) of a raster's min and max value using R and terra

I have a raster like this one: https://drive.google.com/drive/u/0/folders/1AEKu4TKpzJg95oXv8dxep24xpXaesr0F I want to find the locations (can be the centroid or the bounding box of these cells) for ...
Lenn's user avatar
  • 1,297
1 vote
0 answers
71 views

Extract central part of automatically created perpendicular lines in QGIS

I have a set of lines (roadways) on layer A and a set of (mainly) parallel lines (sidewalks) on layer B. I want to create perpendicular lines at a given distance that extend from the layer A center ...
winnewoerp's user avatar
  • 1,504
1 vote
0 answers
124 views

Why does Terra's extract(fun= mean) give different values than global(fun = mean) in R?

I am trying to extract mean and quartile ranges from a raster. I normally used terra's extract function to do this, but since I needed quartile numbers as well I tried it a different way. I noticed ...
Lavendarfire's user avatar
1 vote
1 answer
141 views

Terra::extract delivers unexpected values when extracting table from raster using polygons

I have a categorical raster and a polygon vector layer. I want to get a table with the area of each class from the raster layer that is covered by polygons. I tried the following: extr <- terra::...
Manuel Popp's user avatar
3 votes
1 answer
106 views

Deleting duplicate points by attribute in shapefile using QGIS

I've got a point shapefile which has a single attribute (elevation Z) and there are a lot of duplicate points (several points in the same location but each one has a different Z value). I would like ...
Sken2107's user avatar
  • 220
0 votes
0 answers
43 views

Unknown reference to value named ''. Currently known value names are: []

I'm extracting an imagecollection with to drive with this function : var batch = require('users/fitoprincipe/geetools:batch'); var output_folder = 'Modis_tiff'; // Export collection image to Drive ...
Aurélien Lengrand's user avatar
0 votes
1 answer
53 views

Regex substr - Extracting number after specific text sequence

Couldn't find any solution to a specific sequence. Context: italian cadaster, where plot number is embedded in a table coded in kml, in the "description" field. I want to extract the plot ...
Gilles's user avatar
  • 395
1 vote
0 answers
33 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 ...
Tessa Bell's user avatar
0 votes
1 answer
93 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 ...
Zaara Kidwai's user avatar
2 votes
1 answer
187 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 ...
Adam C's user avatar
  • 217
0 votes
1 answer
74 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 ...
Mina RahmanI's user avatar
0 votes
0 answers
49 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 ...
Pushkar's user avatar
  • 83
3 votes
3 answers
112 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 ...
ibdmn's user avatar
  • 191
2 votes
1 answer
120 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 ...
sfetan's user avatar
  • 161
3 votes
1 answer
54 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 ...
Barbara Perez de Araújo's user avatar
1 vote
1 answer
65 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 ...
Barbara Perez de Araújo's user avatar
2 votes
1 answer
310 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 ...
th145's user avatar
  • 25
0 votes
1 answer
66 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: ...
Mobina's user avatar
  • 7
3 votes
1 answer
582 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 ...
Bouram's user avatar
  • 165
4 votes
1 answer
146 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 ...
ibdmn's user avatar
  • 191
5 votes
2 answers
357 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 ...
Malvineous's user avatar
1 vote
1 answer
1k views

Extracting places from Google Maps into Excel sheet [closed]

How can I extract places from Google Maps into Excel sheet?
Ahmed Ibrahim Elsayed Salem's user avatar
1 vote
1 answer
39 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 ...
Mircea Angelescu's user avatar
5 votes
1 answer
118 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 = ...
Başar Yücel's user avatar
2 votes
1 answer
515 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 ...
CARL JUSTINE NAVARRO's user avatar
0 votes
1 answer
800 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 ...
tabtimm's user avatar
  • 135
6 votes
2 answers
811 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 ...
Lenn's user avatar
  • 1,297
0 votes
1 answer
82 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 ...
k42's user avatar
  • 191
0 votes
1 answer
30 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 ...
Jules Van Der Meulen's user avatar
-1 votes
2 answers
365 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?
Tammy's user avatar
  • 151
-1 votes
1 answer
152 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 ...
Fla Vio's user avatar
  • 11
1 vote
0 answers
21 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 ...
coral's user avatar
  • 81
1 vote
1 answer
302 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 ...
NorthSon's user avatar
  • 339
0 votes
3 answers
774 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 ...
Thomas's user avatar
  • 925
2 votes
1 answer
471 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?
Haleplisk's user avatar
3 votes
1 answer
84 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 ...
Marek's user avatar
  • 537
1 vote
0 answers
35 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 ...
SavvY's user avatar
  • 23
1 vote
2 answers
534 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. ...
wesleysc352's user avatar

1
2 3 4 5
8