Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
39 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
41 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
19 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
41 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
18 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
32 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
58 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
17 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
35 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
32 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
24 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
18 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
49 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
31 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
37 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
2answers
30 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 ...
1
vote
1answer
36 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
14 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
37 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
30 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
28 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 ...
2
votes
0answers
37 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 ...
1
vote
1answer
73 views

The right way to convert GeoJSON to DXF using QGIS

I have a problem exporting GeoJSON to vector format. I downloaded GeoJSON of highway objects from OSM, opened it in QGIS, and then saved it as DXF. The problem is when I open it in CorelDraw, road ...
0
votes
0answers
17 views

Create multiple rasters from one raster, based on Vector Input in R

I have a DEM for a big region. And I also have a vector-file for several sub-regions. I want to create as many DEM's as I have sub_regions. And I would like to do this in a for loop and for example ...
0
votes
3answers
76 views

Speed up rendering background vector data in QGIS

I have a geopackage of ordnance survey background data (field boundaries, rivers, roads, etc). I won't be doing any analysis on this data it will purely be used as a background / basemap. My problem ...
0
votes
0answers
113 views

Exporting Raster and Vector Layers within ArcMap

I am looking for a geoprocessing tool or script that I can run within ArcMap that will extract all raster and vector layers by polygon shapefile and export them to a file. This should give 609 ...
-1
votes
1answer
45 views

QGIS Vector Layers

Why does the Columbia River nearly perfectly follow the OR-WA border? What characteristics do vector layers have that allow this?
0
votes
0answers
17 views

Struggling to clip raster to vector in IDRISI. Windows do not overlap

I am trying to clip my raster to my vector in IDRISI. When I try to convert the vector to raster using my blank, it says vector and raster windows do not overlap. How do I fix this. I know I should ...
2
votes
3answers
46 views

Populate an empty raster with values from intersecting vector layers

I'm looking to populate a large, empty Unsigned 8-bit raster with integer values 1 to 10. The value depends on the spatial relationship between a given raster cell and a variety of vector layers (...
1
vote
1answer
35 views

Check if function-argument is valid vector-geometry in Python GeoPandas

I wanto to build a function (let's call it clip) that accepts a vector-file (can be a shapefile, a geopackage....) and a raster. How can I make sure the argument that the users gives to the function ...
0
votes
0answers
17 views

Vector and Raster Analysis+conversions etc. not working

Pretty much all the analysis I'm trying to do in QGIS (3.4 Mac) is not proceeding. All the commands what I try to do in Processing tool box and GDAL are not working. Seems like I get all the time ...
0
votes
0answers
25 views

Repairing geometry using QGIS [duplicate]

I'm looking for a roughly equivalent tool in QGIS to the Repair Geometry Tool in ArcGIS Desktop. When I run some common vector processing tools in QGIS, I occasionally run into invalid geometry errors ...
1
vote
1answer
58 views

Altering layer's CRS to correct Layer Misalignment in QGIS

I've got a vector layer in my project which isn't aligned with the rest of the project (see attached JPEG). These are work files so I'm not sure when they were created or how they might have been ...
1
vote
0answers
67 views

Converting Vector (.shp) to Raster (.tiff) using Python GDAL library

I'm trying to convert a vector shapefile to a raster tiff file. I adapted the source code from Python Geospatial Analysis Cookbook by Michael Diener. The code works for line and polygon shapefiles but ...
2
votes
1answer
85 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 ...
0
votes
0answers
18 views

Calculating Cut & Fill amounts for a road, using a feature class representing road and DEM?

I have designed a road centerline in the context of my study area using CAD scripts in python. Then I have converted it to a feature class containing Z-values using ArcPy. Now I need to calculate ...
0
votes
1answer
57 views

Deleting features with Null value in attribute field

I have polygonized a single band raster and created an area field. I want to keep the 10 largest polygons by area and delete the rest. The following script computes the area for all polygons and sorts ...
1
vote
2answers
69 views

RAT and cell values in R's raster-objects

I really struggle to understand some basic concepts in the structure of how R's raster-objects save values. Namely the RasterLayer, the RasterBrick and the RasterStack. I understand that the values (...
2
votes
1answer
47 views

Adding multiple vertices in QGIS

I created a new polygon feature in QGIS 3.4 using the add polygon feature tool. I accidentally clicked the right mouse button to finish creating the feature. I want to continue being able to add ...
2
votes
1answer
33 views

Erode islands of pixels while polygozing a raster

I am polygonizing a single band raster. I am using gdal.Polygonize() function to vectorize the raster. img= r"C:\Users\aoi2.tif" src_ds = gdal.Open(img) srcband = src_ds.GetRasterBand(1) # create ...
1
vote
1answer
42 views

QGIS Natural Earth Geometries

When I insert country borders from Natural Earth, they look broken when zoomed out. When I zoom in they look correct. Is there any way to correct this, particularly when creating a map in layout?
0
votes
0answers
34 views

Creating a new layer for free space between existing layers

How can I create a new layer that will only show the 'free space' between the raster and vector layers that are currently on my map? Will I have to merge my existing raster and vector layers and use ...
1
vote
1answer
70 views

Get a Confusion matrix in QGIS from two vectors

How and with what QGIS tools can I get a confusion matrix from a vector polygon layer as a verifiable classification and a vector point sample layer as a reference classification? That is, if the ...
0
votes
0answers
28 views

How to calculate the number of pixels in each class using QGIS?

I have a raster file with slope values. These slope values are divided among several classes like A,B,C. Then there's a vector map with points. For an example a point can belong to class A of slope ...
0
votes
0answers
21 views

Simultaneously editing 2 features from 2 different layers in QGIS [duplicate]

Is there a way in QGIS to edit 2 different features from 2 different layers at once. For example I selected a point in a point layer and a polygon in a polygon layer and I want to move them to ...
1
vote
2answers
194 views

CRS error working with Solaris [closed]

result_polys = sol.vector.polygon.georegister_px_df(mask2poly, affine_obj=tile_tfm, crs= 'epsg:4326') ...
0
votes
0answers
37 views

Splitting Large MapInfo Table into Individual Parts

Can a MapInfo .tab file made up of 400 territories (polygons) be split up or "exploded" into its individual polygon parts using MapInfo?
7
votes
1answer
215 views

QGIS Point on Surface

As far as I can tell, the option to "Create point on surface for each part" in the QGIS Centroid tool is not returning the correct geometry when activated in QGIS (version 3.8.1-Zanzibar/GDAL v 2.2.3 ...
1
vote
2answers
56 views

Snapping objects to grid without grid?

Is there a function to snap new or moved vectors to a (user-defined) grid on the map similar to the AutoCAD snapping-function without generation a point/line/polygon-grid over the whole region first? ...

1
2 3 4 5
29