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"

Filter by
Sorted by
Tagged with
24
votes
4answers
38k views

Creating fishnet grid Shapefile in QGIS?

How do I create a fishnet shapefile using QGIS? The equivalent task of "Create Fishnet" in ArcGIS.
2
votes
1answer
1k views

Splitting all polygon features in a shapefile into smaller equal width polygons

I have a shapefile of thousands of polygon features, that i would like to break up into smaller pieces (i.e. break a square into 8 equal pieces). I have read all over these boards for the right ...
8
votes
1answer
8k views

Creating fishnet grid with specified rotation angle in ArcGIS Desktop?

I'm working on this project and I need a grid with a certain rotation, at about 60 degrees, for example. Starting from that I need to make a block of 20mx50m, and the last thing is that inside each ...
3
votes
3answers
768 views

Determining Y coordinate for Create Fishnet from desired Angle of Rotation using ArcPy/Python?

In How Create Fishnet works from the ArcGIS Help it says: Calculating a value for the y-axis coordinate If you know the angle of rotation, you can compute a value for the Y-Axis Coordinate parameter ...
35
votes
4answers
26k views

Overlaying spatial polygon with grid and checking in which grid element specific coordinates are located using R [closed]

How can one use R to split a shapefile in 200 meter squares/sub-polygons, plot this grid (incl. ID numbers for each square) over the original map below, and evaluate in which square specific ...
9
votes
3answers
2k views

Creating fishnet from template feature class using ArcPy?

I can’t use the tool arcpy.CreateFishnet_management because define the parameter “templateExtent” with a shapefile it is not filling automatically the parameters “originCoordinate” and “...
6
votes
1answer
683 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 ...
9
votes
4answers
15k views

Creating square grid polygon shapefile with Python?

I have the following coordinates minx, maxx, miny ,maxy = 448262.080078, 450360.750122, 6262492.020081, 6262938.950073 I wish to create a square grid of size 1 m using python. import math minx,...
9
votes
2answers
11k views

Creating polygon grid using Geopandas

I'm working with a geodataframe of points and I need to create a grid of rectangular polygons. I know how to have bounds of the geodataframe with gdf.geometry.bounds. Now using this information and ...
4
votes
5answers
13k views

Creating grid to divide large map into smaller sections using ArcGIS for Desktop?

I have a map of small remnants of forest along creeks for an entire county in California. I need to divide the whole map into equal sections so I can print it so you can actually see the sections of ...
15
votes
2answers
24k views

How to make RASTER from irregular point data without interpolation

I was trying to make a raster image from an irregularly spaced point database. The data looks like- > head(s100_ras) x y z 1 267573.9 2633781 213.29545 2 262224.4 2633781 ...
3
votes
2answers
6k views

Creating grid constrained within polygon in QGIS?

In QGIS I have created an irregularly shaped polygon. I can create a grid based on the maximum extents of the polygon via Vector>Research Tools>Vector Grid. However, I need the grid to only be ...
5
votes
1answer
6k views

Getting error when clipping shapefile to shapefile using ogr2ogr?

I want to clip a shapefile to a shapefile. The input shapefile is a 1 m vector grid generated in QGIS. The tile I'm clipping to is just a simple polygon (the geometry is contained within the 1 m ...
3
votes
2answers
1k views

Creating indexed vector grid in QGIS?

at the moment I am trying to create an indexed vector grid via "vector -> research tools -> vector grid...", in the following format: A1 A2 A3 ... B1 B2 B3 ... C1 C2 C3 ... .. .. .. The creation of ...
11
votes
3answers
7k views

Divide a complex shapefile into a grid

I have a decently detailed shapefile with polygon/multipolygon features (the file is about 500mb). It's actually a shapefile of the entire world, with the features representing coastlines. I need to ...
12
votes
4answers
12k views

Creating regularly spaced, defined # of points within polygon in QGIS

I used the research tool "Regular Points" to produce a certain number of points within a polygon, but it forms a rectangular grid of points rather than only within the shape of the polygon. Since I ...
10
votes
2answers
20k views

Creating lat/lon grid in QGIS?

I'm using QGIS. How can I create a shapefile consisting of a grid 0.5° latitude and 1° longitude in size?
7
votes
1answer
2k views

Creating vector grid using QGIS?

I have 235 raster tile 20km x 20km. I need to create a grid to overlay across them...ie the grid itself will be 20km x 20km, with the lines of the grid on the boundaries of the tiles. I am assuming ...
2
votes
1answer
2k views

Why does QGIS hang when I try to create a vector grid?

I am working in OpenLayers plugin. I need to project the satellite data with respect to vector data shapefile I have. Andre Joost suggested to create vector grid with vector data reference system. But ...
6
votes
2answers
14k views

Createing polygon layer from point data using QGIS?

I'm currently using QGIS 1.8.0 I would like to create a polygon layer from a point dataset, where the size of the polygons relates to the resolution of the grid reference. The ultimate aim would be ...
4
votes
2answers
596 views

Mapping building to only one grid which contains more than half of its area using QGIS?

I have a shapefile of a city map and I have created vector grid as polygons. After intersecting the two shapefiles, a building will map to all the grids it overlaps. However, if I just want it to ...
0
votes
1answer
3k views

Creating grid polygons from coordinates using R or Python [closed]

I have locational data with north-south and east-west coordinates, with a resolution of 100 meters squares. Each data point's location is somewhere within the 100 meters square which centre is given ...
4
votes
2answers
1k views

Controlling label/attributes of grid/fishnet index using ArcGIS for Desktop and ArcPy?

I have used the Grid index feature tool to create an index grid. The label/attribution of the page names are populated in a "row" orientated manner. eg lef to right a1,a2,a3,a4,a5,a6 b1,b2,b3,b4,b5,b6 ...
4
votes
3answers
18k views

Creating spatially projected polygon grid with ArcMap?

i need to create a grid with 1x1 square kilometres cells in ArcMap. The operation located in Data Management Tools -> Feature Class -> Create Net is almost what i need but in the parameters, i can't ...
2
votes
1answer
777 views

How to generate a parameter defined rotated grid in QGIS, GDAL/OGR and/or Python?

Following this question which answers partially to my question, I'd like to go further and find out how I could generate a parameter-directed grid in QGIS, with origin X,Y coordinates, Direction/Angle,...
1
vote
1answer
637 views

Creating an equidistant grid in ArcGIS for Desktop?

I am new at GIS, however, I need to create this grid with equidistant boxes similar to graph paper such that these can show approximate distance around different types of places. How do I do it? I ...
0
votes
1answer
405 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 ...
8
votes
7answers
8k views

How to split a polygon into quadrants?

I have a Alberta province (Canada) section polygon shapefile in GCS_NAD83 with 255,000 polygons. I like to split each section into 4 equal quadrants (NW, NE, SW, SE) The Alberta province has several ...
7
votes
1answer
4k views

Generate rectangular fishnet or vector (grid cells) shapefile in R?

I would like to create a polygon of 20 x 10 degree graticules from 180, -180 to 90, -90 degrees. To do this in QGIS, I followed: Vector creation tools > Create grid [Grid extent: -180, 180, -90, 90]...
6
votes
2answers
2k views

How to create a valid global polygon grid in PostGIS?

I want to create a grid spawning the whole globe. The grid is used to measure a density value by counting the number of certain spatial objects in each grid cell. To create the grid, I have created ...
8
votes
1answer
3k views

Generating grid shapefile in R?

I have the following shapefile of a 10x10 degree latitude/longitude grid that I created in QGIS. I can read it into R using the rgdal package. Grid<-readOGR(".","GridShapeFile") It has the ...
4
votes
1answer
493 views

Associating country to grid cell in R?

I’m trying to solve the following problem. I have a regular grid of points covering Europe nx <- 361 ; ny <- 181 xmin <- -30.0 ; ymin <- 25.0 dx <- 0.25 ; dy <- 0.25 lat <- ...
4
votes
0answers
5k views

QGIS 2: How to create a regular vector grid at fine scale and for large area? [closed]

In QGIS, we wish to create a regular vector grid with 25*25m resolution and over an area of around 12000 km2. We tried to use: -vector>research tools> vector grid - and v.mkgrid function from GRASS ...
4
votes
3answers
7k views

Create grid where points is centroid? QGIS

I want a grid around my points(100 x 100 m), where points are center. Creating a grid from Vector --> Research Tools --> Vector Grid creates grid, but not centered around my points. How do I ...
1
vote
1answer
786 views

Measure length within vector grid?

I have a grid and some lines within a grid and I was wondering how to measure the length of the lines inside the grid. I can use the measure tool for a straight line, however in the future I will not ...
5
votes
1answer
2k views

Sub-dividing a polygon into smaller polygons

In OpenStreetMap data, some large areas are tagged with a residential=yes tag. Actually within this large polygon there are multiple smaller (rectangular) houses (which are actually not drawn as yet). ...
4
votes
2answers
1k views

Selecting set number of points within polygon grid cells using QGIS?

I have a polygon grid with 1 square kilometer area cells, and over it a set of points, like so: What i need to do is select and extract only a single random point per grid cell. I could do that ...
4
votes
1answer
811 views

ST_CreateFishnet inside given rectangles: Getting two geometry's instead of one

My goal is to get a fishnet inside the rectangles of 'ov_boxes' (image below) with the given extends from the attribute-table ('width' and 'height' in relation of 'scale'). I used ST_CreateFishnet ...
3
votes
1answer
4k views

create polygons and fishnets of specific size and orientation and buffers

I want to study 6 areas in the field and in order to do so I want to divide each one of them into smaller areas/parts. What I would like to do is find an average square or rectangle area surface (...
2
votes
4answers
3k views

How can I generate a fishnet grid and a matrix of percentage of overlapping in R?

I'm trying use R for create a fishnet grid like in arcGIS with many cells of same size. In the arcGIS 9.3 we have the option of create a polygon with many small square polygons (eg. 1 x 1 degree of ...
1
vote
1answer
153 views

How to compare polylines attribute from the same GRID cell in ArcGIS 10?

I need some help because I do not know how to model this issue: I have two polyline shapefiles. They have an attribute that I need to be compared. These are roads from different sources. So, I have ...
6
votes
1answer
1k views

How to emulate a specific vector grid in QGIS?

I would like to analyze data included in a pdf file. The file contains information on characteristics of 16km grid cells for a specific study area. The file also includes a map displaying the grid. I ...
5
votes
1answer
295 views

Convert polygon to grid lines

I have a QGIS project with several shapefiles like the one in following image. I want to know how many times the shapefiles overlap and where is produced a gradient. I think the best option is to ...
5
votes
1answer
332 views

Determining size of grid cells created by vector grid tool of QGIS?

I am working with QGIS 1.8.0 and Im making a vector grid on a map. Does someone know how big are the squares if the grid settings look like in the picture?
4
votes
2answers
192 views

Uncertainty of a line between two coordinates with uncertainties in QGIS

I am trying to plot the uncertainty of a line between two coordinates with uncertainties. I have created polygons around 2 coordinates to represent the uncertainty region around each point. I then ...
4
votes
4answers
1k views

Retaining all fishnet grid squares within boundary of polygon from another feature class?

I have created a fishnet grid (3km x 3km) over a vector polygon. I now want to clip the fishnet over the vector polygon retaining all grid squares within the boundary of the polygon. Therefore I ...
4
votes
3answers
3k views

How to Generate Points on Corner of Polygon Only

I have a polygon layer made up of grid cells, illustrating a survey system: I'm trying to create a point on each corner of the polygon. I've used a geoprocessing tool called "Feature Vertices to ...
3
votes
1answer
220 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 ...
3
votes
1answer
748 views

Methods for converting a regular polygon grid to a numpy array

I have a regularly spaced model grid, 5000 by 5000 feet (517,300 cells), which I need to convert to a numpy array. I am investigation a couple of different methods, using arcpy, by which I can convert ...
3
votes
2answers
636 views

How can I get repeated vector grid in horizontal direction?

I need to get repeated vector grid layer in horizontally direction. I created many polygon vector grid layers, and their extents as listed bellow (Xmin-Ymin, Xmax-Ymax): Layer 1: 5910000 3040000 ...