Questions tagged [vector-grid]
Use for questions about vector grids which are also known as fishnets. For questions about the Leaflet Plugin please use the tag "vector-tiles"
544
questions
1
vote
1
answer
31
views
How to to find out what species are in each cell? [duplicate]
I have a polygon layer called grid_trt which consists of about 100 cells.
There is a CSV layer as observation, which contains GPS coordinates and some information about 2500 species in the form of 25,...
1
vote
0
answers
35
views
How to make fully nested grids using sf in R?
I am using st_make_grid() from the sf package to create grids of various resolutions, but I want the smaller one to be perfectly nested within the larger.
library(tidyverse)
library(sf)
library(spdep)
...
0
votes
0
answers
6
views
How cell values are computed by cartography::getGridLayer?
I'm trying to figure out how the "average" cell values are calculated by the cartography::getGridLayer function, with the var argument, but the documentation is elliptical. It says: "...
1
vote
0
answers
21
views
Getting total count in each grid cell from multiple point and polygon layers using ArcGIS Pro
I am using ArcGIS Pro 3.1.
The multiple point and polygon feature layers are sources of a toxic chemical but from different companies/studies/departments, etc. The grid layer was created with the Grid ...
1
vote
0
answers
21
views
Colouring a particular cell of fishnet grid in ArcMap 10.8
I am using ArcMap10.8 on a Windows laptop. How do I select a specific cell of a fishnet grid and fill it with a colour of my choice? Each cell is labelled with a number. The fishnet grid is overlayed ...
1
vote
0
answers
29
views
QGIS - Setting out a grid of points within a predefined area and giving them specific lat/long values
I'm basically re-learning GIS on the job, so forgive me for any inaccurate terminology or methodology etc. I will try to be as clear and concise as possible.
I will be collecting the lat/long values ...
1
vote
1
answer
64
views
Projecting fishnet grid using ArcGIS Pro
I want to make a 20 mile by 20 mile fishnet grid over the state of Nebraska, with the origin at either the far southwest corner (approx 11,583,008.75W 5,011,971.55N m) or the far NW corner (approx 11,...
2
votes
1
answer
115
views
Calculate grid cells enter/exit timings from overlayed timed route
[QGIS 3.22]
I have made something that works, but it seems convoluted and I wonder whether there's a more efficient way. What would you say is the best way of going from a list of waypoints with ...
-1
votes
0
answers
48
views
Filling polygon with rectangles / boxes
How can I fill a polygon with X/Y rectangle polygons up to a given maximum area size?
Maximum size given as otherwise the number of resulting boxes will be infinite along the edges of course.
For ...
0
votes
0
answers
18
views
Extending vector grid over larger region using ArcGIS Pro
I have a polygon grid (as a shapefile) over a certain portion of the United States. Each cell is 500 square miles, and there is a specific projection, etc associated with the grid. I want to extend ...
1
vote
1
answer
47
views
Sample points from each feature in a featurecollection (Google Earth Engine)
I created a grid (featurecollection containing various rectangular features) by coveringGrid function, and now I want to sample 10 points within a feature, and for every feature in this ...
1
vote
1
answer
45
views
Dividing an irregular shaped grid pattern
I have a provincial grid used for the legal subdivision of land and need to split each grid cell into four for analysis purpose: https://github.com/matthewmeadows81/grid.
The problem lies in the ...
2
votes
1
answer
80
views
Count points in a grid
I have a grid that I have created and a path that is there. I want to calculate the number of points each grid has or I want to calculate the number of points each slab or rectangle has.
1
vote
0
answers
43
views
QGIS 'Packing Problem'?
I have 45 irregular polygons (geographic areas) of various sizes. I need to grid each one into a universal number of same-sized squares/rectangles (same sized within each polygon, not necessarily ...
2
votes
2
answers
144
views
Remove a set of grids taking into account its overall geometry
I have a bunch of grids (100x100m) and I need to remove some of them considering the linear shape that forms some sets forms.
I've blue circled the set of grids I need to remove.
What I thought since ...
0
votes
1
answer
44
views
ArcPy: Grid Index Features freezing and crashing ArcGIS Pro
I am trying to use the grid index features tool in ArcPy. However when I run it outside of the Python window in ArcGIS Pro, it freezes and crashes. When used within ArcGIS Pro it works fine. I am ...
1
vote
1
answer
109
views
Field Calculator: @row_number adds the Feature ID + 1 instead of the row-number
I created a grid of hexagons and kept only the hexagons in a circle. In effect many hexagon-ids are missing and the remaining ones start at 1409.
I want them to be numbered consecutively in a logic ...
8
votes
4
answers
296
views
Importing grid layer from CSV in QGIS
In QGIS, I used the Create grid function to produce a grid. It produces an attribute table that looks something like that :
Now, let say I have a CSV file with the same attributes.
id
left
top
right
...
0
votes
2
answers
63
views
How to fill gaps in point feature dataset - ArcGIS Pro
I have a point feature dataset that contains gaps, as can be seen in the picture below (1). I would like to fill the gaps with additional points with an equal distance (=0.5 meters). What is the most ...
-1
votes
1
answer
59
views
How to make the grid polygons assume the inside centroid attributes of another layer QGIS
I have a square grid and I have multiple centroids on another layer. These centroids have many attributes as values. I want for each grid cell to assume the attributes of the centroids inside them. ...
1
vote
1
answer
36
views
Calculating mean values from raster data within fishnet squares
I am trying to calculate the mean raster values (mean RedTPI) for each of the 9 squares of my fishnet. Here is my workflow and what is going wrong:
^I calculated the layer I am working with by ...
0
votes
0
answers
97
views
How to create a Grid in R for Kriging
I have done my work for creating variograms etc, and i would like to run kriging. I've loaded my dataset, and i know that i should create a grid file, but i don't know how.
I have the shapefile from ...
1
vote
1
answer
39
views
Elevation dataset appears to have come with all of the Eastings wrong
I'm working with QGIS 3.12, trying to create a basemap of a mine site in Alberta for an env sci related project. I downloaded the 20k ASCII DEM from Altalis and imported the .gnp layer; which is a ...
1
vote
0
answers
12
views
Persist attributes from a base layer to a grid layer
I currently have a shapefile of municipalities and towns as the base layer which contains attributes such as municipal name and baranggay name (town). I would want to create a hexagonal grid on top of ...
2
votes
1
answer
128
views
Calculating the percent of a polygon that is contained within a grid cell in QGIS
I have a polygon that covers a grid that I've created.
I want to find the percent of the polygon's area that is contained within each grid cell. I've tried overlap analysis in QGIS but this returns ...
0
votes
0
answers
15
views
Dividing a curved, tube like polygon into intervals with ArcGIS Desktop 10.5.1 [duplicate]
I am trying to divide a bunch of long, curved polygons (an example is shown in blue) into segments of 10m, from north to south, the width is 15, but is given by the lines.
My first attempt was to use ...
0
votes
0
answers
35
views
Curved fishnet (vector grid for extraction) in ArcGIS
I am trying to create a sampling grid for a raster data set. I am using ArcGIS Desktop 10.5.1. with an Advanced License on a Windows 10, 64 bit.
The raster data set shows tractor tramlines in crop ...
1
vote
1
answer
30
views
Serving big timeseries multidimensional vector grid
I've been working on creating a timeseries data aggregation of ocean vessel data. Things like the number of seconds that vessels spent in each grid cell per day, per vessel class, per navigation ...
2
votes
1
answer
110
views
Calculate the minimum distance of a point grid from the nearest point of another layer with QGIS
I have a grid of 1 km points and a separate group of points representing RTK stations. (See image 1)
I want to create a 3rd value for the grid points that is proportional to the nearest reference ...
0
votes
0
answers
32
views
Fetching WFS layer grid of 1*1 mtr from GeoServer
I have created 1*1 grid in QGIS from Vector->Research tools->Create grid. And I have converted that grid file to shape and hosted in the GeoServer. When I am trying to fetch that layer after ...
0
votes
0
answers
94
views
Rotate a fishnet in ArcGIS
I have created a fishnet of sampling points within the area defined by the polygon shown below 1. The grid is unrotated but I want to rotate it so the lines of points run parallel to the length of the ...
5
votes
1
answer
264
views
Create biggest possible rectangular polygon from grids in QGIS
I am working in QGIS (Modeler with some Python scripting) and I have troubles performing the following task:
I have the following grid:
I have to create the biggest possible rectangle polygon out of ...
0
votes
1
answer
384
views
Plotting N number of grid points inside a polygon/shapefile Python [duplicate]
I have a shapefile of a region. I want to put N number of grid points on that shapefile and create a new layer(shapefile) with all grid points as we do in QGIS. But instead I want to do it in Python. ...
3
votes
1
answer
89
views
Generating horizontally ordered ids for irregular grid
How can I generate ids for an irregular shaped grid that increase from west to east and north to south (left to right, top to bottom)?
I've tried using this example and it almost works, but it does ...
0
votes
0
answers
18
views
Reversing count data to provide individual values against each grid cell ID in raster attribute table
I have overlayed my raster layer with a grid polygon using zonal statistics with the hope that each grid cell provides an average rating from my raster layer.
However, my attribute data provides me ...
1
vote
1
answer
134
views
Calculate polygon area in vector grid QGIS
I have a polygon layer in QGIS (building outlines) and I made a grid over this layer using the MMQGIS function. I want to calculate the area of the building outlines in each grid cell (so it becomes ...
0
votes
0
answers
64
views
How to use 1km2 or 10km2 vector grid to classify urban areas in a population grid raster data?
I have:
A population density grid raster file converted to point shapefile.
And a vector grid and used zonal statistics to estimate the total population in each grid cell.
I want to mask out or ...
0
votes
1
answer
298
views
How to create a regular grid with varying cell sizes for anonymising point data (ideally in Python/GeoPandas) [closed]
I have some point data that represents households and I would like to anonymise them so that you can't see which particular house a point relates to, but you can still know rougly where the house is.
...
0
votes
1
answer
42
views
Converting LULC into fishnet using ArcMap
I am using ArcMap.
I have a LULC and I want to create a fishnet-based LULC out of it. This way, I want to do a grid-based analysis.
Is there any automatic way to do this?
My LULC is a high-resolution ...
3
votes
1
answer
263
views
Dividing square into smaller squares by using their shapes rather than their bounding boxes in R
I want to divide a square into 25 smaller squares. The square layer has a UTM coordinate system, so when plotted, it doesn't have flat bottoms and tops. When I try st_make_grid() function to overlay a ...
-1
votes
1
answer
80
views
Creating fishnet based on DMS Coordinates
I am trying to create a random sampling map of an ocean area. To do this, I would like to create cells that are 1' x 1' in size (one minute by one minute in DMS). My map is using WGS 1984 Web Mercator ...
3
votes
1
answer
186
views
Get GeoJSON from a VectorGrid.Protobuf layer on click event
I am trying to get the GeoJSON of a VectorGrid layer on a click event.
Something like this:
...
var vectorTile = new L.vectorGrid.protobuf(url, options).addTo(map)
vectorTile.on('click', e => {
...
0
votes
0
answers
287
views
Creating a point density map using a hexagonal grid in ArcGIS pro
I am looking to create a hexagonal grid that contains three different area sizes (5m, 10m, and 100m) that covers a very large area. Each of the different area sizes will only be visible at large ...
1
vote
0
answers
96
views
PyQGIS creating grid layer using extracted extent and rounding up/down
I have the following code that is meant to extract the extent of a raster, and round the extents up or down to the nearest 10000, then create a vector grid using this rounded extent at 10,000m spacing
...
3
votes
1
answer
104
views
Scaling polygons in vector grid around polygon centers in QGIS
I have a aerial image with a vector grid overlaid in QGIS. Is it possible to scale the individual polygons (scale all of them by the same size) around their individual centroids? For example, to cut ...
3
votes
2
answers
220
views
How to identify all species observed in each cell of a research grid
I have created a grid map as a shapefile. I have added a point layer that includes “species name”, coordinates and etc. I put a part of it below.
Now, My problem is, when I use “count points in ...
3
votes
0
answers
97
views
Create new grid based on another grid (shapefile) in QGIS
I have an shapefile of the historic grid Messtischblatt which is a CRS formerly used in Germany for the topographic map at a scale of 1:25,000. The CRS is OGC:CRS84 - WGS 84 (CRS84)
I want to further ...
2
votes
1
answer
102
views
Project Point to Line on grid
I'm using QGIS 3.22 and I need some help.
I have a lots of points to move and I would like to find an automatic way of doing it. I have a shapefile of points (Dark Green) on a grid, and I want to move ...
2
votes
1
answer
42
views
Calculating percentage of certain point type over rest inside grid using QGIS
I have a layer of polygons which represent types of uses for a city, let's name it USES_POLYGONS. Think of a street: every building will have N number of polygons and each polygon will have a colour ...
1
vote
0
answers
56
views
QGIS unable to get correct fishnet cell centroids for United States
I want to create a fishnet grid across the United States with cells sizes of 10km x 10km in QGIS. I then want to pull the coordinates of the centroid of each cell. I have done a similar thing with ...