Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
3 votes
1 answer
54 views

How to speed up ST_Union PostGIS query for complex problem

I'm fairly new to working with PostGIS and have experienced the issue of extremely long runtimes when working on my data. Here's what I'm trying to do: I have an infrastructure dataset that is made up ...
Felix_geospatial's user avatar
1 vote
1 answer
50 views

Only Clipping part of a vector layer with QGIS

What tool I would use if I just wanted to clip one area in a vector layer? I want to be able to make the red line extent match the green border, without clipping out the rest of the red extent (which ...
Peter McGregor's user avatar
0 votes
0 answers
22 views

Use exported WMS layer style (.qml or .sld) to style a vector layer in QGIS

I'm reaching out for assistance with a problem I've encountered while working with QGIS. My goal is to apply the styling defined in a WMS (Web Map Service) layer's exported style file (either .sld for ...
Mabignix's user avatar
2 votes
1 answer
70 views

Field Calculator Aggregate returns NULL

I'm facing an issue while trying to calculate the maximum value within polygons from another vector layer in QGIS. I've tried using the aggregate function with the 'max' statistic, but the result is ...
Zuchiatti's user avatar
0 votes
0 answers
31 views

How to display on a final map the scale of a vector field marker?

I'm using the vector field marker to display earth deformation. For that, I defined the vector field marker with cartesian components (x (field_3) as displacement in West-East and y (field_4) as ...
user238085's user avatar
0 votes
1 answer
50 views

Projection issue with vector layer

I'm new to using QGIS. I seem to have the issue that a vector layer I've imported into QGIS 3.26.3 is incorrectly projected into the project as it isn't where it should be. It seems that the layers ...
John Smith's user avatar
1 vote
1 answer
57 views

QGIS: Need to create a feature for a vector layer with a list of all unique values derived from a raster layer's cells

I have a vector layer with inner boundaries delineating certain land-use types in each discrete area. I also have a raster layer that contains information related to the vegetation found in each ...
Linus's user avatar
  • 31
0 votes
0 answers
27 views

QGIS: Processing tools adding a false edge to vector layer with extreme values

I am working in QGIS 3.34.2 and several processing tools I've used so far have added a thin outline (1 cell wide?) to the edge of my area of interest (see output of aspect tool below). The vector ...
Linus's user avatar
  • 31
3 votes
1 answer
86 views

Missing Geoprocessing Tools and Field Calculator in QGIS

I am currently facing an issue with my QGIS software (version 3.32 LIma). The geoprocessing tools for both vector and raster operations have suddenly stopped working, and I can't seem to locate these ...
sajlus's user avatar
  • 39
0 votes
0 answers
33 views

QGIS - Clipping vector error message

I'm trying to clip a vector by extent, the first vector layer clipped fine, I tried to repeat this on a second vector layer and I have the following error message: ERROR 1: Cannot find OGR field for ...
Bee's user avatar
  • 1
2 votes
0 answers
43 views

PostGIS - tiling vector layer

I have a height isoline vector layer covering a large area, but most of the time, I am only working on a small part of it, so all kind of handling of the data goes slowly. Are there any ways to make a ...
MortenSickel's user avatar
  • 3,686
0 votes
1 answer
68 views

Merging multiple line and point vectors in QGIS 3.28 [closed]

I have hundreds of line and vector layers. The line and vector layers are from several kml files. I want to combine the line and point vectors respectively and automatically without having to manually ...
SimplyWilly's user avatar
1 vote
1 answer
115 views

How to extract country borders as vector data from OpenStreetMap?

I want to download country borders as vector data from OpenStreetMap. The best would be in a common vector geodata format like GeoJSON that can be used e.g. in QGIS. I there a simple way to do this?
winnewoerp's user avatar
  • 1,508
1 vote
1 answer
125 views

Splitting line to upper and lower parts in QGIS

I need to split lines (rivers) to upper and lower parts (upstream and downstream) by points (fish barrier). All the original lines start from upstream and end downstream (picture). SAGA's "Split ...
omomom's user avatar
  • 11
1 vote
1 answer
31 views

Unable to set working directory for split vector layer tool

I have some data in a .shp layer that I want to separate into multiple vector layers based on ID. When I navigate to the Split Vector Layer tool, I can select my input layer, unique field ID, and ...
anzac21's user avatar
  • 21
0 votes
1 answer
68 views

QGIS Reproject Tool doesn't change vector size? [closed]

I'm new to GIS and confused about the Reproject tool in QGIS. I created a square vector grid in QGIS, with 100 4km by 4km cells. The grid was created in EPSG:3857 - WSG 84 / Pseudo-Mercator. But when ...
IntrepidCaterpillar's user avatar
2 votes
0 answers
51 views

Selecting features based on minimum overlap with another layer in QGIS [closed]

I have a "sites" vector layer with 300 polygon features and a "heathland" vector polygon layer, showing the locations of heathland areas. I am looking for a way to select all ...
nn90's user avatar
  • 57
1 vote
1 answer
55 views

Generate points from raster image in QGIS

I'm hoping to generate a new vector file from select points from a raster image in QGIS. I don't know if it is possible. For instance, I would like to generate a vector point file that puts a point ...
Anomalous Exploration's user avatar
2 votes
0 answers
106 views

Efficient and quick way to rasterize very large polygon (20GB)

I´m currently working on a large (> 20 GB) vectorized dataset (Geopackage format) holding land cover classification information for an entire country. I´m looking for an efficient and quick way to ...
G. Arruda's user avatar
3 votes
1 answer
126 views

Creating dummy (random) vector layers of different geometry types, with random attributes

Problem In QGIS, one sometimes needs some layers with dummy data just to test something: the functionality of an expression, the syntax of an SQL query in a virtual layer, creting quickly an animation ...
Babel's user avatar
  • 70.4k
2 votes
1 answer
147 views

Deleting points close to each other using QGIS (point thinning)

I'm trying to decimated a point shapefile to remove points close to each other. If you look at the example below, you can see points are 30cm apart, but other are closer. I just need to remove ...
Gil's user avatar
  • 111
2 votes
1 answer
56 views

Color Vector Line Using Different Data Layer QGIS

I have a project that has two important data layers. One contains raster data, in this case slope, and another layer that contains a bunch of vector lines. I want the color of the line to reflect the ...
Ethan Crosby's user avatar
0 votes
0 answers
48 views

Split with lines in QGIS get stuck at a certain %

I have a problem when using split with lines in QGIS. So I have two layers, First is land cover classes (closed forest, open forest, cropland, etc.), and Second is a management blocks. My task is to ...
zxz_341's user avatar
  • 21
0 votes
0 answers
40 views

Extracting road parts from a vector

I have vector drawings as in the image. The sections in these vectors represent physical roads. Is there an easy way to extract these road sections to a different vector layer? Or will this be a ...
firstlord's user avatar
  • 149
0 votes
0 answers
116 views

Opening DNC, VPF, VMAP in QGIS

Does anyone know how can I open a VPF or a DNC file in QGIS? It does not work through normal data layer adding channels. I can open a shapefile through them just fine. Documentation says that it ...
DieSlower's user avatar
  • 101
0 votes
0 answers
30 views

Problem with create line tool in QGIS, creates an undeletable line that is not part of any layer

I was attempting to edit a shapefile layer in QGIS. I used the "create line tool" and started to sketch out a shape. I didn't like how it was turning out and tried to cancel it by pressing &...
Patrick Wiley's user avatar
0 votes
0 answers
51 views

QGIS: Raster to Vector using Conversion tool but layer does not get created

I'm trying to convert a raster image into vectors so i can import them into Illustrator later. Using the conversion tool seems to be quite straight forward in every tutorial, however it does not work ...
shushu's user avatar
  • 13
2 votes
2 answers
180 views

Creating vector grid in QGIS for two different polygons without overlapping

In QGIS I have the data for all the continents except Antarctica. Now I want to create a grid of size 1km * 1km for each country however the problem I am running into is that if I take two ...
Arup Chakravorty's user avatar
0 votes
1 answer
122 views

Loop to convert from raster to vector layer in PyQGIS

I'm trying to build a loop, in pyqgis, to convert a raster layer to vector, but I don´t know how to set the names in the loop. The code is (see the second line of loop): from osgeo import gdal import ...
Walter Figueroa's user avatar
0 votes
2 answers
160 views

Triangulated Irregular Network (TIN) as a type of data in GIS

I'm taking an online GIS course of a reputed university and the instructor categorized GIS data types as Raster Vector, and Triangulated Irregular Network (TIN). Now I know that TIN is a vector ...
SVK99's user avatar
  • 9
2 votes
2 answers
79 views

Connecting points to the nearest K polygons in QGIS

I have a layer of point data, and a layer that contains polygons of all the lakes in a region. I am trying to find the K closest of these lakes for each point. The distance should be measured from the ...
p1unge's user avatar
  • 109
1 vote
0 answers
162 views

Extract touching polygons using st_touches

I am trying to extract touching polygons using R. The polygons are some wall facades and gaps. When I use st_touches(), it gave all (empty) value. However, they do touch each other. The issue is quite ...
Zac's user avatar
  • 13
0 votes
1 answer
111 views

Reason for existence of single parts vs. multipart layers

Vector layers can consist of single part or multipart layers. What is the reason for creating separate formats for that? It is perfectly possible to create a multipart layer and still create just one ...
Babel's user avatar
  • 70.4k
6 votes
5 answers
693 views

Finding overlapping polygons within the same layer in QGIS

I have a polygon layer and want to check if there are some polygons overlapping within the same layer. How can I do this? In ArcGIS, I could run the Intersect tool only by adding the layer I want to ...
Motti's user avatar
  • 424
1 vote
0 answers
128 views

QGIS: Shortest Path (network analysis) not working properly

My task is to connect all green points with the blue point by individual lines: I have created a path network with the following steps: extract the data of streets and roads from OSM with the plugin ...
ibdmn's user avatar
  • 191
0 votes
1 answer
60 views

Optimizing rasters and .mxd file to read them faster

I'm using ArcGIS Desktop 10.4 and have large raster and vector files on server which should be available for other PCs to see (they are viewing them in ArcReader). So far, I compressed rasters in ...
educated_morron's user avatar
0 votes
1 answer
36 views

For each segment in a polyline, I need to calculate the sum of an attribute for all objects upstream [closed]

I have a river network in polyline format and I want to accumulate an attribute in the direction of flow. For every single polyline object (stretch of river), I’d like to calculate the sum of an ...
Ben_123's user avatar
  • 53
2 votes
1 answer
183 views

Function to draw lines based on starting point, angle and length

I have used an R script to calculate the distance from a point within a polygon to the edge of the polygon at 1-degree increments. This has been saved as a CSV file. I am now wanting to create a ...
AotearoaNico's user avatar
0 votes
1 answer
108 views

How to chose a Vector layer, chose a field, then chose values using parameterAsEnums

I'm coding an archaeological site prediction model. Researchers are able to load multipolygons (i.e. soil type, landform), choose the field to 'weight' or 'rank'. My data has both soil and landform ...
Andrew's user avatar
  • 67
1 vote
0 answers
63 views

Reclassify raster data based on specified values in a field

I am building a processing plugin that uses elevation values from a shapefile to reclassify a raster data file. Desired Table Group Condition A: every unique value is treated as a group, and assign ...
Beginner's user avatar
0 votes
1 answer
109 views

Raster to Vector GDAL raster conversion error QGIS 3.28

I'm trying to convert a raster layer with values 1 to 0 in vector layer using GDAL raster conversion - Polygonize (Raster to Vector) in QGIS 3.28. After processing i got an error at the Log window: ...
Iven Pepa's user avatar
  • 341
0 votes
0 answers
109 views

How to convert raster to vector by generating center lines?

I need to vectorize the raster by keeping one center line trough the boundary pixels. My solution would need to be very similar to this question: Converting raster to vector by generating center lines?...
Sass's user avatar
  • 1
0 votes
0 answers
54 views

Select points and move points into center of polygons based on common field attributes using QGIS

I have two vector files: Points and Polygon in shapefile format. I need to know how many points lie outside the boundary of the polygons. And how many are located inside each polygon. After that, I ...
Shabani Magawila's user avatar
0 votes
1 answer
75 views

Edit the value of polygons depending on the presence of points in it

I have a shapefile (regions of France) and points (.CSV). Both are in WGS84 (EPSG:4326) and both overlap perfectly with the tmap package. I would like to color the regions according to the presence, ...
A-d-r-i's user avatar
0 votes
0 answers
29 views

Connecting to EGDI WFS in QGIS 3.28 fails

I'm trying to connect with the EGDI WFS (https://data.geus.dk/egdi/wfs/?whoami=youremail&typenames=egdi_mineraloccurrences_inspire) in QGIS. After creating a new connection in Data Source Manager &...
Iven Pepa's user avatar
  • 341
0 votes
0 answers
52 views

Cluster points by distance

The full story is, I have a bunch of GPS points with up/down accelerometer readings from vehicles and I'm trying to map where there may be rough road conditions. However, there ends up being a ton of ...
Brett Thomas's user avatar
2 votes
1 answer
118 views

Creating PDF with vector data in QGIS

I got my geospatial file ready with all information in vector data (except background PNGpng) in QGIS. Now I wish to save a PDF format for a second party. The vector lines are required to be visible ...
Alexander's user avatar
1 vote
0 answers
14 views

Setting numeric values in new field based on length and branches in QGIS

I'd like to know how to set incremental numeric values in a new field of a layer, which has been obtained by "shortest path from point to layer", based on the length and the branches. I need ...
Mark's user avatar
  • 955
0 votes
2 answers
131 views

QGIS Multiraster Zonal statistics for one vector

Is it possible to make one attribute table using zonal statistics for one vector and multiple rasters layers? I would like to make chart for one field with five sectors (polygons) in that field and ...
Marián Varga's user avatar
0 votes
1 answer
128 views

Open a vector .TAB (MapInfo Pro) file using C# (Net6.0) and GDAL

I'm trying to open a vector file using GDAL's C# bindings. However, running the below code keeps returning null instead of a Dataset for some reason for the dataset variable. I've installed GDAL (v 3....
Richard O's user avatar

1
2 3 4 5
39