Skip to main content

Questions tagged [vectorization]

The conversion of raster data (an array of cell values) to vector data (a series of points, lines, and polygons).

Filter by
Sorted by
Tagged with
3 votes
2 answers
81 views

When vectorizing rasters with the "Raster pixels to points" tool, I have to choose a single band (there is no option to say: All bands). I.e. when vectorizing multiple raster bands, I have ...
Honeybear's user avatar
  • 2,788
5 votes
1 answer
200 views

I have this raster: which I'd like to convert to vector data (linestring) (e.g. a Shapefile). To this end, I'm using this Python code: import rasterio import geopandas as gpd from skimage.morphology ...
swiss_knight's user avatar
  • 11.4k
0 votes
0 answers
58 views

I am using GRASS Voronoi Skeleton (v.voronoi.skeleton) in QGIS, to create lines from what are "road polygons". It works well enough in cases of straight, disjunctive polygons. Problem are ...
Honeybear's user avatar
  • 2,788
0 votes
1 answer
78 views

I am using QGIS to map water bodies from satellite-based spectral data which is provided in raster formats. This is to understand how these water body shapes and areas change over time between each ...
Tom's user avatar
  • 1
0 votes
0 answers
56 views

I have FEMA 1% raster data, that I converted to polygon using raster-to-polygon tool. Esri is blocking me to package the project because I used that tool. I even deleted all the FEMA layers and still ...
gary smith's user avatar
2 votes
1 answer
77 views

I have a scanned map (raster) with land-use classes drawn as patterns. Which QGIS-tool or python tool would be good to, for example, create a shapefile with points at, or a box around, each of the *-...
S. Jessen's user avatar
2 votes
1 answer
319 views

I have a PNG of a map, which uses RGB colours. It has about 6 colours that it uses in the map, which are fully discrete. Here is a small snippet from the map: I want to generate something like a ...
Migwell's user avatar
  • 121
2 votes
1 answer
172 views

In ArcGIS, when I use the Raster to Polygon tool, I can set the Maximum vertices per polygon feature parameter, where the algorithm subdivides a polygon into smaller polygons. For example: The result ...
Joao Luis Santos's user avatar
2 votes
1 answer
95 views

Processed an NDVI, created classes from it and vectorized the file. The area is about 4 km * 4 km. I wanted to intersect, and that was slow. While creating a minimal example, it seems like any geo-...
Sebastian H's user avatar
0 votes
1 answer
640 views

I have a map in PNG-format that looks like this: I have imported it into QGIS as a raster. I want to create a line layer as a network based on the blue and pink lines. Is there a way to create a line ...
Fabi's user avatar
  • 85
0 votes
2 answers
218 views

I have a raster file that contains water depths in m. The water depths are the only attribute and should be transferred to the vector layer. The raster files have a cell accuracy of 1m x 1m. I would ...
Pia Rösel's user avatar
0 votes
0 answers
61 views

I have a "problem", I need transform a raster in a vector and it works but some pixels like the one in the print it is separated from the boundary, and for my use (a specific use of ...
Mestrexama's user avatar
0 votes
1 answer
260 views

My study is a global-scale analysis of the factors driving forest gain, with grid cells as the unit of analysis. I need to calculate the amount of forest gain per ~65km2 hexagonal grid cell at the ...
Katie Devenish's user avatar
1 vote
1 answer
93 views

I'm hoping to generate a new vector file from select points from a raster image in QGIS. I don't know if it is possible. For instance, I would like to generate a vector point file that puts a point ...
Anomalous Exploration's user avatar
0 votes
0 answers
101 views

I have a topographic map in TIFF format and I vectorized it in QGIS (3.22.0). For my project I needed the settlements, which I was able to extract. More importantly are the names of the settlement. ...
rtaani's user avatar
  • 587
0 votes
1 answer
240 views

I have run an NDWI index for an Image collection and thres holded the results, which I want to import as individual FeatureCollections (shapefiles). My code is of course longer, but teh most importan ...
Daniel Falaschi's user avatar
0 votes
1 answer
92 views

I have the following shape file: Each polygonal area (the lines are areas) is one feature in a single Shapefile. Can anyone think of a simple method that can be implemented with qgis to separate the ...
Mabignix's user avatar
  • 160
0 votes
1 answer
49 views

I am trying to run the following model as a batch process. In summary, I take a DEM raster layer and a number of individual points as separate .gpkg files in a directory (these points have been ...
Nandula's user avatar
  • 793
1 vote
0 answers
175 views

I extract riverbanks out of Landsat images at Google Earth Engine. After the vectorization of my raster image I receive a shapefile of the riverbank with many unwanted vertices. How can I smooth the ...
Lennart G.'s user avatar
0 votes
0 answers
99 views

My task is to vectorize a standard landuse map (PROBA-V discrete classification) for extent 118.747182 54.231218 124.946218 60.060467 degrees. Raster is too detailed for me, so I generalize it. I use:...
Nikolay Yasinskiy's user avatar
3 votes
1 answer
242 views

I am doing a two step process: Polygonize a PNG raster via gdal_polygonize.py Add a custom field named id Upload the resulting vector to PostGIS via ogr2ogr I am currently doing it in two steps, ...
illpack's user avatar
  • 91
4 votes
1 answer
1k views

I use rasterio.features.shapes and use the geometry of pixels in raster data to create polygons for each pixel. Pixels with the same value merge these pixels if they are adjacent. What I want is for ...
geomaticpoly's user avatar
1 vote
1 answer
523 views

So I have the following raster file: I would like to edit it so that I export all green, blue or purple areas as a single, new .tiff. Afterwards I would make a vectorization to be able to process the ...
Mabignix's user avatar
  • 160
1 vote
1 answer
862 views

For a GIS web viewer I am building, I plan to use large sets of vector data on coral reefs (source: Allen Coral Atlas). When viewing the downloaded data, it seems that the original source was raster ...
Sytze's user avatar
  • 800
2 votes
1 answer
544 views

I'm new to QGIS and GIS in general. I'm trying to find a way to create height layers automatically and then use them to clip other layers. In detail: Below is my area of interest. I have a raster ...
user215646's user avatar
1 vote
0 answers
116 views

I'm glad to find this space, I come from a background in economics and do not know the first thing about GIS (hope to learn as I go with this project). I found an interesting dataset (https://...
Sebastian Nuñez's user avatar
0 votes
1 answer
501 views

A raster(.tif) of 6.70GB needs to be converted into polygons. The raster is binary (0 & 1), currently I am using Polygonize (raster to vector) and its taking a considerable amount of time and the ...
N_LLC's user avatar
  • 655
7 votes
3 answers
418 views

I vectorized a raster data set, therefore, I'm facing a "steps" effect, or aliasing, due to the fact that the vectorization strictly follows the raster cells. So, the geometry is quite large ...
swiss_knight's user avatar
  • 11.4k
2 votes
1 answer
2k views

I have a raster data set with an irregular outline (every value outside is NaN) in Python (loaded from rasterio v.1.3a3 ): I'd like to extract its outline to a vector shape, such as a Shapely ...
swiss_knight's user avatar
  • 11.4k
1 vote
1 answer
202 views

I'm trying to produce a shapefile river network from a flow accumulation raster using the r.to.vect function and I've overcome some difficulties regarding bit depth and thinned raster. n.b. I don't ...
NorthSon's user avatar
  • 341
0 votes
1 answer
996 views

I'm trying to turn a relatively simple GeoTIFF file into a dataset readable by an API. End goal: Build a GET method for an API like /search_by_coordinates?lat=-73.1221&lng=44.4924 and get ...
Alexandre Toulemonde's user avatar
8 votes
1 answer
774 views

I'm trying to create a seamless vector dataset from an integer raster. "Seamless" as in: not gaps between features and no overlapping features. The tools gdal_polygonize, pkpolygonize, terra:...
Ratnanil's user avatar
  • 1,055
0 votes
0 answers
189 views

I am in process of converting one raster file ( JBA Flood score) into Vector file But due to raster size ( Possibly) process seems endless i.e. even after 9 hours process still continue. Is there any ...
Raj's user avatar
  • 121
0 votes
2 answers
681 views

I have raster with NDVI values. I would like to polygonize the raster to get vector where each polygon is a pixel. I have tried gdal.Polygonize as described in the documentation and that runs without ...
ReutKeller's user avatar
  • 2,099
2 votes
0 answers
147 views

I am trying various ways to make polygons from raster data using 1 m DEMs. I am using QGIS 3.16 Hannover I have tried vectorizing my data, which does work OK, but I would like smoother boundary lines ...
Erioderma's user avatar
  • 553
0 votes
0 answers
139 views

I have a specific task and I'm looking for possible approaches. What I'm trying to do is this: I have a high resolution (600dpi) scanned, and georeferenced image of a map, and I need to be able to ...
RyanWestwind's user avatar
4 votes
1 answer
998 views

Let's say I have multiple png images like the following one: I'd like to find a way where I can automatically draw polygon geometries on this image. Something like the following: My expectation is ...
raylight's user avatar
  • 1,123
1 vote
0 answers
485 views

So, I have a TIF georeferenced map and a rather messy shape that I need to digitize. It is green but has a lot of holes in it that are light green color. So, I want to capture all green pixels and ...
Matija Kordic's user avatar
2 votes
1 answer
99 views

I have pictures of root patterns, where each root is marked by a point. We worked on soil profile walls, so there is no coordinate system to use as a basemap. I loaded it to QGIS and classified it ...
Katja's user avatar
  • 65
1 vote
0 answers
84 views

I've got this doubt on how to best proceed with the following situation: I would like to compare two datasets, one (model_data) is a raster (NetCDF format), with lat, lon and time as coordinates, ...
Henrique's user avatar
  • 123
1 vote
1 answer
262 views

I have a raster file with black areas having a value of 0 and white areas having a value of 1, resulting from a visibility analysis: I vectorized this raster after loading it with rasterio: import ...
swiss_knight's user avatar
  • 11.4k
1 vote
2 answers
1k views

I have been working with FEMA flood maps to georeferenced and then digitize the maps by hand drawing polygons of the flood zone features. I have tried some workarounds to make the digitization process ...
livelovegis's user avatar
0 votes
0 answers
41 views

I have a 300m by 300m B&W TIFF map of Brazil, and I need to convert all the pixel values into a point feature class. When I do it in ArcMap using Raster to Point, I get a feature class with 92,054,...
Ryan Ma's user avatar
  • 53
0 votes
0 answers
152 views

I'm trying to create a vector outline of the water areas of the Landsat Global Inland Water raster in Earth Engine. I get the error "Line 3: water.addBands is not a function" from the ...
sar's user avatar
  • 1
2 votes
2 answers
2k views

I am working on QGIS. I have a raster of EVI, in which values are comprised between 0 and 1. I need to vectorize this raster in order to make an intersection with another vector. My issue is that when ...
lea's user avatar
  • 21
1 vote
0 answers
36 views

I have 2m-resolution raster LiDAR data of a marsh edge from two moments in time and I am trying to calculate how much the marsh has "retreated" between the datasets. I used the LiDAR data to ...
ltwp's user avatar
  • 11
0 votes
1 answer
435 views

I have raster image of road feature. I want to extract line feature from it. So I run r.thin tool on it of parameter - { 'GRASS_RASTER_FORMAT_META' : '', 'GRASS_RASTER_FORMAT_OPT' : '', '...
Souvik Sankar Mitra's user avatar
6 votes
2 answers
328 views

I have a large raster stream network (excerpt below) in QGIS that has been thinned using r.thin (light blue squares) and then vectorised using r.to.vect (pink lines). However, because some of the ...
Tom Brennan's user avatar
  • 6,256
0 votes
0 answers
1k views

I'm using QGIS 3.16. I am trying to do the following: Starting with a DTM model (geoTIFF format) I am computing the contour lines (100m) with QGIS. So far, so good. In order to import the results into ...
Matthias Ihl's user avatar
1 vote
0 answers
194 views

I have a .tif which I want to have polygonized. I take the Raster/Conversion/Raster to Polygon. QGIS 3.12 starts the process but never ends (once I waited half an hour). I maybe don't see a mistake. ...
KerryKilian's user avatar