Questions tagged [extract]

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

Filter by
Sorted by
Tagged with
2 votes
2 answers
39 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?
user avatar
  • 325
1 vote
1 answer
61 views

ReduceRegions "Image.reduceRegions: Computed value is too large. (Error code: 3)" in Google Earth Engine

I'm trying to extract about 100000 datapoints with several bands in composite using Image.reduceRegions but I'm getting this error when I tried to export as CSV: Error: Image.reduceRegions: Computed ...
user avatar
0 votes
1 answer
20 views

Extract values from raster matching csv and raster filenames

I have a folder with many csv files. Each file has several columns as well as lat and long columns. Another folder have many rasters in tif format. The .csv files are named based on Julian date (e.g. ...
user avatar
  • 1
2 votes
2 answers
113 views

Expression for extracting specific parts/geometries from dataset in QGIS

Solution below worked for a small subset with a filesize <<1 gb, for larger file sizes another solution would be needed I'm trying to formulate an expression which extracts specific parts/...
user avatar
0 votes
0 answers
11 views

Extract numbers from a sequence? (numbers only) [duplicate]

I'm new at using the calculate field function and was looking for some help. I'm trying to extract numbers from a sequence to put into another field. My sequence looks like 123-456-78910. I need the ...
user avatar
1 vote
0 answers
23 views

Extracting values to points - not all points extracted

I have a raster from which I would like to extract Z info at specific points. I have the points saved as a shapefile as below. There are 144000 points (72 transects with 2000m length each). When I use ...
user avatar
1 vote
0 answers
23 views

Extracting/Filtering of string data based on z Coordinate

I have been supplied with a complex 3D file of a historic mine in .dxf format. The plan is made up of a series "slices", each slice captured at a specific elevation. I have successfully ...
user avatar
0 votes
1 answer
40 views

Extracting polygon features based on single layer attribute polygons using ArcGIS Pro [closed]

I have a single-point shapefile with gauging locations all around the world, and I also have a shapefile with country boundaries. See picture of files. How can I extract the point files that are ...
user avatar
  • 307
0 votes
0 answers
21 views

Extracting points by values in DIVA-GIS

I am currently working on a project which looks at the nesting density of a migratory seabird found to nest in colonies on beaches. I am aiming to see whether the nesting density of the birds has an ...
user avatar
  • 1
1 vote
1 answer
45 views

Extracting raster cell values from Gridded World Population Dataset in R

I am using the Gridded World Population dataset which gives population density values for each cell in a raster. I want to find the population of shapefiles by extracting the population density values ...
user avatar
2 votes
2 answers
52 views

exact_extract Coverage area wrong fcoverage fraction

I'm using R to extract the values from a raster into a polygon. It works fine for most of them, but I found this small polygon (which is smaller than the cells) where it is giving me some misleading ...
user avatar
1 vote
0 answers
42 views

Extract absolute coordinates from reference system

How can i set a local reference system to get relative points coordinates from absolute coordinates? example : point 1 : X = 0 Y = 0 point 2 : X = 100 Y = 0 point 3 : X = 100 Y = 100 point 4 : X= 0 ...
user avatar
0 votes
0 answers
16 views

Extracting singular attribute from WFS layer to new table using QGIS

Is there any way of extracting a singular attribute from a WFS layer into a separate table? I currently have about 10-15 WFS layers and am using the 'Extract by Location' algorithm, and then merging ...
user avatar
  • 11
1 vote
1 answer
36 views

Take information from point along coast and make it inland

I'm trying to create a map in ArcGIS Pro using the National Coastal Erosion Risk Mapping Dataset. The dataset shows the likely amount of erosion (metres) at each point along today's UK coastline. I'm ...
user avatar
1 vote
1 answer
75 views

Add values from two raster layer as attribute to a polygon layer in QGIS

The following data sets are given: 1 Polygon layer ("target areas") Raster 1 (= digital elevation model) Raster 2 (= temperature) I have the following goals: For each polygon in "...
user avatar
  • 19
2 votes
1 answer
223 views

Error with function argument when using extract function in R

I am using the script described here to try to extract a count of raster cells within polygons in a shapefile. This code worked for me yesterday but today I am getting the following error: Error in ...
user avatar
  • 51
1 vote
1 answer
30 views

How can I get one line only from river network extraction GRASS?

I have used the grass function r.watershed to get the river network by calculating the accumulation. However, as an output when I want to extract the river network by applying a filter on the ...
user avatar
  • 11
0 votes
1 answer
38 views

Error using 'extract' to extract landsat pixel values from training data

I'm getting an error with a line of code that I've run successfully in the past. My goal is to extract landsat pixel values from training data polygon shapefile for classification. Here's my code up ...
user avatar
1 vote
1 answer
188 views

Extracting X Y coordinates in projected SR

I'm trying to extract X and Y coordinates of a set of points using QGIS 3.20. I am using the "add attributes to geometry tool". Points are in WGS84/33N EPSG:32633 which has Projected bounds:...
user avatar
5 votes
2 answers
337 views

Extracting text from column in attribute table using QGIS

In QGIS I have two words e.g. the species name I would like to extract and put in its own column and then extract each of the numbers individually into its own column that represents DBH, height and ...
user avatar
0 votes
2 answers
94 views

Extract xmin/max, ymin/max for a tile from Mapbox API

I am trying to harness the power of the Mapbox API (https://docs.mapbox.com/api/maps/raster-tiles/) to download some tiles. Easy enough. I also though need to download some metadata about these tiles, ...
user avatar
  • 276
1 vote
0 answers
171 views

Extract data from NetCDF file with tripolar projection for lat & long coordinates

I have coordinates obtained from Google Maps (latitude and longitude). I also downloaded a number of NetCDF4 files for different years and months that contain sea surface temperature (SST) from the ...
user avatar
  • 19
2 votes
1 answer
92 views

Raster Menu disappeared in QGIS 3.22.3 on Win10

I was using QGIS 3.18 to chop up some GeoTIFF files today. I came back to re-jig the files, and found that the Raster menu was missing all the sub-menus, which includes the Extraction menu items that ...
user avatar
0 votes
1 answer
111 views

Extracting geometry from feature collection in Earth Engine [closed]

I have a feature collection containing thousands of feature. They are categorized into 10 classes. As you can see in the picture, these features are spread irregularly. I need to merge their ...
user avatar
3 votes
1 answer
121 views

Extracting peaks and cols from a DTM raster and convert them into point shapefiles (QGIS)

I’m trying (again) to find an automatic way to extract peaks and cols from a DTM raster (derived from LiDAR surveys). By “peak” I mean simply the cell with the highest value of a neighbour of cells; ...
user avatar
  • 197
0 votes
0 answers
24 views

Extracting average value at point using ArcGIS Pro

I have a dataset of over 500 points that represent the location of a number of site boundaries and a Tif file displaying the wind speed data over the study area. Is it possible using ArcGIS Pro to ...
user avatar
-1 votes
1 answer
56 views

Extract one band from a multispectral raster PyQGIS

I want to extract red band, from a multispectral raster with 5 band, using PyQGIS. I tried this code, using the GDAL rastercalculator. I tried to extract the 3 bands, and then calculate my index. ...
user avatar
4 votes
2 answers
173 views

Multiple extract by attribute using PyQGIS

I am trying to extract only three polygons from my attribute table from a vector layer. The column which contains the values I want is called "ID". import processing layer = r'C:\mypath....\...
user avatar
8 votes
2 answers
330 views

Extracting pixels from a raster based on a given tolerance value as in Photoshop

I'm new with raster in QGIS. I have a three-band (RGB) georeferenced raster similar to this: (Reference) And I would like to extract the pixels with similar color like in the following image by given ...
user avatar
3 votes
2 answers
104 views

Extracting polygons from scanned GeoRef images based on colours in QGIS

I would like to extract a polygon based on it's colour from a scanned map georeferenced in QGIS. In the image, I would like to extract all of the blue as a separate shapefile/GeoPackage instead of ...
user avatar
1 vote
1 answer
447 views

Google Earth Engine extract values on MODIS data at point coordinates

I'm trying to extract from the MODIS collection MOD11A1006 band "LST_Day_1km" at one point coordinates the value of each image in the collection together with the date, and hour of the image ...
user avatar
  • 333
4 votes
3 answers
228 views

Extracting overlapping polygons within same layer in QGIS

I want to extract all overlapping areas in the same polygon layer, where borders from e.g. area 1 and area 2 (picture) overlap. I have tried "intersection" with the same layer as input and ...
user avatar
  • 41
2 votes
0 answers
68 views

Extract shapefile from scanned PDF map using Open Street Map?

I am new to QGIS. I have a scanned PDF document containing maps of the Italian highway network development year by year from the 1920s to the 1990s (i.e. showing the pre-existent network in a given ...
user avatar
  • 21
4 votes
2 answers
119 views

Inserting words from field into new column in QGIS

Is there any good expression to extract the first word of a field and put it into a new column? I would like to create a new column without the numeric values and filter out words that are doubled. ...
user avatar
  • 233
2 votes
1 answer
98 views

Extract data from OSM

I would like to extract all the data that is coloured blue (water) from OSM for England. I'm doing this as I need a poylgon of the extents of inland waterways (Ordnance Survey don't hold this data). ...
user avatar
  • 71
1 vote
1 answer
94 views

Extracting all polygons from GeoTIFF raster layer as PNG images using QGIS

I have a GeoTIFF file with multiple separated polygons on it as the following: I'd like to find a way of extracting all these polygons as separated individual PNG images, just so I can have them as ...
user avatar
  • 1,021
3 votes
1 answer
341 views

Is it possible to extract tiles layer as raster in QGIS?

Let's say I have a shapefile that contains multiple polygons and I open it on QGIS: Let's also say that I activate the OpenStreetMap tiles layer under it: I'd like to find a way to extract the tiles ...
user avatar
  • 1,021
3 votes
0 answers
241 views

Using OSMOSIS to extract multipolygon data from .pbf file

To update my database I need to extract some data from the OSM database. To do it I have downloaded the osm *.pbf file from the website of GEOFABRIK. From this PBF file I wish to extract all the ...
user avatar
  • 31
5 votes
2 answers
521 views

Counting pixels of each land cover type within each polygon from raster image using R

I have the following raster image that shows the different types of land covers on the island of Maui (there are 22 in total): The island is divided into "mokus" or large districts, which ...
user avatar
2 votes
1 answer
84 views

Extract Max or Min Value from Point File Attribute and then Add XY Coordinate

I have created a Point dataset by using the Saga routine 'Convert Lines to Points'. This produces the following look and attribute table: Can anyone advise on how I can extract the maximum value from ...
user avatar
  • 71
1 vote
1 answer
121 views

Extracting points as KML/KMZ from web map

This is the link: https://www.hopenvios.com.ar/. I would like to have the map with all points, does anyone know if it is possible?
user avatar
1 vote
2 answers
773 views

Read multiple layers raster from ncdf file using terra package

I want to read a specific layer from a multilayer raster (format ncdf) using terra package. I want to extract each layer by polygon using terra package (it is a very fast way to extract values). I ...
user avatar
  • 23
2 votes
1 answer
118 views

Counting points within polygon and extracting the data

I have been given a CSV file which contains the Longitude and Latitude data points for a number of mobiles that run our own internal app. The data includes the unique "ID" for the device ...
user avatar
4 votes
1 answer
73 views

Extracting polygons with smaller polygons inside parcels with houses

I have cadastral map loaded as a pink vector layer in QGIS. Then I have another vector layer that contains residential houses (purple polygons). I would like to create a new layer with areas ...
user avatar
  • 63
0 votes
1 answer
551 views

Extracting min max values of all bands in Google Earth Engine

I want to extract minimum and maximum values for all the bands in an image here is my code: https://code.earthengine.google.com/8edcbe3386ba6e639dec363e3af0eb38 Map.setOptions('HYBRID'); //Get ...
user avatar
  • 21
3 votes
1 answer
454 views

Clipping/extracting raster from loaded XYZ Tiles basemaps (e.g. Google Satellite)

Is there anyway to clip/extract raster from a loaded XYZ Tiles basemap? I am trying to use Google Satellite imagery, but every time I use the Clip Raster by Extent GDAL tool, I get an error. I am ...
user avatar
  • 121
2 votes
1 answer
71 views

Extracted XYZ/WMTS/REST Rasters from USGS and ArcGIS Online Not Rendering

I'm not a regular GIS user. I'm trying to extract (save for offline use) topographic maps from a couple different sources, but when I load the extracted file, it's either gray with a pattern of white ...
user avatar
  • 23
3 votes
2 answers
119 views

Losing CRS definition saving to GeoPackage with PyQGIS

I'm using PyQGIS to run the processing algorithm "qgis:extractbyextent". The algorithm runs in a for loop using the current extent to perform the clip. Saving the OUTPUT to memory works fine ...
user avatar
0 votes
2 answers
91 views

Extract pixel values and its category using R

I've been using this script for a long time. This code creates a DataFrame that contains the pixel values of each band of a RasterStack that overlaps with a SpatialPolygonDataFrame or a ...
user avatar
  • 377
1 vote
1 answer
444 views

Zonal statistics in R: using exactextractr to extract the counts of a range of pixel values from a raster

I have a raster with pixel values from 0 to 20, and I'm trying to count each pixel value with R package exactextractr. I have the raster ('def'), a SpatialPolygons object ('grid10') and an empty ...
user avatar

1
2 3 4 5 6