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

PyQGIS: Save as KML doesn't work using QgsVectorFileWriter

I have a line layer (multiple lines but not large) that I'm working with in my PyQGIS plugin and I need to save the layer as a KML file in the end. My code looks like this: saveLocation = filePath + &...
  • 117
1 vote
0 answers
19 views

Validation of Vector Geometries to OGC Standards

I'm currently using FME to validate geometries, coming from 3rd parties, making sure there to OGC Standards. I was hoping to be able to replicate these checks in QGIS, but find the tools available (...
1 vote
0 answers
18 views

Extracting pixel values based on condition

I have one raster file on land cover (30x30m pixels), one raster file on soil organic carbon (SOC) (250x250m pixels), and one vector file with contiguous polygons of different sizes. What I require is ...
  • 135
2 votes
0 answers
56 views

Measure distance from points to edge of polygon in QGIS

I am trying to measure the distance from several points to the edge of lake polygons. When I use the Distance to Nearest hub function in Vector analysis, I get the following error message: QGIS ...
  • 41
0 votes
0 answers
40 views

Add noise to coordinates of selected polygon vertices in QGIS

While I have seen questions about adding noise to raster data and to XY data in ArcGIS, what I am trying to do is different. Using QGIS, I am trying to find a way to add random noise (say, up to a pre-...
  • 1
2 votes
2 answers
139 views

Polygons within Polygons

I am using QGIS V3.30 I have a set of polygons, being farm boundaries. I have another set of building polygons comprising various features within the farms. I would like to get a table listing all ...
  • 41
1 vote
0 answers
30 views

Converting a KML file into a shapefile as applied (vector to raster)

I have received a KML file from a drone, this file displays the path at which the drone was flown. I would like to convert this into a shapefile to display the swaths that the drone covered. I know ...
0 votes
0 answers
16 views

Assess correlation between two variables in a polygon vector layer

I have a polygon vector layer, and for each polygon (representing administrative zones) I have 2 quantitative variables. My goal is to formally assess whether there is a correlation between those two ...
  • 1,494
0 votes
0 answers
22 views

Feature Selection for Geospatial Vector Data Classification

The problem I am exploring right now is a binary classification problem about classifying road intersections into roundabouts or not roundabouts. The available input data consists of the GPS latitude /...
-1 votes
0 answers
40 views

Classification Algorithms for Geospatial Vector Data

I am new to the world of Geospatial Analysis. As such, I am interested in Machine Learning / Deep Learning techniques for classifying geospatial vector data specifically (as opposed to raster data). I'...
0 votes
1 answer
32 views

Selecting points based on random index location from a filtered GeoDataframe in Python?

I have a large point vector file (and many others like it), where each point has a integer value in the column "DN". However, I only need 6 points per DN and want them to be selected ...
  • 157
0 votes
1 answer
41 views

Select multiple features from multiple layers in QGIS

I am analysing land use across multiple region. Each region has its own vector dataset. Each dataset contains the same columns and land use classifications (e.g. 'AC66' or 'TC01'), describing units of ...
0 votes
1 answer
67 views

Why is $length not giving me correct values?

I'm attempting to make a topographical map of Death Valley National Park, CA. I'm using EPSG:26911 and having an issue with filtering by length. In order to get rid of all of the tiny geometries that ...
  • 115
0 votes
0 answers
40 views

Converting GeoTIFF to vector yields a very busy vector layer

I've been looking for a good way to convert GeoTIFF files to vector files. Specifically it is these files: https://data.jrc.ec.europa.eu/dataset/1d128b6c-a4ee-4858-9e34-6210707f3c81 I used QGIS to ...
  • 1
1 vote
1 answer
28 views

Determine the time-stamp of the earliest point in each polygon overlaid with a point layer using QGIS

Currently, I have a vector layer with polygons in it and another layer with points. There is a column with an exact time stamp in the points layer; I would like to determine the time stamp for the ...
0 votes
0 answers
45 views

How to merge selected polygons with all adjacent polygons individually?

I have a vector layer with polygons representing administrative districts of germany. For every polygon smaller than 500 km² I would like to create bigger polygons by merging each of the small ...
  • 13
-3 votes
1 answer
30 views

Dividing shapefile into specific grid in ArcMap

How can I divide a shapefile into grids of 5km by 5km in ArcGIS? How can we use fishnet in this case?
  • 13
0 votes
0 answers
21 views

QGIS: Sample points from neighbors according to conditions

I am sampling points (city coordinates) in QGIS from a raster data set using the Point Sampling Tool (among a number of options in QGIS). In some cases, the city coordinates are just off the raster ...
1 vote
0 answers
28 views

Raster and vector analysis for profile extraction in Python [closed]

I have quite complex problem and I have two options to solve it. For a multiline shapefile (river) I would like to get cross profiles and extract DEM values for the lines. I was thinking 1: Create ...
0 votes
0 answers
22 views

Create Lower Zoom Levels from High Zoom Level MVT Tiles

I have a rather large set of a single zoom (8) of MVT bundled as an mbtiles file. Is there a way to generate the rest of the "pyramid" for those tiles and down-sample for zooms 0-7? I'm ...
  • 113
1 vote
0 answers
24 views

Converted lines to one feature using Dissolve but exports as multiple features

In QGIS, I've taken all of my lines/features and "dissolved" them into one feature, but after exporting as a SVG or PDF, it imports into Inkscape as 1231 features (the amount I originally ...
  • 115
2 votes
0 answers
44 views

Print layout is rasterized before exporting as SVG

So I've set up my layer to how I'd like for it to be exported as an SVG, but after adding the map to New Print Layout, it rasterizes my layer and makes it unusable in my other program. Is there a way ...
  • 115
0 votes
1 answer
45 views

Rasterize sf object in R (desired cell values 1 and 0)

I have a vector file (multipolygon) in class sf, which I want to turn into a raster of a certain extent. I need all the areas where polygons are located to be value 1 and all areas where no polygons ...
3 votes
2 answers
83 views

Grouping line objects that touch vertex to vertex in QGIS

I am looking for solution in QGIS (PyQGIS welcomed) that given a set of objects (or a layer) groups them if touch each other vertex to vertex but not if only cross each other or touch segment to ...
  • 574
0 votes
0 answers
44 views

Divide areas from two vector layers

I'm using QGIS, and I have two vector layers (with polygons), I'd like to get the % of area of polygon in layer b respect to polygon in layer A, and for that I want to calculate the area of a layer A ...
1 vote
1 answer
15 views

Converting vector or polygon layer to a continuous raster in ArcMap

I am currently trying to create a raster layer from a vector or polygon layer with a cell size 5, but the vector data breaks and becomes discontinuous when converting. As the continuous features are ...
  • 11
1 vote
0 answers
16 views

Graphic intersection to decide what kind of soil the crop is on

I have to create a graphic intersection that demonstrates what kind of soil the culture is on, for example: Crop no. 1: soil type 12 gr/kg Crop no. 2: soil type 9 gr/kg Crop polygons are vector data ...
0 votes
0 answers
12 views

Removing outliers from line tracks

This question has been asked numerous times before but I cannot seem to find a suitable answer to solve it. I've got movement data of tracked animals. As you can see in the photo, there are some major ...
0 votes
1 answer
83 views

Geopackage geometry type confusion

I have a problem with multipolygon layer stored in geopackage. In QGIS 3.22, $area function simply dint't work for some features in field calculator and leaved null values. So I decided to convert ...
  • 105
0 votes
1 answer
73 views

In QGIS how do I represent a polygon with no data as grey, and those with a value of zero as white?

Imagine I'm coloring the below polygons in on a map. I want to represent the values using graduated symbology, with the highest value the darkest red and the zero value white. However, I want to ...
0 votes
0 answers
47 views

EsriJSON features not visible on OpenLayers layer

Why is this feature layer not visible on my OpenLayers map? https://services2.arcgis.com/V2PQwgZMTFfgM0Xu/ArcGIS/rest/services/Conservation_Lands_and_Easements/FeatureServer/0 const vectorLayer = new ...
0 votes
0 answers
64 views

How to remove remove self-intersections(?) from a river network line

I am working with a new global-scale river network that splits around large islands (blue lines). I will be working with the river network in Google Earth Engine and have completed some prior vector ...
  • 33
1 vote
2 answers
211 views

OpenLayers with react and react-router

I am developing an application that has navigation on various maps, everything works well when a certain map is rendered for the first time, but if you go back to this tab again, the map either does ...
2 votes
1 answer
100 views

How would one make a vertical, straight line representation of a river, including a buffer around it?

I have a river layer and one of census boundaries. I know how to make a buffer around the river to extract adjacent census tracts. How could I then "warp" the river and adjacent census ...
  • 93
4 votes
1 answer
109 views

Extracting coordinates of line feature in QGIS

I need to get the x and y or lat and lon for a line feature in order to create a unique "ID" for a project I am working on. I know a line feature has more than one lat and lon but I just ...
0 votes
0 answers
20 views

Distance Matrix won't consider elevation

Using QGIS Firenze The Data is present in following Formats: .gpx, .kml .csv. generated by garmin GPS. lat, lon (In Degrees) and elev (in m). There I have 70 Points. I can create a distance matrix or ...
2 votes
2 answers
64 views

Finding observations by minimum distance in QGIS

I am trying to look at the distance between property sales and crimes committed within city. I want to be able to find all the crime that occurs within 1 mile of each property sold. I am sure that is ...
  • 21
2 votes
0 answers
98 views

Point layer is not projecting on the correct location in QGIS

I have two shapefiles both projecting on EPSG:28351 GDA94 MGA Zone 51, one is in polygon and the other one is in points. Points should be sitting on top of the polygons but when I load these two ...
  • 21
1 vote
0 answers
43 views

Create a raster image from multiple vector layers within a specified polygon

In ArcGIS Pro 3.0 I am creating a map using 11 vector layers including point, line, and area features. I have it all symbolized and displaying nicely at the design scale, and would like to take that ...
  • 21
3 votes
2 answers
221 views

Removing part of the polygon outside of another shapefile but keeping the parts that overlap

I have two shape files: one for the African continent, and another with cells covering the continent. However, since the cells are an arbitrary constructions, some of cells even if they are ...
  • 502
3 votes
2 answers
112 views

Splitting vectors in half using QGIS

I have a selection of vectors in QGIS (about 1000) that I'd like to split in half at once. I've already used the v.split from GRASS but as the length of links are very different one from another, I ...
  • 31
0 votes
0 answers
41 views

Export all food supply points in 500m around gpx track as waypoints

I'm planning a bikepacking trip for next year and as preperation I would like to get a list of all places where I can resupply food. I figured I could use Overpass API (https://overpass-turbo.eu/) ...
  • 1
0 votes
0 answers
51 views

How automatically draw lines across a 360 degree azimuth for all points in a feature layer at a given distance in ArcGIS Pro v3.x

I am having some difficulty with a current project. I would like to create a total of 360 lines (lines at every bearing) of a given distance and iterate the line drawing across all points in the ...
0 votes
0 answers
31 views

Problem with Qgis 3.22 windos 11 - attributes fields disappear and Asian symbols appear

Qgis versione 3.22 windos 11 I have this problem on Qgis 3.22 since a week already. Everytime I try to create or edit a vector file I get this error. Everytime I save the vector attributes fields ...
0 votes
0 answers
27 views

Clip polygon to whole features that intersect with other polygon - QGIS

I have a Polygon (MultiPolygon) with lots of features. I have another thin polygon that overlays onto it. I can use the latter to clip the former. But I don't want to clip the former exactly to the ...
  • 403
0 votes
0 answers
113 views

How to merge Map.addLayer on the Google Earth Engine

i'm working on vector data on the google earth engine. I want to make my script layer more simple. how to make my Map.addLayer script only 1 line script? I have tried to combine it with ".merge()&...
0 votes
0 answers
25 views

How to split unintentionally conjoined features into single parts at scale? [QGIS]

I have this layer of linear features which I produced from vectorising a raster image. The features in question are berry plantations that are more or less consistent lengths and widths, but some ...
  • 657
1 vote
2 answers
48 views

Can QGIS be used to mass convert CRS coordinates in a data table?

I collected Geophysics data on three separate occasions. Each data-point is geo-referenced. In one instance I mistakenly collected data in a different CRS than the others so one set of data is in ...
1 vote
0 answers
52 views

Export the contour lines to vectors will only get "polygons" but not true vector "curves" in Google Earth Engine

I am new to Google Earth Engine. Now I can successfully generate contour lines for geometry. However, when exporting these contour lines to vector curves, it just outputs vector polygons. //Make the ...
2 votes
1 answer
151 views

Raster to vector conversion with pixel values [closed]

I have one raster file. I want to convert that into vector file. I'm using Python (GDAL) for that. I found some solution. But the issue is after vectoring it is not getting the polygon attribute value....

1
2 3 4 5
38