We changed our privacy policy. Read more.

Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
42 views

Intersections (line and polygon) taking long time in QGIS

I'm intersecting some lines with polygons in QGIS v3.20 and it is taking a very long time to run the tool (hours and hours). The linework is complicated and had a large number of attributes. Likewise, ...
0
votes
0answers
21 views

Selecting within feature which are in one polygon [duplicate]

I have a polygon which has features within it (inside it). It want to select these within features so that I can delete it. These are all in a single polygon layer. I have tried QGIS's select by ...
0
votes
0answers
32 views

DXF overlay problem in QGIS

I need to import and overlay in my QGIS project some geometries from a PDF (definitely not georeferenced). I ran the PDF cleanup procedure on Inkscape and exported it as a DXF file.Next, I started a ...
0
votes
0answers
26 views

Writing a vector with geopandas to MySQL is written as TEXT not as POLYGON

I am currently trying to write some vector files into a MySQL database. It works great for most vector files, but for some I got the eror: (pymysql.err.DataError) (1406, "Data too long for column ...
0
votes
1answer
43 views

Home range - match symbol colour to polygon colour

I have a data set for point locations for birds and I am creating maps to show their home range. I would like to match the symbol colour (for the points) for each bird to the polygon colour that I ...
3
votes
1answer
40 views

How to snap a vector layer to a raster layer in QGIS?

I am working with both vector and raster data. I have several vector layers with land use data, e.g. including urban, (types of) forest and agriculture. I am also using Sentinel-2 raster data. My goal ...
3
votes
1answer
35 views

Using buffers in Point Sampling Tool

I have 50m (shape file) buffers around (shape file) data points. I have another layer with the raster of the vegetation (indicated by different colours) in that land. I can easily extract the raster ...
2
votes
0answers
35 views

Distance between line and point with shared ID

I have a point layer and a line layer with matching ID fields. I want to calculate the shortest distance between points and lines where the ID matches. They are not always the closest features to each ...
1
vote
0answers
18 views

I am using GeoServer for fetching vector data in GeoJson format, Can we use variable instead of key name to fetch the data from GeoJson file [closed]

I want to use variable "value_attribute" instead of static value "Villages" My Code is below: $(function () { $("#attributes" ).change(function () { ...
6
votes
2answers
159 views

Merging layers of certain geometry type only in QGIS

I have nearly a thousand layers of geospatial data consisting only of Point layers and Line Layers and I just want to make it so that I only have one layer for each type. Is there a way to filter to ...
1
vote
1answer
40 views

Cannot run Algorithm from Toolbox in QGIS - Failed to create file

I am on QGIS 3.16.3 and I want to use the Split Vector Algorithm. I have an Input Geometry which I got through the Overpass API from OSM https://overpass-turbo.eu/. The query is node [amenity=school]...
2
votes
3answers
116 views

Getting bounding box polygons from xmin, ymin, xmax, ymax in attribute table

I have a CSV file with bbox extents in xmin, ymin, xmax, ymax format. I can import these as pairs of delimited text layers and see the diagonal extents of these boxes on my map document. Can I take ...
3
votes
2answers
64 views

How to identify "island" polygons? [closed]

I am curious how can I find all polygons that are touching with each other but are completely separate from the rest of the polygons is the same dataset, using PostGIS. For better understanding I ...
3
votes
2answers
79 views

Creating buffer (of line geometry) around polygon feature using QGIS

I have a polygon layer representing coastal cliffs and would like to create a line at a certain distance out to sea from this polygon layer (I drew a blue line on the image below to demonstrate). In ...
1
vote
1answer
35 views

Merging average geometry of overlapping lines with differing nodes using QGIS

I am using QGIS 3.16. I've inherited a sloppy dataset of regional roads. My problem is this: Roads have been drawn over for updates and not deleted, leaving behind hundreds to thousands of ...
4
votes
1answer
51 views

Extracting polygons with smaller polygons inside parcels with houses

I have cadastral map loaded as a pink vector layer in QGIS. Then I have another vector layer that contains residential houses (purple polygons). I would like to create a new layer with areas ...
0
votes
0answers
11 views

Can't clip WCS with vector

I'm new to QGIS. I would like to have a map of a province and its border. I thought the easiest way to make it is loading in a WCS (CRS: ETRS89) and clip it using the border vector (CRS: Belge Lambert ...
4
votes
1answer
63 views

Visualizing most recent point by date in QGIS

Does anyone know how to visualize in QGIS, in a group of points with an associated date, the point corresponding to the last date? For example, a vector layer with 4 points: id Name Date 1 Joana ...
3
votes
2answers
69 views

After updating to QGIS 3.20.2 vector processing tools are missing

In my QGIS 3.20.2 I can't use tools from the Vector menu as I used in the previous QGIS version. See the print screens. Can somebody tell me why as well as how to resolve this issue?
1
vote
0answers
7 views

Combining multiple base map .vtpks

Scenario: I export the Topographic map to 2 different extent base maps(.vtpk). How do I combine those two into one .vtpk?
1
vote
1answer
80 views

How to batch calculate vector layer road lengths in QGIS?

I'm trying to calculate the road length for hundreds of layers, each one being a small road vector layer. I usually follow the process at https://www.qgistutorials.com/en/docs/calculating_line_lengths....
1
vote
0answers
59 views

Vector and Raster Layers not Overlapping when in same CRS

I am trying to create buffers around polygon centroids, and perform zonal statistics with an underlying raster layer, and the points are just not overlapping with the raster layer. I am using QGIS. I ...
0
votes
1answer
35 views

Calculating distance of a path/vector through multiple points in QGIS 3.16.3

I created a .csv file with coordinates to show a route between two locations where I live. I want to figure out the distance one would travel to arrive from one location(A) to another(B). With '...
0
votes
1answer
61 views

Calculate distance from centroid to border of Spatial Polygon in R

I have 3409 Electoral Divisions from the Irish census for the Republic of Ireland. I want to calculate 400 metre distances from the centroid of every electoral division to the spatial polygon boundary ...
0
votes
0answers
43 views

Reprojecting vector layer of points QGIS

I have a vector layer of 50 points with a CRS of OGC:CRS84 - WGS 84 (CRS84) and a raster layer with a CRS of EPSG:3857 - WGS 84 / Pseudo-Mercator. The vector layer of points doesn't line up correctly ...
2
votes
1answer
52 views

Hide label while editing in QGIS

When I edit a feature in QGIS and it has a label, it shows up and is often in the way so that I can't choose to place the vertex there (under the label - see example in picture - white label ...
0
votes
1answer
40 views

Visualizing GeoHashed data as polygons on QGIS

I have a .csv delimited text layer that includes a particular precision 7 geohash along with a certain measured value for the area represented by said geohash. For example: tc0fh3s,-101.0 tc0fxfg,-100....
0
votes
0answers
32 views

Replace values by nearest value

I have a vectorised meteorological dataset containing both precipitation and temperature for variables. This has been merged with a larger polygon however I have some NULL values in the field for ...
1
vote
1answer
33 views

Colour-based raster vectorizing in QGIS

Following the query; Cannot extract the WMS tiles to arbitrary GIS format where I asked about a possibility to get the WMS layer to QGIS or get the layer in some versatile vector GIS format. Now I ...
3
votes
1answer
130 views

Replicating ogr2ogr operation with GDAL vector translate

Following a comment on Error using SQL statement in ogr2ogr with Python string formatter, I am trying to use gdal.VectorTranslate() instead of ogr2ogr, but I keep receiving an error. Using Windows, ...
3
votes
1answer
34 views

Changing un-orthogonal polygons to orthogonal ones in ArcGIS Pro

I am creating polygonal features in ArcGIS Pro 2.8.0 for a buildings layer of a site survey project. Working in a team, some of the polygons representing building footprints were not created with the ...
0
votes
0answers
49 views

Buffer process in polygon using GDAL

I am trying to decrease the size of a polygon so to avoid having mixels. Thus, I use the GDAL function buffer: distance = -5 bufferedGeometry= initialGeometry.Buffer(distance) In addition, the ...
1
vote
1answer
69 views

PostGIS align borders of countries

New to PostGIS. I have USA & Canada vector data. The borders have small gaps or overlaps. I want to use PostGIS to align one border to another border. We are free to add or remove vertices. I have ...
5
votes
2answers
159 views

Cutting out part of the vertices of polygon to create line (between two points)

I have a polygon which represents a water catchment. I also have a polygon that represents a national boundary. I would like to cut out a line that represents only the part of the catchment boundary ...
2
votes
2answers
61 views

QGIS - Return the Intersection xyz Between "Select Features by Freehand" Geometry and Layer Feature(s) into Attribute Table

I have a vector layer in QGIS. I'm looking to return the xyz, not of the layer's feature(s), but of the intersection point between a "Select Features by Freehand" geometry and the feature(s)...
1
vote
1answer
30 views

What unit is represented by OD Matix costs (in QNEAT3 within QGIS 3.6 Noosa)?

Some background to explain what I have done, and thus my current question (at the end). I am trying to find a way to get a list of the distances between sites of a certain class to the nearest site of ...
0
votes
0answers
11 views

Making 2D vector into 3D based on raster

I have vector lines in 2D and would like to be able to visualize them in 3D. I have tried extracting the Z value (with v.drape) from the DTM it should be draped on but the lines remain in 2D once ...
5
votes
1answer
631 views

What is this UK coordinate system?

I received a dataset of Merseyside area (corresponding to the metropolitan area of Liverpool, United Kingdom, broadly defined) where the location coordinates are totally a mystery to me, and ...
0
votes
1answer
32 views

Export Vector Layer into Multiple GPX Files in QGIS

I have a vector layer that contains multiple attributes that I want to export as individual GPX files. In this instance, the "Save Features As" option exports all of these attributes as 1 ...
0
votes
0answers
5 views

Linking USGS EVI raster to tiger state census tracks in r

I have created a formal class raster layer of enhanced vegetation index (EVI) in r with geotiffs from USGS. # Load rasters into R raster19037 <- raster("...
1
vote
1answer
57 views

How to conditionally dissolve a vectorized layer?

I have a raster layer with the day of the year on which we observe temperature above 15 degrees. There are large differences (image below): I have vectorized this layer based on the Band including ...
0
votes
0answers
22 views

Plot highest value from vector point data

I have multiple data sets assigned to the same vector data point (rock and soil chemical levels in a drillhole). How do I make sure that only the highest value for each point is displayed? The data ...
5
votes
1answer
166 views

Union multiple vector layers in QGIS

When combining two layers the "Union" tool works fine, and I have used Union several times: A + B => AB, then AB + C => ABC, then ABC + D => ABCD, and then ABCD + E => ABCDE and ...
1
vote
1answer
31 views

QGIS "difference" tool - "feature has invalid geometry" - returns empty layer

I am trying to return the areas of the red polygon that fall outside of the orange polygon, using the difference tool. Both are vector layers I created by drawing around a georeferenced map. Their ...
1
vote
1answer
106 views

Seeking detailed Cyprus borders shapefile

I need to to show the Republic of Cyprus, the TRNC, the Buffer Zone and the British Bases. I've looked everywhere and every time it only shows the Republic, which makes sense as it is the UN ...
2
votes
0answers
26 views

How to not include layer and field name when using Split Vector Layer in QGIS?

When using "Split vector layer" tool, the outputs include the layer in the field name in the resulting shapefiles. The result file name is 'LAYER_FIELDNAME_ABC'. I want to extract them so ...
0
votes
0answers
27 views

Set fill transparency at 0% but keep line at 100% PyQGIS

I am trying to make the color of my buffer totally transparent, but I want to keep the stroke fully colored. I tried the following : color1 = QtGui.QColor('#f3a6b2') #or whatever, as it will be ...
1
vote
1answer
85 views

"Layers were not correctly generated" error when polygonizing raster in QGIS

I have the raster of a river product of an image classification with the SCP Plugin, and i need to divide the land and the water that resulted of said classification, so i am attempting to polygonize ...
1
vote
0answers
24 views

Error when using Train Image classifier from OTB Toolbox Plugin in QGIS

I was able to install the OTB Toolbox Plugin correctly into QGIS but I encountered a problem when I run the Train Image classifier, it returned an error: ERROR: Cannot find PROJ: How can I solve ...
3
votes
1answer
49 views

QGIS symbol placement

I have multilines (vector) with two SVG symbols. I use marker placement with interval and offset along the line. How can I set that if a symbol is some distance from the end of a line (symbolised by ...

1
2 3 4 5
34