Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [vector-grid]

Use for questions about vector grids which are also known as fishnets

0
votes
1answer
24 views

How is IDW raster formed?

IDW algorithm says that it makes a grid and assigns value to each point in grid depending on the distance of separation. From this definition, it looks like the output is set of equally spaced points. ...
2
votes
1answer
40 views

Vector grid in QGIS3 - Can I change the order of row number?

When creating a grid (e.g. dx=15,dy=20) in GQIS 3 the first cell begins from the upper left corner and continues to the bottom of the grid as shown in the picture below. Is there any way to define ...
2
votes
0answers
39 views

Merging two neighboring cells in grid of type SpatialPolygonsDataFrame?

I have a grid of type SpatialPolygonsDataFrame (each cell has a set of data attributes). I want to merge each cell which has a surface < X with one of its neighbours. An example is depicted in the ...
1
vote
0answers
30 views

QGIS: creating a grid over a canvas with 50m by 50m edges

I know I can overlay a grid on my canvas by going to view -> decorations -> grid. However, I want to overlay a box grid that is 50 by 50 meters. Is there a way to specify this? CRS: WGS 84 ...
-1
votes
1answer
75 views

Creating 100m^2 grid automatically using QGIS?

I need help on how to create a grid structure over my data set with each box being 100m^2. That isn't manually doing it so I can calculate the features within each box?
0
votes
1answer
17 views

Drawing polygons with specific heights and widths in ArcGIS Desktop?

I have a dataset that defines my plot corners. Within each plot, there are a number of subplots, each with specific dimensions. I need to create polygon shapefiles for each of the subplots. Is there ...
0
votes
0answers
21 views

Create a SVG layer for Leaflet from GeoJSON

I had a large GeoJSON and I display it with vectorgrid plugin for Leaflet. I want to add another layer based on the main GeoJSON with only the name of the building and display it in vector format (not ...
1
vote
0answers
35 views

Create 3mx3m Vector Grid on Worldmap with equirectangular projection in QGIS [closed]

I would like to create a 3meter x 3meter Raster Grid on a Worldmap in QGIS. I am fairly new to the whole topic but I have found out that the equirectangular projection should be the most accurate, ...
0
votes
1answer
40 views

Create a 5x5 km polygon grid by sub-setting a 10x10km one

I have a 10x10km grid in Lambert Conformal Conical projection (consider it as a sample frame). I want to create another grid 5x5km by splitting in 4 parts each one of the original grid cells (the ...
1
vote
1answer
46 views

ST_Area(geometry) with ogrinfo estimates a stable area per grid cell

I use ST_area(geometry) in order to calculate the area of each grid cell of a vector grid with LCC projection and 6x6km2 resolution. The CRS of the vector is: +proj=lcc +lat_1=45 +lat_2=22 +lat_0=38.7 ...
1
vote
1answer
58 views

Grid spacing by attributes, QGIS

Is it possible to define point grid spacing by attribute in QGIS? EDIT: I really dunno is this even possible. Added a picture where I try to demonstrate the situation. So the problem is that I want ...
2
votes
2answers
76 views

Calculate cell distance between cells

I want to calculate the cell distances between all cells within a feature class grid. Exactly the same as the game Minesweeper. I have included an example below. The original data contains 11000 cells ...
0
votes
1answer
18 views

Polygon to Raster produces misaligned raster even at same resolution using ArcGIS Desktop?

In first image is a fishnet polygon. Using 'Polygon to Raster' tool, at SAME CELL SIZE of fishnet. I get image 2 (only few pixel shown to highlight misalignment). Is it possible to convert to raster ...
1
vote
2answers
37 views

Linear fishnet grid over layer with latlong coordinates in QGIS

In QGIS I have a city boundary layer which I want to transform into a simple fishnet grid with 30m spacing. The boundary layer is in geographic degrees and the only solution I found so far is choosing ...
0
votes
0answers
58 views

Exporting a grid to KMZ with legend (QGIS 3)

I am stuck trying to export a grid with values to a KMZ file with a legend that can be viewed in Google Earth Pro. This is the grid I'm trying to export (it is in EPSG 32756) This is how I need the ...
2
votes
1answer
66 views

Showing only outer Fishnet boundaries

I have a fishnet layer where some empty cells are nested within. I'd like to only show the boundary of the filled cells (color set no fill, but no inner cell boundaries of adjacent cells). How can I ...
1
vote
0answers
96 views

How to create one grid from specific set of points using QGIS?

I need to create one grid/fishnet from a set of points (coordinates). I tried to do it with the point to path tool following this three steps: 1-Vertical's rows: I numbered the points in the ...
0
votes
1answer
26 views

Choosing number of points in Create Fishnet using ModelBuilder? [duplicate]

Is there a way of getting the analysis "create fishnet" to generate a grid of x number of points in ModelBuilder? For example, I wish to generate a grid consisting of for example 80 points within a ...
1
vote
0answers
48 views

Vector Grid shows big difference between cartesian and ellipsoid measurement

I am using QGIS 3.4.1 on Windows 10. Project CRS is EPSG:3857 (WGS 84/Pseudo-Mercator). I have defined a vector grid. Type is Rectangle (polygon). Horizontal and vertical distance is 50 m. Overlay is ...
4
votes
0answers
65 views

Showing Polar coordinate grid?

I've found some maps for Antarctica https://nga.maps.arcgis.com/home/webmap/viewer.html How can I show polar coordinate grid for it? I've got the grid source code in grid_wgs.js (I use OpenSeaMap ...
1
vote
0answers
19 views

Calculating route length per grid cell using fishnet

I have a problem determining the length of the routes (boat) I've surveyed in order to calculate the survey effort. I added the GPS points of the boat and then used the points to line tool and added a ...
2
votes
2answers
28 views

Labeling cells in fishnet using equivalent (“southeast”) vertices in grid using ArcGIS Desktop?

I have a large grid of 0.001-degree fishnet cells. I want to label each cell using the coordinates of its own southeast vertex. I have the coordinates for all the vertices in the entire grid, but I ...
0
votes
1answer
28 views

Expanding Grids in the border in ArcMap

I have a shapefile of a city. My problem is that in the border, cells of the grids are not a complete square (500*500 m), while I need them to be complete as I need their centroids too. As it is shown ...
0
votes
1answer
164 views

Can't display vector layer using L.vectorGrid.protobuf

I use mapbox/tippecanoe to create .pbf tiles. But when I try to display them using L.vectorGrid.protobuf nothing is rendered, although I see that proper .pbf files are requested and downloaded by ...
1
vote
0answers
40 views

Different variations of point-to-zone mapping

I have created a grid of 1Km2 over some census zones. Now, for each cell of the grid, I need to provide some characterization of it: population, socio-econ, etc. coming from the census zones. So, ...
0
votes
1answer
126 views

Sorting grid cells in fishnet grid by location and number using QGIS?

I am using QGIS 3.2.0 on a Mac (and also have QGIS 2), and I have a fishnet grid (probably created in Arc) that comprises of nearly 2 million grid cells. As a result, every change I make to the ...
2
votes
1answer
61 views

Speed up Geotools Vector Grid processing

I am using Geotools Vector Grid on a FeatureSource (shapefile) that been projected to "AUTO:42001". Units for the map are then in one meter increments. When the FeatureSource is a large country (like ...
2
votes
1answer
70 views

Find the NW vertex of a polygon

I am using QGIS 2.18 and I am wondering how to find the NW corner of a polygon and create an attribute of that point number. See the attached image. For example, please node 8 is the NW corner for ...
1
vote
0answers
24 views

Troubleshooting creation of equal-area fishnet inside rectangular polygon

I have a set of polygons that are rectangles (10 km by 1 km dimension), and I'm using Fishnet to create smaller polygons (which I'll call "boxes"). The boxes need to be equal area, so I am working in ...
2
votes
1answer
62 views

Creating time-space map by distorting city-points polygons using QGIS?

I've already 3 main layers on shp in qgis: the points of some places, the cities polygons and a grid of 10km, as you can see on the image. I would like to distort the map using time values to modify ...
4
votes
1answer
303 views

Turning vector grid into individual shapefiles using QGIS?

I am using QGIS and I created a vector grid on a crop field in order to cut it into plots. I want to save each grid cell into individual polygon shapefiles automatically. Here is an example of a ...
0
votes
0answers
25 views

MapInfo Printing Grid with Index

In Mapinfo Pro v17, how can I create a Map Grid with an Index (A1,B2, C3 etc) of a large area and generate a Map Series (Zoomed into the section for each region of the grid)? I have looked at ...
1
vote
1answer
215 views

Attribute Error: 'unicode' object has no attribute 'extent'

I keep getting this error from this line. arcpy.CreateFishnet_management(os.path.join(Output_Folder, "Full_Grid.shp"), str(NAR_U9.extent.XMin) + " " + str(NAR_U9.extent.YMin), str(NAR_U9.extent.XMin)...
-2
votes
1answer
28 views

Syntax error in arcpy.CreateFishnet_management

I can't seem to find the syntax error in this line. Can anyone else find it? arcpy.CreateFishnet_management(Full_Grid, str(NAR_U9.extent.XMin) + " " + str(NAR_U9.extent.YMin), str(NAR_U9.extent.XMin) ...
2
votes
1answer
32 views

Calculating partial distances from whole segment in grid using QGIS?

I am using QGIS and trying to find a way to calculate partial distances of lines in a grid. In the left part of the picture you can see the sum of the line lengths within the grid cell (108.96...), ...
1
vote
1answer
75 views

Using Create Fishnet and Project in ModelBuilder?

When I try to run the model below, the Create Fishnet tool creates a huge grid that totally ignores the extent input (BLOCK_Project1). It's nowhere near the extent input either. If I click on the ...
1
vote
0answers
30 views

Extracting point attributes to polygon grid in QGIS

I have point data of endagered flowers found in a number of locations. Each location may have up to hundreds of flower registrations. I want to end up with a 1x1km grid colour graduated from the ...
1
vote
0answers
47 views

Extracting Grids containing 50% polygons (from land use layer) using QGIS?

I have a vector layer of Parcels for a certain area. I need to make grids of 100m * 100m over the parcel layer and then extract those grids which contain 50% or parcels by area. I am currently using ...
1
vote
1answer
45 views

Distance mistake during grid creation

I'm working on a script where I create a grid with the bounding box of a geodataframe, a width and a height (they might be equals for a square grid). I don't know why but when I try to make a 10m ...
4
votes
1answer
145 views

Coordinates from create grid

I am setting up a hectare grid in QGIS 3.0 using Vector > research tools > create grid > grid type:point and then defining boundaries by a preexisting polygon layer. I would like to get coordinates ...
1
vote
0answers
142 views

Georeferencing lat/lon .png map and adding grid using lat/lon? [closed]

I'm trying to input a .png map into my QGIS project for a small area in South Africa. I don't know the CRS used to create the map but it has a grid system on it with the lat/lon labelled (created ...
0
votes
1answer
33 views

Preventing ArcMap from labeling when creating grids?

I am using the Create Polygon Grid Wizard to make a large number of grids. Is there anyway I can stop ArcMap from drawing the grid labels as they are created? It seems to take much much longer to ...
0
votes
0answers
28 views

Adding median values of several rasters (geotiff) to each fishnet polygon (200x200metres fishnet) using ArcGIS ModelBuilder?

I have a 200x200metres fishnet of my study area, with a few attributes in it, like land use, percentage of each landuse class. Now I need to add the median value of more than 10 rasters to the ...
2
votes
0answers
98 views

Modifying vector grid using QGIS?

I would like to extend a vector grid of 1x1 km to a neighborouring area. The best option for me would be to simply modify the existing layer This grid has been first made in ArcGIS, but I use QGIS so ...
0
votes
0answers
123 views

Generate XYZ coordinates of DEM mesh/grid

Is there a way to generate a wire grid of plain text XYZ coordinates starting and ending points for each wire segment? I want to generate them from a digital elevation model. Preferably with gdal/qgis ...
0
votes
0answers
44 views

Creating regular grid cells (square) by ArcGIS Desktop through geographic coordinate system?

I need to create grid cells (square =1000*1000 meter or 500*500 meter) by ArcGIS through the geographic coordinate system. It worth to be noted that the latitude coordinates between 22~23 degree.
3
votes
1answer
181 views

Counting occurence of unique points across large grid using QGIS?

I am attempting to map out, in a 10x10 km grid, the occurrence of unique plant species. I have used the "Points in Polygon" feature to count and map the unique points across the grid, however I have a ...
0
votes
1answer
148 views

Merge grid and point vectors in Qgis

In qgis I have a grid, i have a point vector for each cell of the grid, i want to make the mean of one attribute of the vector. How can I do that by not making a raster?
0
votes
1answer
99 views

Using Presence/Absence method in QGIS?

I seek advice for calculating presence/absence of features in QGIS. I have a polygon dataset of boundary outlines and a number of other datasets which I want to compare it against for presence/...
0
votes
1answer
223 views

How to rasterize point data into a grid which can ensure 1 point in each cell at most

I'm trying to create a raster whose grid cell takes at most one point. The data looks like this: > head(ras) lon lat z1 z2 1 267573.9 2633781 213.29545 6 2 262224.4 ...