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
0answers
21 views

Inserting magnetic vectors on map using QGIS [closed]

How do I map some magnetic field Vectors (arrows), on an existing map, using QGIS? The arrows own two components (declination and inclination).
0
votes
0answers
8 views

I cannot choose the preference layer after I add my GDB file in QGIS

After I add my Geodatabase file into QGIS. Usually, I can select the preference layer that I want to use. (See the attached picture). [This box usually appears after I add my GDB file where all ...
1
vote
1answer
21 views

QGIS, clip my vector data with a DEM raster

I know that I cannot simply clip vector data with raster data. I'm working in QGIS and I have vector point data of earthquakes (XYZ), and I have it projected on top of my raster data (.tif). However, ...
0
votes
0answers
15 views

Null values from point sampling tool

I'm trying to get values from a raster layer at positions defined in a vector layer. I've tried with Point Sampling Tool plugin in QGIS but I'm getting many (but not all) Null values, so losing good ...
0
votes
0answers
19 views

QGIS 3.12 reports that vectors cannot be joined as they are wrong type? [closed]

When running vector "merge" on vector layers in QGIS 3.12 QGIS reports files are not supported as outputs for this algorithm How can I do this?
0
votes
0answers
24 views

Continuous colour gradient within line segments in a vector layer

I am new to QGIS (using version 3.13) and my main objective with it is easy to explain: creating a line vector (multiple points, representing a river) in which the colour of the line changes based on ...
0
votes
1answer
24 views

Clipping a vector shapefile fails to include all data

I have a vector file with 4 levels of data within it. This started life as mapinfo tab files (7 files, map,mif,mid etc.) These were passed through mapinfo universal translator, reading original crs (...
2
votes
1answer
27 views

Static image layer combined with vector layer in OpenLayers 6

I'm trying to have an image layer combined with a vector layer but when I add projection to View the vectors disappear. Am I doing something wrong? Here is an example of what I'm trying to achieve: ...
0
votes
1answer
42 views

Data matching between 2 layers which do not overlap

I would like to know how a vector layer can takes attributes of a field, of another vector layer which is not overlapping. For example, there are 2 vector layers, test_1 (2 records A,B) and test_2 (3 ...
0
votes
1answer
52 views

Calculate azimuth angle in QGIS

I have a few exercises to do and I can't do it at all. I am newbie to this field. I use QGIS 3.4. Exercise 1 What is the azimuth between the starting point and the Z place? I must write the value in ...
1
vote
0answers
10 views

QGIS Centre Pivot Wheel Vector Height Intersection With Raster

I am trying to visually display a centre pivot irrigator against a DTM Raster file to check terrain clearances in QGIS. I have a 1m DTM Raster and polygon/and line vector files of the pivot wheels. ...
1
vote
1answer
18 views

Convert a polygon geopackage into a multi-polygon geopackage in QGIS

I have a series of polygons in a geopackage file of QGIS polygons. Is it possible to transfer the contents of this file to another geopackage that has multipolygons as vector data type? I need to fix ...
2
votes
1answer
45 views

Vector grid id generation [duplicate]

I generated a grid with 300m spacing but the ids generated from top to bottom in sequential oder. How could I get in horizontal from left to right sequence.
0
votes
0answers
30 views

Best way to serve vector tiles from data that changes frequently?

I'm working on a project where I process national radar data and generate a GeoJSON with the data. The data is generated every 5 minutes and I delete the oldest data before I add the latest data. I'm ...
1
vote
0answers
31 views

GDAL C# Bindings

I need some help on usage of GDAL C# bindings to convert geoJSON to MVT. How do I know that, below call is complete? We observed that below call is Async (All the code lines are executed and Parent ...
1
vote
0answers
42 views

Enable vector layer using an expression via PyQGIS

How do I go about enabling a vector layer using an expression via PyQGIS? See screenshot below for location of field, and a sample expression: I'm new to using PyQGIS and not sure if I should be ...
0
votes
0answers
8 views

Merging attributes from two independently digitized linestring layers

I am looking for possible algorithms for merging two linestring layers describing the same physical features, but digitized separately - thus not perfectly equal geometrically, and with possible ...
0
votes
1answer
37 views

How to create a vector layer from loaded layer from GeoPackage?

Firstly, I load layers from gpkg (GeoPackage). Secondly, I need to create a vector layer from one loaded layer which is named stops. Second point I cant do it, because I need to mark a column, that ...
1
vote
1answer
37 views

Opening vector layer from GeoJSON file

I have a vector layer of rectangles in QGIS 3 that I export as a .GeoJSON- file. I want to change those geometries to new polygons with certain dimensions, for which I use Python. I then save those ...
1
vote
1answer
35 views

Cannot save KML polygon after modification

I am a new QGIS user. I have layer containing few polygons, imported from a .KML file (I have created them with Google Earth). I need to adjust the vertex, so I right click on the layer and select "...
2
votes
1answer
67 views

Vector data displaying incorrectly

I'm having an issue where the vector layer I am using is not working with with the basemaps (see figure). I know the issues is because the vector data is trying to draw a shape from the end of one ...
0
votes
0answers
23 views

When to choose between a raster or vector format?

I'm trying to decide how to best serve data layers on a map. The data will be preprocessed on the server. The workflow I'm currently trying to implement goes as follows: Acquire satellite imagery (eg....
0
votes
1answer
20 views

Overlapping features in a layer - Want to use one feature's value to 'override' overlaps

In this layer, I want to use the feature with the value '33500' in the field 'Seeding_Ra' to override the value of any polygon it overlaps with to that value, but just within the overlap geometry. Is ...
0
votes
0answers
19 views

Merge files in multiple FGDBs within parent folder

I have a folder with multiple file geodatabases (FGDBs). Each FGDB has 4 different feature class tables. I want to merge the similar tables (i.e. merge all riparian, merge all soils separately) across ...
2
votes
2answers
136 views

Calculate distances from points to multiple country borders in QGIS

I have a shapefile containing several thousand GPS locations located in multiple countries and another shapefile with country polygons (or alternatively also one with country border polylines). How ...
0
votes
1answer
28 views

Error message: Invalid geometry Refactor Fields QGIS

I'm trying to do a simple modification of changing field type to vector table by using the tool Refactor Fields. However, the output log returns the following error message, every time: Traceback (...
0
votes
0answers
77 views

Vector Bender in QGIS 3.10 not aligning

I am using the Vector Bender plugin to "georeference" a shapefile to a raster to point file. When I run the processes following this tutorial, my polygons are still not moving even though no errors ...
1
vote
0answers
23 views

QGIS polygonize TIFF results in strange vector

I used an open access data set of GeoTIFFs and used polygonize to transform them into vectors. For the majority of TIFFs this went well, except for two, which create strange longitudinal bars (see ...
0
votes
0answers
17 views

Problem with Rasterize Tool (vector to raster) QGIS 2.18.28

I am trying to convert a vector file into a raster using the rasterize tool however it us just producing a back block of a single value. I am rather confused as I have used this tool on another ...
0
votes
0answers
10 views

Joining line and polygon on most percentage present

I am trying to add a column to one vector layer to another. One of the vector layers is a polygon and the other a line (see image). The line vector contains data that I want to add to the polygon ...
1
vote
1answer
45 views

How to extract slope value for a geometry point in GEE

I want to extract slope values for various points in a certain region. Below is my current code which visualizes my region of interest on the map viewer // dataset var srtm = ee.Image('USGS/...
3
votes
2answers
63 views

QGIS substring only working on first part of multipart line

I am trying to extract part of a line starting at x meters and finishing at y meters of it's length. The problem is that if I use the "Line Substring" tool, it only works on the first part of the line....
0
votes
0answers
24 views

Missing Vector Pull Down Menu

I was looking to create buffers around roads that I input in QGIS but every tutorial video I looked at did it by clicking on a pull-down menu titled "Vector" which doesn't appear when I open QGIS I ...
1
vote
1answer
35 views

QGIS sum selected line lengths

I need a tool which displays the sum of selected lines as I go in QGIS. Something like the Measure line-tool. I´m new to PyQGIS. The logic seems quite simple, I just don´t know where to start. I guess ...
0
votes
1answer
48 views

Scale feature in QGIS

I am trying to scale (up and down) feature(s), similar to ArcGIS where the first click specifies the scale reference point and the second click specifies the scale factor, but couldn't find a solution ...
0
votes
1answer
47 views

Processing tool window doesn't appear in QGIS

I'm encountering a strange problem: I cannot execute any tools in QGIS (e.g., buffer, join--literally everything anything in the Vector or Raster menus. This seems to apply to all tools in all plug-...
0
votes
2answers
70 views

ArcMap to automatically create polygons from shapes that are present in an image raster

I have a geolocated greyscale geojpeg image showing a network of geological fractures in the ground. They show up as bright lineations and create a reticulate pattern (think giraffe pattern). I've ...
0
votes
0answers
22 views

Specifying a variable in ArcMap output if this is not present in the input

I have been using ArcMap 10.6 (working from within a .gdb, with vector files) to buffer selected variables from a number of files (classes of water, buildings, roads and a constructed other for the ...
1
vote
0answers
51 views

Creating a new vector by aggregating another vector's value with a specific criterion in QGIS

I have a vector polygon layer in which each polygon represents an olive grove, each polygon has the data of harvestable biomass in that specific olive grove. Now I have to estimate transport costs ...
0
votes
0answers
19 views

Create a polygon from a line layer [duplicate]

I am using QGIS 2.14. I am trying to create a polygon from a line layer(roads) so that I can clip layers within that area, but my output layer will not clip any other layer only the roads it lies ...
0
votes
0answers
37 views

Leaflet poor performance on pbf animation

I am trying to animate different tilesets for precipitation data on leaflet map. I create layers upfront for next and previous timestamps. I have done the similar logic using MapBox and animation and ...
2
votes
1answer
95 views

Save QgsVectorLayer to file?

Isn't there a save method for QgsVectorLayer created for example like this: i_out = processing.run("native:buffer", {'INPUT':'C:/GIS/data/testdata/ak_riks.shp', 'DISTANCE':100000,'SEGMENTS':...
2
votes
0answers
19 views

Plotting raster and vector data on same Plot

I have a raster and croped it by vector boundary. Vector reprojected to crs of the raster, but when I plot it does not show on the same figure? Something with plotting extend, but how to make them ...
0
votes
0answers
13 views

Moving Feature to Front [duplicate]

I'm working on digitizing a map and I'm wondering if there is anyway I could bring a feature in front of another? in the image shown, I'd like to bring the Green feature in front of the purple. Is ...
1
vote
0answers
45 views

Merge all separated lines with connecting extremities into single continuous lines

I got a DWG file from a friend that contains the curve lines of an area. However, once I import the file and then convert it to shapefile, all the lines are split. I would like to connect all the ...
2
votes
1answer
35 views

Difference between two Z-values extracted using “Extract -Z values” tool in QGIS 3

When I run Extract-Z tool (vector geometry) and select Q3, I get two values for each object: In many cases, the two values are almost identical, but in some, they differ quite a bit. There is no ...
1
vote
1answer
28 views

QGIS 3.4 - Extract Z - Vector Geometry

In QGIS Versions before 3.4 there was a tool called "Extract-Z" values (Not drape!) in the Vector Geometry Toolbox... Anybody know where it has gone? I have not found it, neither in the processing ...
0
votes
0answers
19 views

Creating vector joining two geopositions

I have two points in Lat, Long, Elevation format. I need to find vector/direction joining them. Would I need to convert them both to ECEF coordinates first?
2
votes
1answer
83 views

Locating the maximum values of a raster intersection with a vector of polygons using Python

I have extracted the statistics of a raster in the polygons of a vector layer using the python zonal_stats function. I need to identify the coordinates of the found maximum values. How can I do it ...
1
vote
1answer
34 views

Draw edges connecting vertexes (by id) on QGIS

I've been trying to figure out how to draw edges connecting a series of geographical points. There are many solutions that I've thought of but none of them take any advantage of the QGIS tools. ...

1
2 3 4 5
30