Questions tagged [vector]

A coordinate-based data model that represents geographic features as points, lines, and polygons.

Filter by
Sorted by
Tagged with
2
votes
1answer
167 views

How to make a rectangle of an exact size/aspect ratio in QGIS?

Is there any way in QGIS to make a vector layer with a rectangle of an exact size or aspect ratio? Ideally, it would be nice if the rectangle from extent tool could be limited to a set aspect ratio, ...
1
vote
0answers
188 views

Vector Rasterize Error

I am running QGIS 3.4.4 With GRASS 7.4.4 and I get an error while rasterizing a vector layer and I don't know why. The same error pops up while using GDAL->Rasterize(vector to raster) and while using ...
2
votes
2answers
125 views

What is the proper name for the “Venn diagram” of a set of geometries?

Sometimes, you have a set of overlapping geometries, and you want to generate an output like this: Image taken from this answer. The resulting polygons have no overlaps; each region of space is ...
3
votes
0answers
59 views

Replacing Multiple Polygon Geometry

I am carrying out a piece of work in ArcGIS 10.4.1 that involves realigning polygons to an updated vector map. The polygons in question are planning permission boundaries that are created showing the ...
6
votes
4answers
4k views

Checking if polygon fits inside another polygon using ArcGIS Desktop?

How do I check if one polygon fits inside another polygon? Furthermore how do I automatically check if one polygon fits in other polygons of my shapefile? I have a shapefile with thousands of ...
2
votes
1answer
77 views

Translating vector by raster DEM data in QGIS?

I'm trying to follow the set of instructions here: https://twitter.com/imhere_asia/status/1023055838787690496 [EDIT] Pasting the instructions here for reference so people can avoid twitter. ...
3
votes
1answer
206 views

Exporting crown boundaries from tree segmentation in R?

I am using lidR package to segment my trees using lastrees directly from the points clouds. The function works fine, however I would like to export to vector file the canopy boundaries from ...
0
votes
0answers
24 views

Prevent Export/Save As of Vector Layers/Shapefiles

I have created a database using postgreSQL and created multiple users assigned with different roles Some of the users can only select and view the data and not update or delete any record. It works ...
0
votes
1answer
98 views

How to batch geocode country names to polygons? [closed]

I have .xlsx dataset file with column "Country Name" and "Country Code" which have text records. I would like to geocode (assign) it to adequate country polygon in batch mode. The expected result ...
1
vote
1answer
60 views

QGIS3 How to export shapefile symbology to scale?

I'm looking how to export in QGIS3 a vector layer with a determined scale. It was straightforward in QGIS2 when I was exporting to a shapefile I had the option symbology scale but it disapear in QGIS3 ...
8
votes
2answers
331 views

Create line segments at point coordinates in QGIS

I have a point vector layer with angle field. How can I create line segments at these points with certain length and angle? I did this with style options but I need this physically as lines vector ...
1
vote
2answers
160 views

Exporting point pattern fill as vector data in PDF

In QGIS 3.2, I have a map with parks/other green areas to be displayed as a simple vector point pattern fill. No matter what I do, the pattern fill is always exported to PDF as raster data, which is ...
5
votes
1answer
524 views

Why is QGIS points in polygon so slow when select is fast?

I'm looking at QGIS 2.18.9 and using a polygon to select points from a large point layer (file based tab file). I wondered why the process is so slow if you use plugins or analysis options? I ask ...
7
votes
2answers
8k views

How do I find vector line bearing in QGIS or GRASS?

How can one extract the bearings from a set of lines in a vector file? I'm trying to find the bearings of several straight vector line segments (simplified contour lines, actually) and can't figure ...
4
votes
1answer
418 views

QGIS's “Points in Polygon” counts zero in every census tract

I am mapping the location of incidents of asthma using QGIS. I would like to count how many points are in census tracts to better understand the areas where asthma occurs most frequently. My map ...
1
vote
0answers
28 views

Vector to grid - Computing statistics by grid cells

I have a vector point data from drifting buoys (speed, direction, sst, slp) that I want to analyse in a grid. What are the right tools for this? Example of my points data below. Each point has the ...
1
vote
1answer
87 views

Saving output from vector-tools as temporary file or straight into input layer?

In mapinfo it is possible to save an output without creating new shp. Either by saving into the input- layer or to a temporary file. For example if you want to ”union” two layers you may want to get ...
0
votes
0answers
126 views

Cropping elements from one layer to an element from another

I'm trying to make a hex map of a country (Russia, in this case). To do this, I've opened a map of Russia in QGIS (from Natural Earth), set up my projection, and created a hex grid with MMQGIS. So far,...
0
votes
0answers
61 views

QGIS Display Attributes as Z Value for Point Shapefile?

I would like to create a state map that displays a 3D bar chart for each of 20 colleges (mapped as points) showing the percent share of engineering degrees earned by award level (i.e., assoc, ...
6
votes
5answers
17k views

Measuring the distance between lines and points in QGIS

Using QGIS - I have a vector of fault lines. I have point data in the form of a csv which I have also loaded into QGIS. I need to know how far each point is from the nearest fault line then enter ...
0
votes
1answer
18 views

How to prevent labels from a vector file to overlap the raster file?

I have vector file of say Sewer lines with diameter as their labels. Against some of the sewer, georef. images are placed. While displaying all together, line labels do appear over the raster file. I ...
0
votes
1answer
276 views

How to properly import corine landcover 2012 (vector file) in QGIS?

I'm fairly new to QGIS (using version 2.18.25), so I may be missing something quite basic. I'm using the Corine landcover (clc12_Version_18_5.gdb) in my project. It's a very large dataset (3GB) so it ...
0
votes
1answer
79 views

Exporting vector from raster classification gives deformed vector in Google Earth Engine?

I am very new with Google Earth Engine and I try to make a landcover classification using Sentinel-2 imagery to get the urban area over a very large area (country wide ideally). I was able to ...
1
vote
1answer
341 views

Reclassifying shapefile using ArcGIS Desktop?

So I have a shapefile consisting of 1000 polygon records. I would want to reclassify one field "Value" into a new blank field named "New Value". As an example: record = 1; value = 25.6 record = 2; ...
0
votes
3answers
96 views

QGIS: Intersect rasterdata with vectorline

I am new to QGIS. My aim is to be able to get information of the height at any point on my vector line. My raster is a map with height information in the format geotiff. The vector layer is in the ...
0
votes
0answers
20 views

ERROR in R - it cannot support the vector

I did use the function crop and mean for 434 rasters in Rstudio. Each one is very big, it corresponds almost like 1/4 of Brazil. Now I want to calculate the standard deviation between these 434 ...
0
votes
0answers
16 views

Calculate average slope values for a point using 50ft vector perpendicular to contour

I am trying to calculate the average percent slope of a hillside on either site of a data point. I tried extracting info from a DEM using a radius around the point, but I believe a more accurate ...
0
votes
1answer
785 views

QGIS: Getting Concurrent mapset locking error using V.transform

Using QGIS 3.4.3 I'm trying to carry out a simple v.transform task shifting x and y But I'm receiving the following errors - and output shapefile is empty. Processing algorithm… Algorithm 'v....
3
votes
1answer
682 views

Rasterize (vector to raster) QGIS 3.4

I am trying to rasterize a vector with the QGIS 3.4 rasterize tool (not saga or grass tools). I prefer using this tool cause it is much faster. The values which i would like to burn are found in the "...
2
votes
1answer
52 views

How to connect polygons to make a circle?

I created polygons from a raster on which I ran an edge detection filter. I turned the edges into a polygon layer (multipart splitted into single parts). The intention was to have circular polygons at ...
4
votes
1answer
454 views

Vector layer does not appear with OpenLayers

When I import the vector it simply does not show in the map. I tried with a raster and it worked fine. I tried now with both KML and GeoJSON and the same thing happen, I can see that it loaded in the ...
27
votes
4answers
69k views

Converting vector layer to raster using QGIS?

In qgis in the raster menu there is an item "convert vector to raster". This behaves strangely - I do not understand how it is supposed to work. I can select a vector file, an attribute and an ...
9
votes
2answers
470 views

What spatially-aware GUI administration softwares exist for PostgreSQL/PostGIS?

Most of my experience with PostgreSQL has been pgAdminIII and psql, but I'm interested to know what others use. Is there PostgreSQL equivalent to SQL Server Management Studio (SSMS) and its ability ...
2
votes
0answers
58 views

How to export a single feature (line) from multiple layers and export to individual layers?

I have multiple vector layers representing a time series. Each layer contains many lines each. I want to select a single specific line from each of these these layers and save it to another layer. ...
1
vote
1answer
306 views

Vector difference between two polygon layers by attribute

Is there a way to do a 1:1 difference between two polygon layers based on a similar attribute? The layers have the same number of features with a shared attribute. I've tried the native QGIS ...
30
votes
5answers
94k views

Extract Raster Value into Polygon Attribute

I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of ...
1
vote
0answers
67 views

Raster values shows no data when using identify features tool

I used vector to raster function in QGIS, to convert some points with different values to raster. I tried to use the "Identify Features" to check values for each raster box. The values shows no data ...
1
vote
0answers
15 views

Deleting vector layer within buffer? [closed]

I am trying to delete points from a shapefile with vector information that intersect a buffer that was created. I have tried using the intersect tool, but that only highlights the information that ...
1
vote
0answers
92 views

QGIS fails to generate requested number of random points

Does anyone have any ideas what might be blocking this process? The layer has thousands of polygons totalling hundreds of thousands of square metres, but when asked to locate 140 random points even ...
80
votes
8answers
40k views

Self-hosting Mapbox vector tiles

As presented in a talk at FOSS4G Mapbox Studio allows to create Mapbox vector tiles and export them as a .mbtiles file. The mapbox-gl.js library can be used to dynamically style and render Mapbox ...
1
vote
0answers
65 views

How can I calculate the “average” or “median” result between a number of MultiLine Strings?

So I have a number (let's say 12) of multiline strings representing something that changes over time, like forest borders or shorelines. I want to create a single line that is the result of the ...
0
votes
0answers
23 views

Save each record in a shapefile to a new shapefile or KML [duplicate]

I have created a shapefile of 13 polygons. Each polygon is a single-part feature. I want to create 13 new shapefiles where each each shapefile represents each record in the attribute table. I know ...
16
votes
2answers
17k views

How to perform a true GIS clip of polygons layer using a polygon layer in R?

I would like to do a true GIS Clip in R of soils polygons using a series of single boundary polygons, but I cannot find an R function to properly do it. It should work just like the clip function in ...
7
votes
3answers
854 views

How to get a list of adjacent lots to a road in ArcMAP and PostGIS/QGIS?

In the following map, I have: A line / road layer A parcel / lot layer The Task: Find and count the list of lots adjacent to the road with their types (parcel_type is a field in the parcel layer) ...
2
votes
1answer
191 views

Delete vertices from a line pyQGIS

I have a line made of 17959 nodes. I want to delete several range of nodes from that line with a python command. For example I want to delete all nodes between node 5530 to node 5861 and connect node ...
0
votes
1answer
118 views

Single Side Buffer pyQGIS

I am trying to create a single side distance buffer around a line on QGIS. Here is the code I am writing but I don't get the expected result: processing.runalg("qgis:fixeddistancebuffer","input.shp"...
1
vote
2answers
662 views

How to assign raster layer's colors to polygons in QGIS?

I have a georeferenced raster file showing parcels of a town with different colors (yellow for the category single-household residential, green for agricultural areas, etc.). I also have the shapes of ...
1
vote
1answer
813 views

Projecting vector data in QGIS?

I'm running QGIS 2.2 on Ubuntu 14.04. Trying to project data gives me a hard time right now. The last time I did that was in 2.0 and I basically changed the projection by saving the data as a new ...
0
votes
1answer
47 views

Two parallel lines (vectors), only one feature (ID) [closed]

I have one shapefile that contains two parallel lines in yellow in the picture. Both lines have the same feature (these lines were originally both sides of a fixed distance buffer around a line). I ...
8
votes
3answers
5k views

How to create a new Spatialite database in QGIS

I've been trying to create a new spatialite database within QGIS 1.8 (SpatiaLite Version 3.0.1; QSpatialite 6.0.3) and keep getting this error: "The SQL query seems to be invalid. no such table: ...