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
88 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
46 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
54 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
2answers
45 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
49 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
33 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
40 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
43 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
41 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
49 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
40 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
68 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
24 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
23 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
22 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
186 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
42 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
171 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
25 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
21 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
12 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
58 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
69 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
38 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
60 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
48 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
84 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
52 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
20 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
40 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 ...
3
votes
1answer
147 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
21 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
57 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
37 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
29 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
129 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
36 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. ...
0
votes
1answer
44 views

QGIS flip vector (Shape Tool, plugin) [closed]

We need to flip a some vector geometry, like a pancake. We've tried in QGIS 3.10 the Shape Tool, but it's not working. Do any of you have an idea or know a plug-in that would work?
0
votes
3answers
47 views

Creating a selection that selects points that are within a certain distance of other points in QGIS

So I am in a beginner Geospatial Analysis class which is focused on learning Arc and ESRI-owned GIS software but I wanted to be able to apply what I am learning in something that would be more ...
2
votes
1answer
46 views

Creating a single point on a specific distance on a line in QGIS 3.10

I'm trying to find a plugin of some sorts to help me create a point along a line at a certain distance. This does not require a import from a CSV file, just a field where I can insert a certain ...
0
votes
0answers
16 views

How Should I convert a multi parts feature in a polygon layer to the multi features? [duplicate]

I have a multi part polygon in QGIS consist of three parts. I would like to split this to three separated features with the same attribute. How should I do this?
2
votes
1answer
42 views

How do I reclassify raster pixels that are not intersected by a line?

I have a large raster and a line. I want to preserve the values of the pixels that are below the line, and reclassify all other pixels to NO VALUE or 9999, so that only the pixels where the line ...
0
votes
1answer
40 views

Problem when import vector data from GRASS GIS within RStudio

I am trying to use GRASS GIS 7.6 within RStudio and import a polygon which is in WGS 84 (EPSG 4326). I have created successfully the location and the mapset in GRASS GIS. When I use the command v....
0
votes
1answer
31 views

Identifying zip codes that cover multiple townships

I have shapefiles with zip code tabulations in Massachusetts and township areas. Some zip codes fall completely within a single township, while some zip codes cross multiple town borders. I want to ...

1
2
3 4 5
31