Questions tagged [vector]
A coordinate-based data model that represents geographic features as points, lines, and polygons.
1,772
questions
1
vote
0
answers
20
views
Increasing the smoothness of a wave
I wrote a Geometry Generator expression to create a sine wave in the canvas (don't ask, just having fun):
with_variable(
'points',
map(
'point_middle_left',
make_point(x(@...
2
votes
1
answer
36
views
Dynamic stats in the decoration title lable, by time stamp, in QGIS
I am trying to create a visualisation method of simple stats using the title label in QGIS canvas. I need to observe temporal changes in the stats, so I have tried to specify a dynamic chunk of text ...
0
votes
1
answer
25
views
CSS transparency in GEE
I have imported a very simple shapefile to my map in GEE. Since this layer represents boundaries (see picture below), I am trying to find a way for the outline colour to be solid black whilst ...
1
vote
0
answers
19
views
Modifying features in-place with a model
QGIS has some processing algorithms that allow modifying the layer's features in-place.
How can I create a tool in the graphical modeler that allows for the same in-place editing functionality, e. g. ...
-1
votes
0
answers
15
views
Create a vector file from a particular color on a Geo-Referenced Raster [closed]
Is it possible to create a vector layer from a particular color in a raster? I am geo-referencing screenshots of land parcels (highlighted in red) and then drawing the parcel of land manually. Is ...
1
vote
1
answer
39
views
WMS is for raster... What is for vector layers? [closed]
From my understanding, standards such as WMS, TMS etc are mainly used to fetch raster layers from a map server.
What are the popular options for serving vector layers?
Can it be tiled or not tiled as ...
2
votes
0
answers
32
views
Loading CSV File as Vector Layer from URL,Remote,Server (QGIS)
QGIS 3.24
I want to load a CSV file as a Vector Layer from my Server. The CSV file is regularly updated with new coordinates from a GPS tracker.
My code:
uri = "/vsicurl/http://mydomain.at/iot/...
2
votes
0
answers
21
views
Merging feature within cells in QGIS [duplicate]
I'm dealing with a global fire map (vector map, polygons don't overlap), each cell contains the number of fires occurred in this area over the past 20 years.
I'm trying to sum up the value of "...
4
votes
1
answer
80
views
QGIS: Min & max buffer to cover features in another layer
I'm working with buildings in QGIS (vector polygons) and have two layers - call them a "source" building and multiple "sink" buildings (in second layer). How would I go about ...
0
votes
0
answers
54
views
OpenLayers vector accuracy in EPSG:3857 projection
I'm working on a web mapping solution that stores data in PostGIS with EPSG:4326 projection. Everything seems to be good until last week. My customer loaded two shapefiles that some parts are ...
0
votes
0
answers
20
views
QGIS Calculate Percentage Area of Grid Cell
I'm trying to use QGIS to calculate the area of each grid cell that has been deforested.
To do so, I have tried the following:
Create Grid to create a 30km x 30km square grid
Add Deforestation Layer (...
0
votes
1
answer
18
views
Land cover shapefile to raster
I have a cropped shapefile containing land cover data that needs to be converted into raster so I can use it for curve number calculations. I don't know how I will do this. I have QGIS 3.22 and Global ...
1
vote
0
answers
33
views
Vector files in QGIS are very badly deformed in different projection systems [duplicate]
I have a vector file of a world map, a shapefile. I wanted to make a map of the world centered on the Pacific Ocean, so I used EPSG:8859 BUT the Arctic and Antarctic regions will undergo severe ...
3
votes
0
answers
46
views
Merging three different rasters using QGIS
I am doing multi-classification using the raster.
I rasterized vectors (farmlands, buildings, and forests) with 1,2,3 raster values, respectively. I have 3 rasters and I want to merge them. I tried ...
0
votes
3
answers
108
views
Remove the intersecting parts in a set of polygons [closed]
I have a set of (~200k) polygons showing deforestation in the Amazon. Each polygon is associated with a date when the deforestation happened.
Some of them are intersecting with each other, ie. one ...
1
vote
1
answer
32
views
Extracting raster cell values from Gridded World Population Dataset in R
I am using the Gridded World Population dataset which gives population density values for each cell in a raster. I want to find the population of shapefiles by extracting the population density values ...
3
votes
1
answer
106
views
Creating vector file using QGIS
I'm an artist hoping to create the shape of two islands out of wood. The person who is running the CNC machine requires vector files.
While I know I could learn to hand-trace in Illustrator, is there ...
0
votes
0
answers
29
views
QGIS Contour Vectors to Raster
I'm wanting to create a DEM from vector contours but whatever tool I use, it fails to identify the sea level contour at elevation 0.
I have tried via GRASS v.to.r, QGIS tool Vector to Raster and QGIS ...
3
votes
1
answer
73
views
Add angle of point from road as seen from left to right?
I have a layer of trees (purple points) that I want to add a column that equals the order of trees by angle if seen from left to right. For example, with the property with three trees, you would stand ...
1
vote
2
answers
37
views
QGIS - Adding data from a raster into existing different sized polygons
I have a raster layer with 100x100 pixel size that contains expected soil subsidence (calculated) and a polygon layer with smaller polygons that contains the measured data. I want to add the ...
0
votes
0
answers
16
views
Conditional incrementation in attribute table in QGIS [duplicate]
I split one vector line with various entities with the tool 'Split line by maximum length'. Now I need to have the order of different segment (create by the 'Split line by max length') for each ...
0
votes
1
answer
52
views
Building own CRS
I have a set of polylines which are described by a project-specific, local coordinate system. I would like to find a more or less accurate way of reprojecting these polylines to EPSG:28992. I have ...
0
votes
1
answer
20
views
Is there a way to have all the outline to be in black after using "subtract" blending mode?
I have created a map of Central Africa which has two different layers: one layer shows the administrative boundaries of countries while the other one shows administrative boundaries of local regions ...
1
vote
1
answer
21
views
Creating mask layer from raster
I have a raster image and I want to get a georeferenced mask layer based on the area of the raster.
For example my raster data:
I want such a layer.
How can I do this with QGIS? I know about ...
0
votes
0
answers
20
views
Raster file and vector file aren't matching
I have opened a .tif file from WorldClim, specifically the bioclimatic variables. When I open them in QGIS, the raster file opens and looks normal; however, when I look at the extent of the raster I ...
0
votes
0
answers
14
views
Different Attribute Name when exported from Global Mapper 17
I have been trying to export .shp files from Global Mapper. However the Attribute names and its Export name doesn't seem to be able to corelate. For example, if I were to set the attribute name to &...
2
votes
2
answers
73
views
How to remove the cells are zero or null from the map
I want to remove empty cells to obtain a map map like (b) from the above map (a).
Do you know a simple way to do it?
1
vote
0
answers
40
views
How to show more data in lower zoom levels with Vector tiles [closed]
I have downloaded OpenMapTiles Vector .mbtiles file for whole world data ~50GB, created a localhost to serve .pbf tiles and rendering them on client with maplibre-gl. At zoom level 12, minor roads are ...
5
votes
2
answers
197
views
Getting one point with coordinates for polygon in QGIS
I drew a polygon and after that, I extracted the vertices to eventually get the coordinates of the area.
As shown in the screen capture I've got my y/latitude and x/longitude but I would like to get ...
0
votes
0
answers
48
views
How do I get the overlap area of Raster and Vector to polygon in QGIS?
I removed the Nodata portion of the landsat8 satellite image using QGIS.
Then, I used the Extract Layer Extent tool to generate polygons along the edges of the cut images.
However, the result came ...
0
votes
1
answer
51
views
How to Polygonize the entire Raster image in QGIS?
QGIS is trying to create a polygon for the Raster image using Polygonize (Raster -> Vector).
My Raster Data is a satellite image, but when I Polygonize it, polygon is generated in each pixel and ...
2
votes
0
answers
30
views
Change default point symbol with an icon in QGIS using API [duplicate]
I want to change default point symbol in the vector layer with an icon, which is an image in .png type using QGIS API.
I found a question "Creating custom marker from vector image using PyQGIS&...
2
votes
1
answer
79
views
How to merge the attributes of point shapefile in QGIS
I am trying to make wind map in QGIS, where I used vector point shapefile.
Because I have two different shapefiles I first merged them:
Then I Dissolve it where I choose two attributes to dissolved:
...
1
vote
0
answers
24
views
Collaboration tool to review/add/delete a large amount of box polygons on a map
I have a large amount (more than 30k) of simple polygons (i.e. boxes) and at the moment I am using QGIS to review (add/remove) them on map.
Those polygons are vector features extracted from various ...
1
vote
0
answers
50
views
Seeking sf equivalent of QGIS Extract Vertices
If there is an equivalent function in the sf library for QGIS Vector Geometry tool Extract Vertices, what is it?
Essentially st_cast(), but would incorporate node/vertex index, part, part index, ...
0
votes
0
answers
31
views
Vector creation fail
I am attempting to create a new vector/SHP polygon layer in a project that was created with QGIS 3.22. After creating the fields I want, then clicking "OK," I get a red warning that the ...
1
vote
1
answer
58
views
Creating polygon layers showing parking zones in particular area using QGIS
So I'd like to create a Shapefile map which constitutes of the various 'Controlled Parking Zones(CPZ)' within the London Borough of Southwark. The map I'd like to create would be comprised of polygons ...
0
votes
0
answers
5
views
GRASS GIS d.vector - symbol levels
Is it possible in GRASS GIS 7.8 to enable symbol levels similar to QGIS?
In the attached image the black line has a higher value than orange, and black should ideally cover orange in the intersection.
...
0
votes
1
answer
28
views
Writing PolylineZ shapefile with pyshp [closed]
I am trying to write a POLYLINEZ file in Python with pyshp and find the documentation lacking... When importing a POLYLINEZ shapefile, the x,y values are separate from the z values. (sf.shape().points ...
1
vote
0
answers
114
views
QGIS: Changing the CRS Coordinates on an XYZ Tile (Google Satellite Image)
Problem
Firstly, I am a complete novice to QGIS and I have only been using this software for one week. Therefore, I apologise if I am not using the correct terminology. I have added vector layers (...
0
votes
0
answers
81
views
Shape integrity error
I'm working with a vector layer (from a geopackage) which I would like to convert to a raster layer. However, when I convert it certain parts just disappear. If I scroll through the attribute table ...
2
votes
2
answers
113
views
QGIS create lines between points from different layers
I would like to connect my points with one point at the different layer, like you see below:
but the simple option like Points to path doesn't work here, because it applies to one layer.
I found some ...
2
votes
2
answers
75
views
Connecting datapoints of same individual on same date with line in QGIS
I am currently doing fieldwork on little owls. Part of this is noting down on a map where I hear their sounds coming from. These points I later transfer to QGIS (image 1).
Sometimes the owl moves ...
1
vote
0
answers
27
views
How to select nearest feature with the same attribute on different layer in QGIS?
Introduction: I have two point data sets containing data about sites investigated using different methods, let's call them sites-original and sites-comparison. Each table has a field "method"...
7
votes
4
answers
359
views
Dissolving polygon on QGIS
I have a grid of polygons as in the figure below;
I need to dissolve the polygons into a single feature. I used the Dissolve tool on QGIS without specifying any dissolve field. The QGIS result is ...
-1
votes
1
answer
34
views
Vector line length vs. geographical distance (as a bird flies) [closed]
Is there a way to compare the length of a line (ESRI Shapefile in my case) to the actual distance it covers with freely available tools?
I am developing an optional path algorithm. The image below ...
3
votes
1
answer
79
views
Aggregating vector grid tiles to lower resolution in QGIS
I have a vector layer with grid tiles of 100x100 meters that contain data for each tile. I now would like to aggregate those tiles to a lower resolution (e.g. 200x200m, 1000x1000m), preferably in QGIS ...
2
votes
1
answer
40
views
Exporting vector contour lines from 3D Map view in QGIS
Is there a way to export the contours in a 3D map view in QGIS to vectors?
Here is my 3D map view.
0
votes
0
answers
28
views
Worlds Waterways Vector
We are trying to export all the world's waterways in vector.
I have imported ERIS as vector tiles on top of the OpenStreet map. I removed all layers that were not waterways but cannot seem to get them ...
3
votes
1
answer
106
views
Drawing virtual dotted line using PyQGIS
I am developing a plugin in QGIS 3.14 to customize editing. I am drawing a line by clicking on map canvas. It is showing points with mouse click and creating a line with right click. I want to trace ...