Questions tagged [vector]

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

278 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
65 views

Referencing an output in an expression in process modeler

In the process modeler, I'd like to reference an output of a previous step as one of the parameters of an algorithm. In this case, the previous step was clipping a large raster and I want to use the ...
4
votes
1answer
563 views

Splitting feature in OpenLayers 5?

How do you split an OpenLayers Vector Feature (Polygon or a LineString)? i.e ux: select feature, select a 'split' UI button, draw a split on-top of the polygon or through the line. The feature ...
4
votes
1answer
199 views

3-D Terrain effects for vectors in QGIS?

I'm a bit new to QGIS, and making a few maps of roads through mountains. I'm looking to have a 3-D effect within my 2-D map. I got a DEM, made a hillshade, and blended a basemap over it. Nice ...
4
votes
0answers
175 views

QGIS 2.18.14 vector Clip analysis producing erroneous result

I am trying to perform a vector clip analysis (vector-->geoprocessing tools pull-down menu) using two complicated vector layers and am getting erroneous results. The clip 'Input layer' is shown here: ...
4
votes
0answers
1k views

How to perform spatial join and obtain attribute in python/GDAL?

I am working on a script that will take an unprojected raster, and using a UTM grid (shapefile), will obtain the correct SRS (I have a shapefile where each zone is attributed with its numerical SRS) ...
4
votes
1answer
583 views

Generating customized vector OSM map files from OpenStreetMap and other data?

I am looking for a way (e.g. tutorial?) to generate my own customized (offline) maps in OSM format. By "customized" I mean adding data (not just define a region of interest) to an existing OSM map (e....
4
votes
0answers
68 views

Qfield crashes when vector elements are touched

I have a problem with Qfield. I'm using qfield 0.8.8 on OS android 5.1.1 After having installed this Qfield version it does not run. When I touch a polygon or a line or a point it crashes; in ...
4
votes
0answers
2k views

QGIS “join attributes by location” fails

I am trying to join attributes from a vector polygon layer to a vector points layer wherever a point falls inside one of the polygons. I tried to use the QGIS 'join attributes by location" tool, ...
4
votes
0answers
44 views

How to restrict the creation of vectors (end vertices) to existing vertices in QGIS

My specific interest lies in network creation, however, knowing how to do that in general would be a plus. Is it possible to prevent a user from creating a line (line vector) without connecting it ...
4
votes
0answers
5k views

problem with saving to esri file

I was using Wroclaw 1.7/GDAL 1.9(earlier release)/Grass 6.4/GSL 1.15-2 and started getting the following message when saving any item to esri format. "Export to vector file failed. Error: creation of ...
3
votes
1answer
91 views

Fixing self-connect polygon in QGIS 3.2

I'm trying to clip a soil map layer and am getting invalid geometry that affects my clip result. The problem appears to be a self-intersecting polygon. I've tried using the 'check geometries', and ...
3
votes
0answers
912 views

How to get EPS vector as georeferenced layer into QGIS

I've got a eps-file with polygons of landuse. The file have got coordinates to georeference it. I need to convert it into a geo vector. I could do the following steps: export/convert the eps to ...
3
votes
0answers
160 views

How can I optimize performance for QGIS 2.14 vector processing?

I am attempting to do a Count points in polygon routine for a clean looking 'density' grid. I have around 800,000 points over a large polygon grid. My workstation has 24 cores and 128gb RAM, and yet ...
3
votes
0answers
170 views

How to accelerate v.generalize on massive vector data?

I have a big problem with my vector dataset (more than 1 million entities) and v.generalize in grass 7.0.5 and 6.4 (64 bits for both). I try to use Douglas method on this dataset but it is very very ...
3
votes
0answers
178 views

How to measure orthogonal distance of line from point in QGIS?

As I am fairly new to QGIS I'm seeking your help. I'm trying to measure the distance between points in a point Layer P and the end of lines in a line layer L. In L there are two categories (attributes)...
3
votes
0answers
82 views

Determining the first and last point that a polygon intersects

I have this... And I want to join those attributes to the polygon automatically: Because I'll have to replicate this on tones of those polygons. If this works I would like to know if it still works ...
3
votes
0answers
228 views

QGIS becomes unresponsive when adding new vector layers?

QGIS suddenly won't allow addition of new vector layers when running on PC (Lyon 2.12.1). I've reinstalled it, no help. I've recently changed to Windows 10 from 7, otherwise nothing much has changed ...
3
votes
0answers
278 views

Regridding vector values

I'm trying to regrid and interpolate vector values from WAM model output. I got WAM model netCDF output in rotated grid, I need to interpolate it to another grid which is some variant of LAEA ...
3
votes
0answers
261 views

PyQgis - Adding attributes to a POSTGIS layer

After reading @underdark's answer to this question on creating a new vector layer and @Matthias Kuhn's to this one on field calculation, I wrote a script that allows me to calcultate the mean arrival-...
3
votes
0answers
856 views

Intersecting vector data with raster data in PostGIS?

I have Open Street Map [OSM] data imported so that I can access the geometry of buildings. I have also loaded SRTM digital height data from NASA from a GeoTIFF raster. I have projected the raster into ...
3
votes
0answers
480 views

Cross-browser marker animation in OpenLayers

Currently I'm trying to implement animated markers in OpenLayers. I'm using PNGs for the markers, set by the externalGraphic style property on an OpenLayers.Layer.Vector. I need to be able to make ...
3
votes
0answers
561 views

How to render a transparent raster layer on top of one or more vector layers with PyQgis?

I been trying to render a map with a 3 vector layers and one raster layer. The idea is that the raster layer should be on top of the other 3 vector layers. The problem is that even when I add the ...
3
votes
0answers
187 views

Moving legend items up and down in QGIS

How can I change sort order in layer properties styles tab? The only way I've found is to change their labels and order by it.
2
votes
0answers
24 views

PDF export from QGIS print layout: line fill pattern vectors shown with pixelation

I have created grayscale piecharts in QGIS 3.14 Pi on Win10 with geometry generator. So the piecharts are vectors, created with the expression editor, using the wedge_buffer expression. I created a ...
2
votes
0answers
18 views

Distinct styling of two merged layers lost

I merged two shape files of K-12 school districts and intermediate school districts in MI. Basically an ISD contains many K-12 districts within it. There is a field in the attributes table that ...
2
votes
0answers
42 views

What do these distance numbers mean?

In the picture below, the red line is State Hwy 15, while the lake in the picture is Sooner lake. Please note that the highway intersects the lake several times and is very close to it at a number of ...
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 ...
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 ...
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 ...
2
votes
0answers
82 views

Calculating spatially weighted average value of vector layer in QGIS 3

I have a vector layer across an area with several different polygons of varying size. Each polygon has a rate of fertilizer as an attribute. I would like to calculate the average rate of fertilizer ...
2
votes
1answer
91 views

Calculate area with a buffer

I am looking for help for my master thesis. I have two layers, a set of households and burned area (vector data). I created buffer zones around each household and now want to estimate the burned area ...
2
votes
0answers
31 views

Reprojecting a shapefile Error

I am trying to write a function to reproject a vector file , by taking the original shapefile as input and giving out the name of the reprojected layer . Though when I call this function I get an ...
2
votes
0answers
58 views

Spatial distribution of vector polygons

I have two vector layers and I am looking for a tool for spatial distribution of the polygons. polygon 1 is the frame, polygon 2 are objects with different size and distribution. I need an index value ...
2
votes
0answers
33 views

Running v.net.steiner in segments?

I am using GRASS GIS 7.6 on a CentOS server with 157 GB of RAM. The vector categories of the network layer that I need to run the Steiner tree algorithm on are as follows: Layer/table: 1/network type ...
2
votes
1answer
346 views

QGIS freezes when trying to view layer properties

As of recently whenever I try to edit the properties of a vector layer the entire program just freezes and I'm forced to end the process using task manager. I use Windows 10. Any reasons as to why ...
2
votes
1answer
206 views

Coordinates of an area on a raster in QGIS

I am new to GIS and I have to do the following: I have a GeoTIFF raster file of a map with some features like clouds and water bodies. It is a satellite image. My images are taken from a snapshot of ...
2
votes
0answers
29 views

Query of line direction histogram plugin

I was wondering if anyone could explain how this plugin works I have had a play around with it and I do like how it visualizes how vectors are orientated. However I ran one and opened the CSV file ...
2
votes
0answers
30 views

How to delete a file after processing an algorithm in QGIS 2.18?

I am trying to delete an intermediate file ("Temp_merged.shp") after running the singleparts to multiparts algorithm in QGIS 2.18. import glob, os, processing path_to_shp = "C:/Temp/Tracks/" ...
2
votes
0answers
130 views

Vector map (rivers) to Raster. [ **ERROR 1: Wrong value for -outsize parameter.**]

I want to transform this vector map: To something like this I only tried to convert the vector map through Raster> Conversion> Rasterize But I get this Error: QGIS version: 3.6.3-Noosa QGIS code ...
2
votes
0answers
47 views

Isolating main polyline using QGIS?

I am trying to convert a line shapefile with branches into just one polyline, actually deleting every other diramation. Imagine something like this: :________|__________|____|||______ into :...
2
votes
0answers
931 views

Error in reproject vector file using GeoPandas

I have a vector file (in this case shp file) and I read it with GeoPandas (gpd). vector_folder = r'C:\poly' vector_file = 'poly.shp' df = gpd.read_file(os.path.join(vector_folder,vector_file)) df ...
2
votes
0answers
85 views

How to export a single feature (line) from multiple layers and export to individual layers?

I have multiple vector layers representing a time series. Each layer contains many lines each. I want to select a single specific line from each of these these layers and save it to another layer. ...
2
votes
0answers
74 views

Replacing Multiple Polygon Geometry

I am carrying out a piece of work in ArcGIS 10.4.1 that involves realigning polygons to an updated vector map. The polygons in question are planning permission boundaries that are created showing the ...
2
votes
0answers
48 views

Issue with vector grid and calculating area QGIS

I'm trying to determine the area of occurence from a large polygon superimposed onto 2km x 2km grids. The goal is to have a slightly coarser answer then a straight area of the original polygon as the ...
2
votes
0answers
65 views

How to sum attributes from different vector grids?

I am using QGIS and have a vector grid covering part of South Europe. The grid is made of rectangles each with equal size 0.01 degree. So there are thousands of features defined by four values : left, ...
2
votes
0answers
75 views

Saving vector layer into KML across 180 longitude line

I am trying to save a vector layer into KML, however in this case some of the shape cross the 180 longitude line and the shape just breaks and become long lines.. (they are supposed to be circles) ...
2
votes
0answers
169 views

Shape index, compactness and assymetry index with PostgreSQL /PostGIS

I am working on automated land parcel identification and would like to extract road/river/thin and linear-like polygons from a massive dataset. For now, the only index I can get some answers from is ...
2
votes
0answers
264 views

Create 3D polygon from 3D point map

I'm a new qGis user (just started yesterday) and I'm trying to find a solution to a problem. I need to generate a 3D polygon starting from a list of points located in space, with X and Y coordinates ...
2
votes
0answers
200 views

How to merge large number of vector features with QGIS SingleToMultipart?

My goal: Merging all line segments in a vector to a single feature. My approach: QGIS module singlepartstomultipart My problem: For larger numbers of features within the line vector, the module ...
2
votes
0answers
162 views

Openlayers3, vector data layer not visible after proceeding select onchange function

I input two polygon geojson layers, one is just boundary layer, another is the vectorlayer contains many attributes. I add map.on('click', function(evt), so users can click on the map, and the ...

1
2 3 4 5 6