Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
45 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 ...
3
votes
1answer
413 views

Generating customized vector OSM map files from OpenStreetMamp 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....
2
votes
2answers
588 views

Changing vector extent in QGIS

I've been looking for a manner to change a vector extent in QGIS, but it's unsuccessfull! I want change extent because in the past, I had problems to convert vector to raster. I try present the ...
4
votes
2answers
291 views

Density map of pedestrian paths and footways in QGIS

I need to identify public places within pedestrian areas in London, so I need to calculate the density of both pedestrian links and footways. I have classified my data according to the categorization ...
0
votes
1answer
40 views

How to make sure that vector and raster data align correctly in ArcGIS?

I have a shapefile of European states (open-access from here: http://tapiquen-sig.jimdo.com) and DEM data downloaded from Copernicus. Europe states vector is in GCS_WGS_1984 (Datum: D_WGS_1984, ...
1
vote
1answer
32 views

How to get pure base topo map without any human made things?

I need detailed world map (preferably vector), just like Google Maps Terrain, but without roads, streets, airports etc. Just pure base map like an atlas with mountains, deserts, rivers, lakes etc. ...
2
votes
1answer
48 views

QGIS Measure Distance Using Field Calculator

I have a point shapefile with 80K+ records. Shapefile is projected in wgs84. The shapefile contains fields with the latitude and longitude of the point. I need a new field that contains a distance ...
1
vote
1answer
27 views

Creating gradient-filled rectangle in PyQGIS layout?

I have created a print layout with some of the layers of my QGIS Project using PyQGIS. I am trying to add a gradient filled rectangle to the layout. In the GUI, I would use the "Add Shape" --> "Add ...
6
votes
2answers
4k views

Converting Shapefiles to Mapbox Vector Tiles

We are currently hosting OSM vector tiles on our mapping server (courtesy osm2vectortiles and tilesever-gl). Now I'm trying to convert our own shapefiles into the same Mapbox Vector Tile format so we ...
9
votes
4answers
3k views

Making QGIS attribute table field automatic?

I'm working in a way to make hydrologic projects using QGIS and an Excel worksheet that I have. To do this, I want to extract some information of the lines, included in a vector layer, which ...
0
votes
0answers
27 views

rasterio rasterize does not take geometry

rasterize(allshapes) return; "ValueError: No valid geometry objects found for rasterize" Testung a single shape: print(shape.GetGeomFieldRef(0)) POINT (56.91288 27.33519) print(is_valid_geom(...
18
votes
3answers
939 views

Buffer neighbouring polygons without overlap using QGIS

Is it possible to create a buffer around neighbouring polygons, so that the new polygons do not overlap? Preferably in QGIS but any other tool will do. So instead of the first result I would like ...
1
vote
1answer
34 views

QGIS Raster to Vector Conversion - 3.4.6-Madeira

I have some contour lines in raster format, I want to convert them vector. I tried with QGIS (version 3.4.6) I got the vector form. But when I tried to select the contour lines to put the actual ...
2
votes
1answer
46 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
2answers
14k views

Convert vector data with irregular points (no grid) to raster with QGIS?

I am aware that how to convert a vector layer to a raster layer is a quite frequent problem and that there are many questions and answers dealing with it. However, none was helpful concerning my ...
4
votes
3answers
1k views

QGIS split vector layer gives me GPKG files but I need shp files

QGIS 3.6.0 I am new to QGIS software and not very technical on its deep workings. I am trying to split a .shp file using split vector layer. I need .shp file outputs but it auto creates .gpkg files. ...
9
votes
4answers
28k views

Calculating minimum distance between points and polygons in QGIS?

I have two vector layers: one point and one polygon and I want to calculate the minimum distance of each point from the polygons (ie the distance from the closest point of the closest polygon). Is ...
0
votes
1answer
41 views

Clipping by mask results in blank output

After clipping by mask in QGIS 3.6 the output file has been blank (empty). Raster file and vector mask file have the same projected CRS: USER:100029 - * Generated CRS (+proj=igh +a=6370997 +b=...
-1
votes
1answer
30 views

Seeking polygons that map out land zone type (ie Residential, Industrial, Commercial) in UK?

I'm looking at displaying the commercial and industrial areas of the UK on QGIS so that I can do some work on them. I'm not looking to add my own data to it, merely find a shapefile or geopackage or ...
0
votes
2answers
2k views

Seeking Elevation Data for Scotland? [closed]

I have been searching for quality elevation data for the entire Scotland but I have not succeeded yet. Do you know where to get the data in Raster or Vector formats? Accuracy is very important as ...
0
votes
0answers
11 views

Vector transformation and Vector Bender-Reg

In addition to Spatial shifting of Point feature using Vector Bender-Reg which I asked yesterday, I found anther plugin in QGIS called "Vector Transformation" IN QGIS another plugin "Vector ...
2
votes
0answers
44 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 ...
3
votes
1answer
96 views

Calculating real length and slope of roads

I have collected points alongside road in form of csv files with z-values. When imported in QGIS I used Set Z value and Points to path to make line. When I use right button in Identify Features tool I ...
1
vote
1answer
48 views

QGIS 3.4 Rule Based Symbology - Exact Matches Integers in String e.g. 2,12 + 1,2,3,12

I have a shapefile containing a String Type Field called 'Class'. This field contains one or more integers separated by commas. I want to create Rule-Based symbology matching only 2, 12, 1 ...
2
votes
1answer
37 views

Shapefile to polygon, then edit the polygon in order to use it as a mold

I am working on QGIS with a shapefile: I transform it through Raster-> Conversion-> Polygonize Then I eliminate some parts (Sea), and those that are bigger than one single square of grid but are ...
1
vote
2answers
46 views

Clipping raster by mask layer with rule that it only clips raster if shapefile overlaps by 10% using QGIS?

I am using QGIS. Is it possible to clip a raster when the shapefile overlaps with it by 10%? Clip raster by mask layer tool is fine for Ontario (left) but makes me lose a lot of data from smaller ...
1
vote
1answer
38 views

Polygonize specific raster values QGIS

I have a raster of 36 classes of the land cover in South Africa. However, I only need 4 of these classes and create a polygon out of these 4 classes combined. I have now used the raster calculator to ...
2
votes
2answers
51 views

Summing Area of polygons within vector layer within zone using QGIS?

I have one vector layer with multiple polygons (purple). I also have a number of other vector layers which are catchment zones (I also have a layer where these catchments are merged). Is there any ...
1
vote
0answers
13 views
1
vote
1answer
28 views

Selecting a polygon area in a raster image - rasterio.mask vs roipoly

How should I select a polygon area in a raster image? So far, I have seen two methods: use a vector mask or a shapefile (some examples here: http://www2.geog.ucl.ac.uk/~plewis/geogg122-2011-12/...
1
vote
0answers
16 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 ...
4
votes
3answers
66 views

Counting number of polygons inside zone using QGIS?

I've seen a lot of questions about counting the number of points within a polygon but my question is I have 1 vector layer with polygons showing past landslides that have occurred and another 206 ...
2
votes
1answer
53 views

Error converting vector shapefile to raster (.TIF) in QGIS?

I am working with a shapefile of 10km grid regions of the UK obtained from digimap. I need to convert this to a raster in order to do some analysis in R regarding agricultural intensity of 10km UK ...
8
votes
2answers
4k views

Clipping Error 1: Cutline polygon is invalid

I used the sample files located at this URL to learn QGIS: https://qgis.org/downloads/data/. I tried to clip SR_50M_alaska_nad.tif using a shapefile as a mask (alaska.shp). The problem is I ...
3
votes
1answer
2k views

Why can't I clip my Shapefile?

I've tried all of these solutions (How to clip a line layer based on polygons with QGIS?) and still can't clip a shapefile. I'm trying to create a coastal shapefile for one region (NW France) from a ...
1
vote
0answers
14 views

Interactive tool for editing TIN data

I created TIN to generate DTM using Mass points from Lidar data and river data that I made from stereoplotting. TIN results show there are several locations where the river elevation floats. So I have ...
1
vote
1answer
85 views

Turning “normal” Vector Data into a GIS

I have a map in Adobe Illustrator with several vector layers. ( Therefore the vector data have no spatial reference and no attributes. What is the best way to turn these vector data into a GIS and ...
3
votes
1answer
40 views

Creating DEM Contour files from shapefile line data in QGIS

There are many question occurring on this forum regarding this issue, however the issue I am facing has not been answered in Generating DEM from contour Shapefile using QGIS?, which is that I have ...
1
vote
1answer
107 views

Replacing multiple polygon features by their shared center point in GRASS GIS

I have three polygon features of the same category in a larger vector layer from which I would like to create a center point (mean coordinate) that holds the same attributes as the three polygons. I ...
0
votes
0answers
19 views

Identifying Optimal Site Locations with Variables Weighted By Level of Importance

I'm using QGIS 3.4. I have a point shapefile representing population density, and I have used the "K means" vector tool to identify the 12 most optimal locations for service centers that would serve ...
0
votes
1answer
81 views

How do I get Table from Vector layers for use with joinattributestable

I am attempting to run: processing.runandload('qgis:joinattributestable', layer1, layer2, 'id', 'id', None) To join my tables and output to a temporary viewing layer. layer1 and layer2 are both ...
2
votes
2answers
1k views

Convert point to line

I recently completed a long bike trip and used a GPS to gather data during the ride, including average speed and elevation loss/gain. I imported the data into QGIS. These data were gathered per mile, ...
1
vote
1answer
22 views

Intersection of raster and vector - road file and maps (tif)

ArcGIS Desktop 10.6.1 I have a railroad vector layer (with 10 rows, that is 10 segments) and 30 USGS historic maps (tif files) that cover that route. I'd like to find the intersection, such that one ...
1
vote
1answer
762 views

Problem or ERROR in converting from raster to vector!

I wonder if anyone could help me out, i am kind of a beginner at QGIS. I´ve built a DEM for a project that i am developing than i´ve made the slope raster with the terrain analysis,it seemed that ...
13
votes
3answers
11k views

Calculating roundness/compactness of polygon?

I am trying to find ways to quantitatively describe the shapes of various polygons. For my project, these polygons represent lakes, rivers, lagoons, and parks. So they can be almost any shape. One ...
1
vote
2answers
421 views

How to convert vector format (geopackage, shapefile) to raster format (geotiff) using rasterio without template raster

I'm looking to create a raster given just a geopackage (or shapefile, or other vector format). I don't have a template raster, and all I wish to do is burn the shapes into a raster using rasterio. ...
1
vote
0answers
33 views

QGIS: Polygonize error

Running the Polygonize tool in QGIS keeps generating the following error: Processing algorithm… Algorithm 'Polygonize (raster to vector)' starting… Input parameters: { 'BAND' : 1, '...
2
votes
3answers
4k views

Splitting raster in QGIS? without cliper

I have polygon grid layer and raster image whitch want to split with my grid layer to have 9 new raster layers. I was doing it like this guy but my QGIS stop working and shut down every time when I ...
2
votes
0answers
23 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 ...
1
vote
0answers
147 views

Determining Affine Transformation Parameters? [duplicate]

I am trying to use the qgsAffine plugin to do the transformation but I have no idea in its usage. How to find the transformation parameters? I found some posts suggest using the OpenJump How to use ...