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

Questions tagged [vector-grid]

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

0
votes
1answer
12 views

Fishnet overlaid on shapefile centorids with Python

I have an interesting problem and I'm not sure how to approach it. I am a newcomer to the GIS world so I'm not 100% confident with the terminology, but I am trying to overlay a grid (fishnet/raster?...
0
votes
0answers
16 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
31 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
44 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
54 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
74 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
17 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
36 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
41 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
65 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
80 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
23 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
46 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
61 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
18 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
26 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
26 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
137 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
109 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
51 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
67 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
23 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
53 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
274 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
24 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
204 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) ...
1
vote
1answer
27 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
65 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
29 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
98 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
133 views

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

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
90 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
114 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
40 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
154 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
132 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
95 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
197 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 ...
1
vote
2answers
105 views

How to generate grid shapefile with grid squares that align with landmasses in R

I have a hard time trying to describe the shapefile exactly, but I am trying to generate a grid over the Gulf of St. Lawrence, such that only the gridsquares which lie over water are included. I would ...
1
vote
1answer
326 views

Creating species richness map (as next stage after species distribution)?

I'm using ArcMap. I've read the messages related to this topic but they don't take me far enough. Most of the advice is related to species distribution, but I need to create a species richness map. ...
5
votes
0answers
343 views

Using QGIS 2.14 to creating a evenly distributed grid of points, spaced 500m apart, that takes terrain into account [closed]

I am using QGIS 2.14 (Essen Version). I need to create a grid of points within a given area so that each points 500m across the ground from any other point. At these points trail cams will be placed,...
0
votes
1answer
234 views

efficient workaround to treat missing values in gridded data in `RasterBrick` object [duplicate]

I have dealt with E-OBS gridded dataset and how to cropped raster grid for a particular country (I used 0.25-degree regular grid daily mean temperature observation). However, I have read about E-OBS ...
4
votes
1answer
78 views

Creating mesh that divides world by same area?

How can I create a mesh that divides the world by the same area? If possible, I would like to create it using qgis and postgres I'm planning to use quadkey or geohash but If you already have standard ...