Questions tagged [vector-grid]

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

20
votes
4answers
31k views

Creating fishnet grid Shapefile in QGIS?

How do I create a fishnet shapefile using QGIS? The equivalent task of "Create Fishnet" in ArcGIS.
8
votes
1answer
7k 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 ...
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 ...
4
votes
1answer
349 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 ...
32
votes
4answers
23k views

Overlay a spatial polygon with a grid and check in which grid element specific coordinates are located

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 ...
7
votes
2answers
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 “...
3
votes
3answers
683 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 ...
9
votes
4answers
12k 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,...
12
votes
2answers
20k 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
5k 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 ...
4
votes
1answer
4k 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 ...
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 ...
11
votes
4answers
10k 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 ...
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
13k 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
5answers
11k 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 ...
4
votes
2answers
443 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 ...
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 ...
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 ...
2
votes
1answer
558 views

Sum line lengths for each grid cell in QGIS

I'm trying to get data from a polyline layer into a grid (I've created this with regular points, points to polylines). I guess at first I have to cut all polyline segments at the grid lines and then I ...
1
vote
1answer
534 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 ...
8
votes
7answers
7k 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
3k 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]...
10
votes
2answers
18k 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?
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 ...
5
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 ...
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
1answer
358 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 <- ...
1
vote
1answer
717 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
1k 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). ...
3
votes
1answer
3k 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
2k 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
2k views

Creating grid polygons from coordinates using R or Python

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 ...
1
vote
1answer
150 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
206 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
288 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
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 ...
4
votes
2answers
142 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 ...
3
votes
1answer
545 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
1answer
490 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 ...
2
votes
2answers
1k views

How to draw a square from 2 coordinates?

I have a CSV file with the following output id, x min, y min, x max, y max, value 1 , 0 , 0 , 100 , 100 , 5 2 , 0, , 100 , 100 , 200 , 10 3 , 100 , 100 , 200 , 200 , 15 4 , 100 , 0 ...
2
votes
2answers
393 views

Calculating density map of cycleways using fishnet in ArcGIS Desktop?

How can I calculate density map of cycleways (line feature) which refers to net grid in ArcGIS? Result by using function Line Density in ArcGIS for me is not satisyfing. I created reference grid net ...
2
votes
0answers
65 views

Generate ID for the grid of points from top-left corner down [duplicate]

I have a grid of points extracted from a raster. I need to give them a new ID value to be able to join values from it to another grid in rotated system of coordinates.The automatically generated ID ...
2
votes
2answers
975 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 ...
2
votes
1answer
2k views

Adding values to Fishnet Grid?

I have developed a fishnet grid for my study area. I have various datasets for the area and want to allocate a value (from one of the pre-determined datasets) to each polygon within the Fishnet. ...
2
votes
1answer
3k views

How to convert a polygon to a grid of polygons using QGIS?

For example, the city of Rotterdam represented as a hexagonal grid.
2
votes
2answers
719 views

Split Vector Points/Polygons by Vector Grid and assign to relevant grid

I have 3 vector shapefiles (1: Point, 2: polygon, 3: vector grid) that I would like to combine so that the points and polygons are 'assigned' to the relevant grid cell within which they are contained, ...