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
19 views

Plotting points over raster pixel positions, rather than geographic coordinates in QGIS

I've been doing some image processing in OpenCV. I have a numpy array which has x1,y1 and x2,y2 coordinates as raster cell positions (so not spatially referenced). I need these coordinates marked off ...
0
votes
0answers
16 views

Zonal Statistics in QGIS 3.16

I have a NDVI raster file generate from Landsat-8 data and using the Identify Features tool I am able to observe the individual values per pixel. I also have a vector kml file breaking down a region ...
0
votes
0answers
40 views

Shape ID is lost after converting a shapefile into a raster in QGIS

Instead of a landclass having the value 1 (my previous shapefile ID), the raster classes have the below values after shapefile conversion. The above input values and gdal command was used ...
1
vote
1answer
57 views

Trying to write a script that re-projects vector datasets in a folder

I am new to Python and am struggling with my code specifically with my loops.The project is supposed to abide by these rules: Must re-project shapefile vector datasets in the folder to match the ...
2
votes
0answers
18 views

Using r.houghtransform [GRASS GIS]

I am trying to draw lines that run the length of rows in an orchard. I have a nice binary image that I produced from an optical image (see below). I need to delineate the crop rows with a simple ...
1
vote
0answers
27 views

Snap two point layers PostGIS based on a field

I'd like to know if it's possible to snap point to point automatically in QGIS, only when the two layers have the same attribute value in a field. For example, in the first pic they are far away and ...
0
votes
0answers
8 views

Export file _Google Earth Engine_Null parameter passed to FileFilter get user data function

When I export Vector Shapefile or Raster file from GEE and try to open it on another software (ERDAS/QGIS) I am given the following error Null parameter passed to FileFilter get user data function. ...
0
votes
0answers
16 views

QGIS - Drape (set Z value from raster) not working

I have a shapefile layer containing lines and a raster layer imported from a Geosoft GXF. I want to assign Z values to the nodes in the lines based on the intersected cells in the raster. So I used ...
0
votes
0answers
33 views

QGIS Add Vector Geometry to Polygon query

I have intersected a landcover map with 10km grid squares and then used the vector geometry tool (Add/ Export geometry) to calculate the area of each landcover feature within the grid square. In the ...
0
votes
1answer
38 views

Converting floating point raster to vector

I'm trying to convert a raster layer to vector but I'm really struggling. First it says that I have floating points rather than integers so I have I have seen you can use raster calculator to multiply ...
0
votes
0answers
23 views

How to extract the data from a GML file to a shapefile format? or select only few features from a large GML file?

I have a very big GML file on buildings in Denmark. (I could only download a 'whole country' in one file, so it is big as 17GB, no.of features over 1million). I only need a very few of them in a small ...
1
vote
1answer
51 views

Iterating through QgsFeatures in active layer and adding label using PyQGIS

I am trying to plot contours that are stored in a shapefile (linestrings) with labels that have their value. I know how to get the feature attribute I want in Python via: name = "MSLP" ...
0
votes
1answer
9 views

Is there a way to compute an Origin-Destination Matrix with multiple start point attributes?

[QGIS 3.16] I am looking to compute an origin-destination matrix. However, from the starting point layer, I need to have multiple attributes within the matrix, opposed to the 1 linking attribute. Is ...
0
votes
0answers
10 views

V3.16.3 vector menu doesn't work

Installed Linux Ubuntu version 3.16.3 and want to split a state parcels file (95 counties), but when I click on the Vector menu item nothing happens. Have used this feature successfully before in an ...
0
votes
2answers
34 views

Linking points within a specified tolerance

I have a set of points, and I want to build lines between pairs of points whenever their separating distance is within a specified tolerance. For example, 3 or 4 meters. Is there a way to do it in FME?...
2
votes
2answers
62 views

Joining (merge, union) non-overlapping vector polygons with QGIS

I look for a solution how I can join several polygons that do not overlap with each other and have no common sides, by creating a new polygon. That is, it should be an output polygon covering the &...
-1
votes
0answers
31 views

Connecting three line segments at one point

I want to connect three lines at one point. That is like having a T shape. How can I do that in QGIS? I am digitizing a state road network. After digitizing, I want to find the paths/routes from one ...
1
vote
1answer
28 views

Rasterizing polygons results in gaps that don't appear in the original polygons

I'm getting gaps when rasterizing polygons and was hoping to get an idea on the best solution. The first picture is the polygons and there doesn't appear to be any visible gaps on the edges of the ...
2
votes
1answer
46 views

Selecting and clipping layers within user defined area using PyQGIS

I am new to QGIS and am trying to write a script that will allow the user to define a region on the map (either polygon or freehand) and clip all displayed map layers within this region to the user-...
1
vote
0answers
14 views

QGIS: Arrow symbol from 4 raster layers (x y dir)

I have 5m raster layers which represent runoff velocity. They are in 4 separate layers; velocity, X-location, Y-location, and Direction. I want to create an arrow symbol with color according to ...
0
votes
1answer
50 views

Clipping Shapefile to Raster Extent using GDAL with Python

I am trying to clip a shapefile (containing multiple polygons) to a raster's extent. A similar question was asked as Clipping polygon precisely to raster (extent) using GDAL?, with an answer that I ...
1
vote
0answers
20 views

Warp vector WGS84 polygons to an orthorectified sub image

I'm using GDAL Python bindings (and gdal command line tools via subprocessing) and I'm having trouble warping WGS84 polygons to an orthorectified subimage. I'm fairly new to GIS, so please excuse any ...
2
votes
2answers
43 views

Getting names and numbers in specific vectors from a dataframe in a loop R

I have a huge DataFrame, in which I need to extract some information that generates filenames that I need to search in my working directory later, I also need the value in each cell of the pixel ...
1
vote
1answer
45 views

Is there some string-like format I can use that would encapsulate what is in a GIS file?

I'm running comparisons to find if there was a change in data. I'm using GeoTIFF and GPKG files (GeoTIFF will be compared to GeoTIFF and GPKG will be compared to GPKG). I have a database with ...
2
votes
2answers
71 views

Query a GDALDriverH or GDALDriver without a dataset to find out if it is raster or vector?

Is there any way to query a GDALDriverH (in C) or GDALDriver (in C++) to determine if it works for vector formats or raster formats (or with both, such as fGDB)? In my iOS app utilising GDAL 2.2, I am ...
2
votes
1answer
70 views

How do I use Join Attribute by nearest in this case, to avoid referencing an algorithm output in field calculator expression?

I have a model that I have built to automate the process of assessing wind hazard on forested edges. Currently I can run it successfully but: I have to run it once, create the Test layer, and then ...
5
votes
2answers
189 views

Lowering elevation of lake using QGIS

I am in QGIS. I have a raster layer of mountains and a lake. I have a vector layer (shapefile) of the lake. It sits nicely where it supposed to be over the raster level. I am going to convert this ...
0
votes
1answer
35 views

Is it possible to 'clip' two line layers in QGIS?

Specifically, I am looking to merge my bus route network into my wider road network. I only want to work with roads which lie on the bus network. Is this type of clipping possible? Joining the ...
0
votes
1answer
40 views

GeoServer (New Vector Data Source from PostGIS)

I have this error on GeoServer: Error creating data store, check the parameters. Error message: Unable to obtain connection: Cannot create PoolableConnectionFactory (The authentication type 10 is not ...
0
votes
0answers
24 views

ArcGIS Pro pixellates vector marker symbol when published as web feature layer

I've added multiple SVG images to a feature layer as custom symbols in ArcGIS Pro. While these show up exactly as expected in ArcGIS Pro, the same symbols appear pixellated once the feature layer is ...
2
votes
0answers
22 views

Is there a way to join specific features of 2 seperate line layers into 1 new layer?

Specifically, I am looking to put speed limits (which currently reside in my road network layer), into my bus route layer (which follows some of the same roads, but not all within the road network). ...
1
vote
1answer
58 views

Compare two shapefiles by location and attribute in QGIS

I am looking for a way to compare two shape layers automatically. We have two files that represent two different states of our project and thus contain similar data in the same format (e.g. both point ...
0
votes
0answers
77 views

ogr2ogr TopologyException invalid input geometry; ring self-intersection

I'm facing a problem when using osgeo/gdal:ubuntu-small-3.2.1 docker image and running these commands on the Natural Earth vector dataset: # Get and unzip the data # (inspired from https://github.com/...
0
votes
2answers
43 views

How do I add my .shp file as a Vector layer in QGIS?

I'm working in QGIS 3.12 and my university as given us zip files of "data" for each practical we do. I've unzipped it and followed steps of adding a vector layer and navigating to the right ...
1
vote
1answer
38 views

How to merge polygons from two different features without creating a hole in QGIS?

How is it possible to merge the yellow polygon with the blue polygon without creating a hole and keeping the big yellow polygon intact. Each time I try to delete the small yellow polygon, the whole ...
1
vote
1answer
34 views

Draw an envelope for only selected features in many/Batch layers in QGIS

I have about 1000 layers, I did select by attributes Batch files and select by one step features I need in all 1000 layers. Now I need to draw the envelope for those selected features in all 1000 ...
0
votes
1answer
43 views

Calculating polygon area within polygon using ArcGIS Pro

I have a soil layer overlaying a watershed layer in ArcGIS Pro. How do I calculate the different types of soil area within the watershed? I have tried summarized within, but it does not work.
2
votes
2answers
54 views

QGIS: multiplying of symbology transparency

In order to export partly transparent symbology to PDF in QGIS as vectors, the symbology itself needs to have transparency – if the whole layer is sat to be transparent, the symbology gets rasterized. ...
3
votes
2answers
146 views

Select circular polygons in QGIS

I have a multipolygon layer, in which some geometries are circles, drawn in an unknown GIS. How can I select only those features which are circular? A quick manual check confirms that circular ...
0
votes
0answers
42 views

QGIS Raster file not matching with vector data when I match their Coordinate referencing systems

I'm still quite new to GIS. I am trying to sync the CRS of some vector data I retrieved in the field with some raster Digital Elevation Models I have downloaded. The vector data is a gpx. file ...
1
vote
1answer
88 views

Is topology stored explicitely in vector layers or is it derived from stored geometry information?

In vector layers, different types of information are stored like: Geoemtry Attribute data Meta data (like filename, projection etc.) Spatial indices However, what about topology? Is it an explicit ...
0
votes
0answers
23 views

Open Source Desktop Tool to Style MapBox Vector Tile Data for MapBox

I have MapBox Vector Tile data in the form of mbtile files that needs to be styled for MapBox. Need a desktop application to work with data locally that will allow the style to be saved locally as ...
1
vote
1answer
57 views

Select points outside of polygon in Google Earth Engine

I understand how to get the points that fall inside a polygon with GEE: // Load a feature collection and a area of interest var dataset1 = ee.FeatureCollection("link/to/any/point/dataset/on/gee&...
0
votes
0answers
14 views

T-rex basemap style

I've figured out how to display a tile using T-rex, only problem i don't have any basemap is it normal ? Do i need to load another table ? I took my data form geofrabrik as an .pbf file. I have used ...
0
votes
0answers
24 views

QGIS georeference a Mesh layer with wind vectors?

I have an .nc file with u and v components to create a map of wind speed and direction. When I add the layer as a mesh in QGIS, I am able to get the arrow vectors correctly (image below), however, the ...
2
votes
0answers
20 views

Tippecanoe vector tiles duplicating over certain graticules (equator, -90)

I have large geojsons at different scales that I have converted to tiles with tippecanoe. My ultimate goal is for a user to be able to draw a box around the tiles and calculate mean attribute values ...
0
votes
0answers
22 views

Creating polygon of difference using ArcMap

I have two polygon layers, each describing the Geomorphic units (GU) within a river channel across two surveys. Using ArcMap (10.7.1), I would like to create a new layer, illustrating the change in ...
0
votes
0answers
26 views

Using a feature in a function in OpenLayers

I want to use in the get_pdf_data function the data loaded in the "imobile" vector so that I can perform operations with the "imobile" vector. The code I'm trying to do this with ...
1
vote
1answer
26 views

Massachusetts Woodland Shapefile / GDB Not Rendering Correctly QGIS

I am working on a personal project that utilizes USGS Land Cover Woodland data sets and I seem to have an issue in QGIS where part of the state of Massachusetts is missing / not rendering correctly. ...
0
votes
1answer
28 views

Snap to disabled layers problem - QGIS [closed]

I'm having some trouble with QGIS because when I try to edit a vector, it displays the edges in that point of all the layers loaded in the drawing even though they are off, making it almost impossible ...

1
2 3 4 5
33