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

Projection issue causing clipping issue in R, different proj4 strings

I am trying to clip a grid of points to a vector polygon layer in R, but am encountering an odd error I can't figure out. The goal is to get a new layer that has the grid points, but only as clusters ...
0
votes
0answers
19 views

Overlay layers on different displays from the same coordinate system

I have vector layers from digitizing in Google Earth and vector layers from digitizing of a pdf document. All the layers were projected in the same UTM zone 30N system (EPSG code 32630). However, ...
0
votes
0answers
12 views

How to Access/Write to a Shapefile in S3 Bucket using BOTO3 and GDAL

I'm trying to access and make edits to a shapefile that's located in a zip on an S3 bucket. So far I've used /vsizip/vsis3/ to access the zip file that the shapefile in question came in. I've made the ...
1
vote
0answers
39 views

How to automatically align a line with a grid

I have a line layer (orange line in image below) that I need to snap/align with an underlying grid (light blue lines below). The desired result would be something like the purple line. I have already ...
0
votes
0answers
26 views

Creating shapefile of a raster image in QGIS 3.6

I use QGIS 3.6 on Windows and I have been trying to convert raster images into shapefiles. I managed to do that for Digital Terrain Models only, using the conversion --> vectorize tool in the qgis ...
1
vote
0answers
37 views

Find nearest point with the same attribute

I have a points data set of toponyms with several thousand elements. There are a lot of duplicate names that fall in two categories: legit ones, i.e. different places with the same name at several km ...
0
votes
0answers
20 views

gdal_rasterize incorrect values scale after rasterization

I am trying to rasterize a .shp file (in particular it is made up by several Polygon) into .tif one by using python and the gdal_rasterize command. According to the gdal_rasterize function, I was able ...
0
votes
0answers
14 views

Rasterize(Convert Points to Raster) :UnicodeDecodeError in QGIS3

I used Rasterize in QGIS3 to convert points to rasters. The source file of the point layer used is as follows: But clicking Run displays the following error message: Traceback (most recent call last):...
0
votes
1answer
41 views

Clip using Discard and Preserve option in QGIS

I am currently using QGIS, but it seems like there is no option like in ArcMap for Cliping polygons where I can choose if I want to Discard or Preserve selected area. Can you help me with that?
0
votes
0answers
19 views

Weird ogr clipsrc behavior

Trying to clip regional road network by a state mask using ogr2ogr but I keep encountering strange behaviors such as only small section of the road network inside the mask is clipped, the i/o silently ...
4
votes
1answer
58 views

Offsetting Advanced Digitizing lines from north in QGIS

In QGIS, I'm trying to draw some polygons (mostly rectangles) on a grid, with neat 90-degree right angles and such. All the polygons should be parallel or perpendicular to each other. The problem is ...
0
votes
0answers
39 views

Why can't I add more vector layers without QGIS freezing up on me?

I've been working on a project for a quite a while, I've loaded many vector layers, including several hundred short line segments that are kmz files, as well as topo lines, lake and glacier polygons, ...
1
vote
0answers
41 views

Changing the color of every entity of GeoJSON layer in OpenLayers 6.4.3

I would like to change the color of every entity of my GeoJSON, like in the picture. For now I can just change all the features with the same color. Here is my code: const provinceGeoJSON = new ol....
2
votes
0answers
31 views

Empty pixels in polygon border

I have a vector shape file with the basins of South Carolina. Some of the sub-basins polygons have a "hole" or no data pixel in their boundary (See photos for reference 2) and I need them to ...
5
votes
3answers
133 views

Calculating proportional area of polygon covered by circle [closed]

I have two layers here (ignore the green layer), blue polygons and black circles. I want to calculate for each circle, what percent of the each of the blue polygons does it cover. For example, the ...
0
votes
0answers
19 views

Using Azure Blob storage to save raster and vector data and use it with GeoServer

My client has large datasets store in Azure Blob storage. Is there any way to use them directly via Azure Blob storage? I had a look at Azure GWC plugin but it is just allowing me to cache the ...
0
votes
2answers
41 views

GeoServer (GeoPackage) + Leaflet [closed]

I have placed 10 geopackage files locally on GeoServer. I also added a plugin for vector tiles. Tell me the code to open them via Leaflet and that when you click on the object there is information.
0
votes
2answers
41 views

Extract Highest Raster Values to Point

I a little bit stumped. I have the entire world as a raster with values ranging from 0-7. I am wanting to extract the highest values (ideally only those from 6-7) as points. Is there any simple way i ...
6
votes
1answer
89 views

Creating raster from point values

I have a raster whose pixel values are 0 or 1 (b/w areas in the image below) and data type is Float32. I made a point layer from each individual pixel's center. Then I made some calculation for all ...
0
votes
1answer
42 views

Geoserver Vector tiles hollow issue with layer

I am using vector tiles from PostGIS, Geoserver for the world layer, I have multiple layers for the global level, I have seen multiple holes and missing tiles of some boundaries in the layer of vector ...
0
votes
0answers
26 views

Converting protected areas polygons into raster

I am working with protected areas for vulnerability analysis, I have values of 1 for protected areas being vulnerable, and 2 to non-protected areas being less vulnerable. I have transformed this into ...
0
votes
1answer
40 views

Standardization of layers formula

I am building a suitability map in which I have different vector layers and raster data, I have converted all my vector layers into raster and I am using these two formulas to normalize the ...
0
votes
0answers
13 views

Export 2D ArcScene into Adobe illustrator as vector data [duplicate]

I have an ArcScene (10.8) document with shapefile layers. I would like to export the 2d view into adobe illustrator for editing, but it appears as a raster. I suppose I could try to vectorize it in Ai,...
0
votes
0answers
25 views

Copying fields from one vector to other on QGIS

I would like to copy the source fields with the same format (type, length...) from one vector to other that of course is different. is it possible? The values for each filed should be blank So vector ...
0
votes
0answers
13 views

Regarding Animation of Vector data in Google Earth Engine

I want to animate the vector file of Wind Direction in Google Earth Engine. https://code.earthengine.google.com/9bd384d4041e4426e677281704dcd407
2
votes
2answers
76 views

Group geometries of line data based on one common attribute and compute length

I have a vector file of river networks in QGIS. Some of the rivers are split up it multiple rows. What I'd like to do is to aggregate the rivers based on the attribute in one column (S_NAME) and ...
2
votes
2answers
81 views

Representing Polygon Complexity as readable attribute [closed]

I'm using QGIS and I have polygons such as this I would like to generate a feature table with the point in each polygon, and a sort of 'encoding' of the corresponding polygon. I would like to ...
2
votes
0answers
21 views

Aggregate polygons into specific shapes [closed]

So, I've basically got what amounts to a vector-based raster set. It's a series of regular-sized squares that, for all intents and purposes, are raster pixels. The only reason it isn't a raster is ...
4
votes
1answer
81 views

QGIS zonal stats for vectors

I am working in QGIS 3.10.4 trying to capture zonal stats for a polygon within a polygon. For example (picture below), two red lines make up a rectangular polygon that hold its blue circular polygons. ...
2
votes
0answers
42 views

Python: add a list to vector attribute table

I have a raster from which I have extracted the zonal statistics using a vector grid (shapefile). As a result, I have now a list containing the mean values extracted from each element of the grid. ...
1
vote
0answers
41 views

QGIS export to PDF layer is disappearing

I would like to reopen/look again at this question. I have a aerial raster file with a vector file over the top indicating specific points on the ground. I created my map, set the rotation to zero, ...
0
votes
0answers
13 views

Adjusting same CRS to overlay raster satellite image with vector data

I need to overlay my raster image of chollian satellite with shape file of South Korea. It worked in MODIS images but it does not work in chollian satellite images. Could you let me know how to solve ...
1
vote
1answer
59 views

Orient OpenLayers 6 labels along longest side of a polygon

I'm using OpenLayers with the EPSG 3857 Coordinate System and I want my polygon labels to be orientated along the longest side of the polygon. The labels in OpenLayers are aligned horizontally by ...
1
vote
1answer
29 views

Sample all existing points of a polygon in Python

I'm trying to sample raster values to points based on the geometries of a shapefile using the below code but the raster values are only sampled at the coordinates of the polygon geometry. Is there a ...
1
vote
0answers
20 views

Changing distance units in joined layer in QGIS 3.10

I am performing a Vector analysis using the 'Join attributes by nearest' tool. I am trying to evaluate the distance between a central highway and each vector point in a layer (which each represent ...
0
votes
0answers
32 views

Vector Tools Tab Does Not Appear on QGIS 3.10.8 and QGIS 3.14.1 on Windows 7 through Remote Access VPN (They do on Windows 10)

I am using QGIS on my work computer which runs Windows 7. I am using remote access (VPN) to access this work computer that runs Windows 7 since I am working from home. Today I tried to use the vector ...
1
vote
3answers
66 views

Remove Layers only if layers already exist using PyQGIS

I have written a code that imports the different Layers from a folder to QGIS. The problem is that when I run the code again, the layers are duplicated and so on. If I try to remove the layer at the ...
0
votes
0answers
31 views

Exporting grid vector from QGIS to KML gives wrong coordinates

A grid vector was created over the map layer (EPSG:32636) and saved as with CSR EPSG:32636. Then when I export it as KML, it the grid appears in a different country (Congo rather than Lebanon). I ...
0
votes
0answers
19 views

Clipping vector polygonised from raster

I have vector created by conversion of a raster to vector operation. I want to clip this vector file. While I am trying to do that, I am getting the below mentioned error: Feature (355) has invalid ...
1
vote
0answers
55 views

Using a DXF file to make a 3D map in QGIS

This might be a long shot but I'm trying to make 3D map to render from a DXF file in QGIS (3.14). The options I get when I press (View>New 3D map view>configure>terrain) is following: Flat ...
0
votes
1answer
24 views

Reset the “Auto open form for single feature results”

Is there a way to remove the setting "Auto open form for single feature results" in QGIS 3.10?
0
votes
0answers
24 views

When adding a new store in store page it is showing an error

"Error creating data store with the provided parameters: Error persisting DataStoreInfoImpl[adm] to workspaces/demo/adm/datastore.xml"
0
votes
1answer
65 views

Can I store raster data in a spatialite database (in QGIS)?

This might be a super simple question, but I'm a little confused. I don't know what the best way is to share qgis-projects that have raster-data, vector-data and some applied styling. I figured a ...
1
vote
1answer
26 views

Is there a command line tool like `gdalinfo` for vector files?

I use gdalinfo all the time to obtain basic information about raster files. I was wondering if there was a similar tool to obtain information from vector files, such as the spatial projection, list of ...
0
votes
0answers
37 views

Count number of points inside a pixel in QGIS [duplicate]

For a project I want to count the number of points in a raster, just like the picture below, in order to get idea of the point density. It seems simple but for some reason I am unable to find away to ...
1
vote
2answers
121 views

QGIS - From a point along a line (centreline), find the longest line to the centreline, without crossing a polygon boundary

https://onedrive.live.com/embed?cid=AEC7953479B58DC0&resid=AEC7953479B58DC0%218329&authkey=AKHlm_SovPNQOYw I have a series of points (ObservationPoints.shp) along a line (Centreline.shp). I am ...
0
votes
0answers
24 views

How to remove features out of the extent?

I am using openlayers tile strategy and custom load function. this.source = new Vector({ format: new EsriJSON(), strategy: tile(createXYZ({tileSize: 512})), loader: (extent: any, resolution: any,...
2
votes
1answer
45 views

Converting to geodetic latitude, longitude

I’m writing a program to determine a vector between two points on earth by taking the difference of the ECEF vectors for each point. I’m using this algorithm: https://www.mathworks.com/help/aeroblks/...
0
votes
1answer
26 views

Create outer polygon using raster

How to create the outlet border only while using raster data in ArcMap? I am already using raster to vector converting format but it did not help. Can you tell me or explain about other way?
3
votes
0answers
42 views

PDF export from QGIS print layout: line fill pattern vectors shown with pixelation

I have created grayscale piecharts in QGIS 3.14 Pi on Win10 with geometry generator. So the piecharts are vectors, created with the expression editor, using the wedge_buffer expression. I created a ...

1
2 3 4 5
31