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
1 answer
27 views

Loading features from server on tile level and according to zoom level?

I am using openlayers to display a large amount of features in the map. Because the number of features is too large, I cannot load all the features to frontend in one API call. So I want to get ...
timewalker's user avatar
1 vote
0 answers
25 views

Some grid tile didn't get features when I using tileStrategy in OpenLayers

Question updated at 2023-05-26. Context: Use ol/layer/Vector and ol/source/Vector.js to display my features. Following is my vector source: const vectorSource = new VectorSource({ format: new ...
timewalker's user avatar
0 votes
0 answers
30 views

How to get vector features by x,y,z in OpenLayers

I have a list of features in my server and I want to render them in OpenLayers. I know I can use ol/source/Vector.js to render my features as following code: const vectorLayer = new VectorLayer({ ...
timewalker's user avatar
0 votes
0 answers
11 views

Substracting water mask

I have a polygon with water bodies of my AOI. I would like to clip the water bodies from my NDVI raster layer ( like a water mask). I haven't found a tool in qgis or arcgis pro so far. Do you have any ...
lilo's user avatar
  • 33
2 votes
1 answer
26 views

Calculating the majority value pixel in a polygon and the percentage of this value within the polygon. QGIS

I have a big shapefile ( more than 500.000 polygons) and a raster file. I want to calculate the majority pixel per polygon, which I can do with zonal statistics. However, I also need the percentage of ...
Tuti_Rodri's user avatar
1 vote
1 answer
45 views

Convert QGIS heatmap raster output to vector

I am quite new to QGIS and I am trying to create a species distribution map using public reporting data. I can very easily generate a heatmap by first converting the pentad data to vector centroid ...
Bryce Foster's user avatar
4 votes
1 answer
71 views

Drawing line to the centroid of the concave hull composed by the set of each group of points within the same polygon

I am using the following Geometry Generator expression with which, for each point geometry, I draw a line to the centroid of the polygon the point is within: make_line ( $geometry, ...
Ingrid Ingravida's user avatar
3 votes
1 answer
55 views

Clipping a line based on distance from a specific point

I need to track along each of the lines that originates from the points below. As you can see, there are a number of lines that lead out from each point. I need to find the point along each of the ...
almanacsmurf's user avatar
2 votes
1 answer
40 views

selecting features having area in a specific range

I have converted the image to vector, now I need to select area features which are less than 5sqkm and greater than 0.5sqkm. following is the code but I'm getting an error, please help me with the ...
HARSH's user avatar
  • 21
1 vote
0 answers
29 views

Lines getting automatically simplified in ArcGIS Pro [closed]

I painstakingly follow a complex, windy road, drawing a line using the create features tool. My points are snapped to a line in another layer. I finish the line by double clicking, and many of the ...
Woodsmith.Ryan's user avatar
2 votes
1 answer
264 views

How to if a polygon is within a concave area of another?

Is there a method where I can detect if a polygon is inside the concave area of another (in this case a bay), then output the bay itself? It's hard to explain with words so I'll demonstrate below: ...
Scott Allinson's user avatar
-1 votes
1 answer
140 views

Create one continuous polygon from many polygons with holes in QGIS

How can I create one single continuous polygon from many polygon and the gaps will be preserved? So whole polygon will be connect into one big single polygon. Using the dissolve tool will not connect ...
Gajer's user avatar
  • 15
0 votes
0 answers
21 views

QGIS 3.22.16 How to join two table with different values

I am using QGIS 2.22 16. Working on a road network shapefile I was asked to add in this layer the road names from another road network shapefile. I thought about using the join tool. Unfortunately, ...
GIS Noh's user avatar
  • 181
0 votes
0 answers
9 views

How to Export Vector line to 3d print in CURA

I downloaded a .shp file from NOAAs website for the shoreline . [https://nsde.ngs.noaa.gov]. I am trying to 3d print from Cura the shoreline file to add to my dem file 3d print of topography so I can ...
Kyle's user avatar
  • 1
1 vote
0 answers
38 views

Choropleth map layer in OpenLayers

I tried to mimic the solution from Creating choropleth map using OpenLayers?. My implementation is as follows: const temperatureSource = new VectorSource({ features: tempData .filter((_, ...
Aayush Subedi's user avatar
0 votes
0 answers
7 views

Establish a least-cost path between a point and a line (coastline)

I have a basic level of knowledge of ArcGis Pro. I need to establish a "least cost path" between a point and a line, which, in this case, is the coastline. What is the procedure?
Lapicito's user avatar
-2 votes
0 answers
24 views

Python plugin for getting elevation along the boundary of a shapefile [duplicate]

I have a shapefile of an Indian state and the raster data/DEM of India, and I want to get the elevation data along the boundary of the state as a DEM. the problem with picture 3 method is that some ...
Farenhyte's user avatar
0 votes
1 answer
70 views

Getting the elevation around the boundary of polygon in QGIS

In QGIS 3.28.2 Firenze I'm working on developing a QGIS plugin to get the elevation along the boundary of a polygon. Given a shapefile polygon and a raster, I've been able to think of one solution: ...
Farenhyte's user avatar
0 votes
0 answers
26 views

How to combine vector data (census) with raster data (inundation)

I am hoping to find a way to create a map showing the overlap of flood inundation and social vulnerability in QGIS. I tried using zonal statistics, but it does not take into account the values, just ...
Ella's user avatar
  • 1
0 votes
0 answers
27 views

QGIS - Spatial Join with Raster and Vectorial files

I have two layers, a raster (arr_ker) and a vector (Polygon), as can be seen below: In QGIS, I need to add the raster data to each of the entities found in Polygon. It would be ideal as an average. ...
pmurbina87's user avatar
0 votes
0 answers
21 views

ArcMap - Spatial Join with Raster and Vectorial files [duplicate]

I have two layers, a raster (arr_ker) and a vector (Polygon), as can be seen below: In ArcMap, I need to add the raster data to each of the entities found in Polygon. It would be ideal as an average. ...
pmurbina87's user avatar
0 votes
1 answer
26 views

Creating a raster from a vector file (single data points)

I am trying to create a raster from a vector file that is made out of point coordinates. My data looks like following and that's the error that jumps out, when trying.
user222987's user avatar
0 votes
0 answers
19 views

OpenLayers basic Vector Math operation: add, subtract, normalize

Is there a supported or built-in way to do basic Vector2D Math operation in OpenLayers v6 ? Currently using p5.Vector library (from p5js.org) to do add, subtract, normalize. JSTS does not export ...
Lydon Ch's user avatar
  • 511
4 votes
1 answer
106 views

Show a fixed number of decimals in expression for vector categorized styling

So I am creating a categorized styling using an expression involving float numbers. The results looks like this The first row is displayed as "0 - 0.2m" Is there a way to set in the ...
user131557's user avatar
2 votes
0 answers
47 views

QGIS: editing vector layer with 'delete feature' option locked

I need a vector layer to be editable, to change feature geometry and attributes, but at the same time, I need to prevent users from deleting features in the layer. Is there a way of locking the '...
lukabana's user avatar
1 vote
0 answers
73 views

Adding a layer stored in a PostGIS database to an OpenLayers map as a clickable vector layer via GeoServer

I can view a layer (called wmsSource), created as a vector point-set, and stored in a PostGIS table from an Esri shapefile, in my OpenLayers map, as a WMS Image layer, using this code, a modification ...
Anthony Avengerland's user avatar
2 votes
1 answer
79 views

How to ensure a newly created layer displays on the canvas

I am trying to perform some categorization from an existing vector layer such that after performing the calculations, a new vector layer is created with just the new fields created. After running my ...
Beginner's user avatar
0 votes
0 answers
29 views

Using v.distance to classify points far from overlapping polygons always return the same set of polygons

I have two vector layers with the distribution of an animal species. EDIT: I'm showing how the maps look in QGIS, but I'm working in GRASS GIS. First dataset: Second dataset: As you can see, these ...
LT17's user avatar
  • 183
0 votes
0 answers
14 views

get vector density map where vectors are not overlapping

I have a vector layer in which the lines (bus routes) do not overlap each other, but are located close enough (visible when zooming in). I want to get a route density map as a result. To do this, I ...
barney stinson 2's user avatar
1 vote
0 answers
37 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 + &...
WFL.GIS's user avatar
  • 127
1 vote
1 answer
45 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 (...
Richard McDonnell's user avatar
1 vote
0 answers
32 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 ...
tabtimm's user avatar
  • 135
2 votes
0 answers
71 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 ...
Birdman's user avatar
  • 51
2 votes
2 answers
142 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 ...
Norman's user avatar
  • 41
1 vote
0 answers
52 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 ...
Spray Doctor's user avatar
0 votes
0 answers
20 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 ...
NewAtGis's user avatar
  • 1,494
0 votes
0 answers
26 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 /...
Bogdan Kandra's user avatar
0 votes
1 answer
58 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 ...
user2031's user avatar
  • 201
0 votes
1 answer
75 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 ...
Nick Primmer's user avatar
0 votes
1 answer
70 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 ...
Nick's user avatar
  • 115
0 votes
0 answers
77 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 ...
Pett's user avatar
  • 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 ...
JohnnyJohnson's user avatar
0 votes
0 answers
58 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 ...
zfn's user avatar
  • 13
-3 votes
1 answer
34 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?
Boni's user avatar
  • 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 ...
Steffen's user avatar
1 vote
0 answers
33 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 ...
David Sládek's user avatar
0 votes
0 answers
38 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 ...
four43's user avatar
  • 113
1 vote
0 answers
25 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 ...
Nick's user avatar
  • 115
2 votes
0 answers
53 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 ...
Nick's user avatar
  • 115
0 votes
1 answer
81 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 ...
talocodat's user avatar

1
2 3 4 5
38