Questions tagged [extract]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
46 views

extract() while keeping polygon ID in output

im trying to extract the mean from a satellite imagery. The point is, that when Im using this code (simplified for this example): > semana21 <- raster("Semana21.tif") > poly <- ...
2
votes
1answer
28 views

Extracting some bands of multiband satellite image as layers using QGIS 3

I have a multiband(8 bands) satellite image. Now what I want, is to extract 5 bands from that image. By extraction I mean saving those 5 bands into a different layer or Geotiff. I am using QGIS 3 (...
0
votes
0answers
21 views

Extracting OSM file from overpass turbo query

I'm working on SUMO project and I am trying to use only motorways. So I used http://overpass-turbo.eu/ to select it. I need to export an OSM file from the overpass query contaning just the motorways. ...
0
votes
1answer
28 views

R - How to get raster values across a latitude band

Let's say I have a raster like this: library(raster) r <- raster(ncols=15, nrows=15) values(r) <- runif(ncell(r)) * 1:ncell(r) plot(r) I need to: find the latitude point closest to a given ...
2
votes
1answer
42 views

QGIS Processing Modeller - Select date by expression

I have a data file that contains current meter data for multiple days. I am trying to use the Processing Modeller to extract a single days worth of data for further manipulation, using the extract ...
1
vote
0answers
36 views

Why extract returns NAs on the boundary when polygons exactly overlap with the rasters in R?

I'm new to GIS and English is not my first language, so apologies for anything inappropriate. I'm trying to use extract() to get mean values of rasters inside polygons. One of the R codes I used are ...
1
vote
1answer
37 views

Using spatial points to extract values from large raster in R

I am working with location data for 22 different individuals (id). The data contains an id column, and coordinates (UTM_x and UTM_y). For all individuals combined, there is a total of 991,099 ...
1
vote
2answers
57 views

Reading raster values in points gives back a generator object instead of actual value

Given a raster TIF file and a point feature class in a geodatabase, I am trying to extract the values of the raster on the points and add them as a new column on the point feature class. I am using ...
1
vote
3answers
50 views

Rainfall interpolation using ArcMap

I have a layer that describe rainfall for 10 years. Now I want to interpolate the area in ArcGIS Desktop (ArcMap) 10.7. As you know I should define some point on my area to extract the rainfall from ...
0
votes
0answers
24 views

Extracting data from one grid cells to another set of grid cells

I have my own point shapefile (each point has its lats n longs). I found a data which has lats and longs, and I imported it into ArcMap and created a shapefile which also has its own points (with lats ...
3
votes
1answer
40 views

Extracting/casting mixed geometry types to single type using ogr2ogr?

I have a GeoJSON file with mixed geometry types, something like this: { "type": "FeatureCollection", "features": [{ "type": "Feature", "geometry": { "type": "GeometryCollection", "...
0
votes
0answers
40 views

Using fine-resolution samples to extract from coarser-resolution efficiently in R

I have a raster stack that I want to extract from: raster resolution: 0.0417, 0.0417 (x, y). My raster is coarser than my coordinates for extraction. I have finer coordinates whose resolution is ~ ...
0
votes
1answer
54 views

How to get city boundaries of Europe?

I am looking for an up-to-date communes administrative boundraries (LAU) of several countries in Europe (France + adjacent countries). I need it to be quite precise (less than 5m), since I intend to ...
1
vote
1answer
56 views

How to make a polygon from contour lines extracted from a raster QGIS 3.6?

I'm trying polygonize the elevation level 200 m of Europe map from raster GeoTIFF (The raster is projected in EPSG:3120). At first I tried with Raster > Extraction > Contour, but the lines are ...
0
votes
1answer
47 views

Remove parts of line layer [closed]

I have a shapefile layer in QGIS containing Europes coastlines. I want to extract only Norways coastline from this. If I make a polygon layer that overlaps only Norway and then use the Vector ...
3
votes
1answer
110 views

QGIS Extract by Expression with multiple polylines in Processing Modeler

I'm trying to get the matching features from an intersecting vector layer. I can manually open Extract by expression tool and put the expression like intersects($geometry, geometry(get_feature('Liness'...
3
votes
1answer
89 views

Assigning raster values to LiDAR point cloud in R?

I am trying to extract several point values for a set of liDAR data. I am starting with the DEM before I jump into the other more complicated values in my raster stack. Here is my code: library (...
2
votes
3answers
40 views

Extracting pixel values in different bands for different points giving NAs and not pixel values

I am working with R statistics. And I am trying to extract pixel values for each point in each Landsat bands, however, I am just getting NAs instead of getting pixel values Does anyone have any ...
0
votes
0answers
54 views

How to use the R function: raster::extract with polygon which partly covers raster?

I have a raster file which is only partly covered by a shapefile with polygons. Now I want to apply raster::extract in order to get the mean value for each polygon based on the rasterfile - But some ...
0
votes
1answer
43 views

Extracting polygons coordinates in counter-clockwise direction

I am working with a polygon data set and as per the requirement I need to extract polygon vertices/coordinates in counter-clockwise direction/fashion. Is there any tool or software available for ...
0
votes
0answers
40 views

Extracting polygons touched by lines using ArcGIS Desktop

I am using ArcGIS Desktop 10.5. I made an hexagonal grid layer and also I have a road layer (lines). The end goal is to calculate every hexagon's distance to particular variables (sport facilities, ...
0
votes
0answers
26 views

Extracting pixels from a raster based on defined zones in another raster - ArcGIS

This seems like it should be a very simple task but for some reason is more difficult than I thought. Basically I have rasters with water table depth information, with each pixel representing a depth ...
1
vote
1answer
72 views

Remove empty polygons from shapefile in R

I have a shapefile witch contains several empty polygons. I´m extracting values from raster file based in some polygons of this shapefile. But my loop stops at every empty polygon. Simple solution ...
2
votes
0answers
77 views

Extracting highways from OSM

I am trying to extract all highway types for the world from OSM through Osmosis. My Osmosis command looks like below, however, after the extract, I find certain roads (especially, motorways and trunk ...
2
votes
1answer
35 views

Finding location of specific value in spatial TIFF file using R?

I want to find location of specific value in one spatial GIS TIFF file and then compare location to main file in order to find some information. for example consider this image which is my main image. ...
0
votes
0answers
48 views

Clip by mask layer QGIS 3.4 - ERROR 1: Cannot compute bounding box of cutline. Cannot find source SRS

Using clip raster by mask layer I get the following error:- ERROR 1: Cannot compute bounding box of cutline. Cannot find source SRS. I have stried GDAL and SAGA (Saga crashes every time) CRS of ...
2
votes
1answer
64 views

Using shape to find and merge photos in FME?

We have a directory with over 300 aerial photos of our town. Every photo has an unique name. Using an georeferenced Esri shapefile of a specific area we want to copy the photos that are coverd by the ...
0
votes
0answers
403 views

Read contents of KML file into CSV format using Python (BeautifulSoup)

I have a KML file called Layers.KML which has multiple sub folders - Tree_Heights_Elevations, 20190516 - Chain Link Fence, 20190516 - Clearing Limits, 2016-0516 - Solar Array . ...
1
vote
1answer
52 views

Extracting {{bbox}} value of entire window in Overpass Turbo

I am using Overpass Turbo, quite a nice tool, but I want to extract the bbox values and use them in an osm-python-tools query. Oddly I don't see any way to get the values of my current bbox, I don't ...
0
votes
1answer
78 views

Error when extracting specific field of shapefile in Google Earth Engine?

I'm trying to extract specific field data which is in shapefile. There was an error while executing the following code in GEE as argument invalid type. the screenshot shows the error message. Can ...
-3
votes
1answer
47 views

How to (logic or software) extract the data from Open Street Map .osm (xml) files, so I get all relevant data for a given area? [closed]

So I have downloaded the file for Berlin from http://download.geofabrik.de/europe/germany.html and have extracted it to berlin-latest.osm And want to preprocess it for my usage and for that I want ...
1
vote
0answers
150 views

Extract Raster Values with points in R

I have a raster file with gridded population raster26 class : RasterLayer dimensions : 132, 140, 18480 (nrow, ncol, ncell) resolution : 699, 931 (x, y) extent : 2248290, 2346150, ...
1
vote
2answers
280 views

Extract vertices QGIS 3

I am using Extract vertices in QGIS 3. The table in result shows angles. What do those angles mean?
3
votes
1answer
604 views

Extracting X and Y coordinates from .gpx file using QGIS?

I'm using QGIS 2.18.17 on Linux Mint 19. I have several .gpx files of waypoints recorded using a handheld GPS device. I can load them on to QGIS or Google Earth with no problems. However, I want to be ...
0
votes
0answers
8 views

Is it possible to assign values from polygons to a new layer in an existing raster in R?

I'm a bit of an R novice and looking to see if there is any way to assign values to a raster layer based upon polygons. Some background - I am working on a mining project and have a regular grid of ...
2
votes
1answer
65 views

Select area from raster layer as a new layer

In qgis 3.4.6, I tried to select an area from a raster map, to use the cropped area as a new layer or export the cropped area as a geotiff. I'm trying to use "Raster/Extraction/Clip Raster by Extent",...
0
votes
0answers
305 views

QGIS 3.6--Error— Creation of data source failed: unable to open database file

I have been working on 3 predators' data layer files. I created a vector point shapefile for each predator prior to do a heatmap (GeoTIFF file) for each data layer file. In order to extract 50% of ...
0
votes
1answer
44 views

ArcMap 10.6: Is it possible to extract point values from points?

I've got three point shapes with different fields that I cannot seem to merge as I get ERROR 000229: cannot open 'name of shapefile'. Instead of solving this error, I wanted to try something different:...
0
votes
1answer
79 views

QGIS — Extract Values from KDE raster to orginal point data layer

After performing a heatmap on QGIS of my cheetah location dataset, I would like to extract values from my kernel density estimate (KDE) raster data layer to my orignal point data layer used to create ...
0
votes
0answers
45 views

Get a 250x250 tile around a Point in an Image

I am trying to randomly sample 250x250 pixel tiles from a big Image, let's say 40000x40000. In this case the big Image would be the Hansen Dataset. I want to sample points in which a forest loss has ...
0
votes
1answer
47 views

Extracting difference between two shapefiles (not symmetrical difference) using ArcGIS Desktop?

I have a shapefile with polygons that portray survey areas (Pink areas in picture below). I receive a new updated shapefile with additional survey areas, and thus new polygons (Green areas in ...
0
votes
0answers
109 views

extract values from raster function taking too long

My task is to extract values from raster A and B from point location file A and B, respectively. Both point location files have 375152482 obs. of 2 variables. The only different is A is in XY ...
1
vote
0answers
77 views

Extracting Ridges from DEM ALOS

I'm currently working on a forestry project for my thesis. It consists of the optimization of skids tracks planification using ALOS images. To this end I would like to extract obstacles such as steep ...
1
vote
1answer
443 views

Extracting qualified image patches in Google Earth Engine?

I want to extract qualified (e.g., cloud-free) image patches (e.g. size of 128x128) in a large image (e.g. 10000x10000) in Google Earth Engine. These image patches can overlap with other qualified ...
0
votes
0answers
35 views

Extract point data to polygon features [duplicate]

I am trying to import data from a point that lies on a certain polygon feature (or raster). As an output I would like the polygon feature to have the point data as a new field in the attribute table. ...
1
vote
1answer
211 views

QGIS-Export Raster Values to a .csv file

I use a Raster, based on .png and .pgw file. (plans from a town) The plans include information about where buildings are allowed to be built and maximum building height, ground elevation etc. Now i ...
2
votes
0answers
120 views

All (GeoTIFF) raster values NA after converting to velox

Cross-posted to the velox GitHub repo: https://github.com/hunzikp/velox/issues/40 I'm able to extract average tree cover values for each of the three small counties in the US State of Delaware, but ...
0
votes
1answer
57 views

Intersection of two sets in openstreetmap to find parent of any area

I am trying to determine what the parent administrative area of any given area. The idea is that the closest parent is the administrative area with the highest/deepest admin_level that is shared as a ...
0
votes
1answer
117 views

Extracting single band from multiple band raster with PyQGIS?

I'm approaching naw in the script and I'm trying to select many multi-band files from a folder and extract a single band from the file, putting everything in an output folder with the single-band ...
1
vote
0answers
45 views

Split many multi-band files into single-band files using PyQGIS? [closed]

I wanted to know how to take many multi-band (RGB) files in a folder and extract a single band from each one, putting everything in an output folder with the single band transformed files. How should ...