Questions tagged [vector]

A coordinate-based data model that represents geographic features as points, lines, and polygons.

Filter by
Sorted by
Tagged with
17
votes
2answers
890 views

Buffer neighbouring polygons without overlap using QGIS

Is it possible to create a buffer around neighbouring polygons, so that the new polygons do not overlap? Preferably in QGIS but any other tool will do. So instead of the first result I would like ...
3
votes
1answer
318 views

Calculating distances from points to centre of cells using QGIS?

I am using QGIS 1.8.0 (using older version because I need the Qmarxan plugin which is not available for 2.4.0). I have a study area that has a vector laying of "planning units", or cells over the top ...
2
votes
1answer
38 views

Change unit in Split tool on ArcGIS Pro?

I'm working on a project with a CRS in meters, map units and display units are also in meters, but Split tool (from Modify features) is in feet: Is there a way to change unit to split based in a ...
0
votes
0answers
35 views

Georeferencing Vector File using QGIS? [duplicate]

I am using QGIS 3.2.3. I have extracted a contour layer from a PDF file and saved it as a shapefile as individual lines (using Canvas). There is no projection information associated with the data. I'...
12
votes
2answers
7k views

Georeferencing vector PDF/SVG/DXF linework using QGIS?

I want to create a small web application to visualize election results on a per poll site basis for my city. The result is going to be very similar to what has been done for Berlin here. Hopefully ...
2
votes
1answer
97 views

Extract vectors from ArcGIS MapServer into virtual layer with QGIS?

This is the first time I've used QGIS, so bear with me. I have an ArcGISMapServer data source and added one of its layers to the canvas. It doesn't let me customize any of the styles, because I assume ...
0
votes
1answer
256 views

How to exclude one specific polygon from a layer which have like 20 diffirent polygons? [closed]

I have a layer with like 20 polygons which I imported from Google Earth Pro. And what I am trying to do is to exclude (isolate) that one big polygon which is in a way of all other smaller ones so ...
0
votes
1answer
45 views

Is it possible to add symbols in QGIS?

Is there any way so i can add symbols like ( <, > ,- ) in QGIS polygons/vectors so I can define for a example in which way is "this pipe of drainage leaking water" Working in QGIS 3.2 Bonn
4
votes
1answer
51 views

Extract value from vector to another

I have two vector (shapefile) data. One contains soil order for county, and the other one contains boundary for each county. I want to extract the soil order for each county by using county boundary. ...
1
vote
2answers
550 views

Mapping continuous vector data on a continuous colour gradient in ArcMAP 10

I'm plotting vector data for different attributes for countries across Europe. I've used symbology to plot categories of countries. However, the data are numbers so are on a continuous scale. I would ...
1
vote
0answers
46 views

QGIS vectors and rasters

I have created a map with polygon shapefiles and am trying to import them onto an different raster but when I do they are larger than the raster image and are far away. What am I doing wrong? My ...
3
votes
1answer
394 views

Adding vector layer to QGIS?

I am learning QGIS from scratch. Downloaded the software and data. I am following their manual uploaded in PDF format. I am stuck in the first step to add the vector layer. The layers panel show a ...
0
votes
0answers
84 views

ol-cesium throws exception when map.addLayer() is called with a vector layer

I have a strange behavior here using OpenLayers 5.2.0, Cesium, and the compatibility library ol-cesium. When I try to add a layer to the map, it throws an exception: TypeError: invalid 'instanceof' ...
1
vote
0answers
42 views

In ArcMap, how to create random points of a specific amount in each polygon?

I am doing an accuracy assessment of land-use product and need random points as test points. What I'm trying to do is to generate different numbers of random points in different polygons (like 5 for ...
14
votes
2answers
5k views

Moving points onto lines (~neighborhood)

I do have two vector layer, of which one is a point layer based on "events" by remote sensing and the second one is a line layer from local research. In my case these are earthquakes and tectonic ...
2
votes
2answers
548 views

QGIS Convert vector classification map into raster

I tried to convert vector classification into raster file for accuracy analysis following these suggestions My vector data is like this: However, none works The first one, interpolation, resulting ...
2
votes
0answers
29 views

Issue with vector grid and calculating area QGIS

I'm trying to determine the area of occurence from a large polygon superimposed onto 2km x 2km grids. The goal is to have a slightly coarser answer then a straight area of the original polygon as the ...
36
votes
4answers
58k views

Loading OpenStreetMap data in QGIS?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS. This was great (give or take ...
11
votes
1answer
17k views

Removing overlapping/duplicate polygons in same layer using QGIS?

I am working in QGIS on a vector layer where areas are classified using an attribute "typo". The problem I'm encountering is that many polygons are duplicated or overlapping, with the result that some ...
2
votes
1answer
286 views

Combining DEM file with building (height) vector files using ArcGIS Desktop?

I am using ArcMap 10.2. I need a DSM file to use for my thesis to run visibility analysis on it, but my case study (Tehran) do not have LiDAR data. So I am thinking to combine a DEM file with ...
13
votes
2answers
4k views

Clip polygon and retain data?

I have these two polygons: library(sp); library(rgeos); library(maptools) coords1 <- matrix(c(-1.841960, -1.823464, -1.838623, -1.841960, 55.663696, 55.659178, 55.650841, 55....
1
vote
0answers
39 views

How could I assess the value of a polygon according to the value of his neighbor?

I would like to know if it is possible to give a value to a polygon, according to the value of the polygons around. I want to assess the ecological integrity of an aquatic network (lakes, pond, ...
1
vote
1answer
127 views

Hydrological conditioning using stream vector in GRASS?

I would like to make an hydrological conditioning of a DEM using an available stream network in vector form. I know r.hydrodem but it doesn't allow to use the stream vector. I need something to burn ...
0
votes
1answer
19 views

Vectorising lines appear as a mixture of bubbles and lines from raster map

I have these road raster maps which I have reclassified into binary images to try and vectorise. However, when I click on vectorise and generate feature, it comes out as a mixture of bubbles and lines ...
1
vote
1answer
37 views

'Regular Points' vector layer in Bonn

I've downloaded the bonn version of QGIS. Using the 'regular points' vector analysis tool, I've set some 5m regular points over a field so that I can use the x,y coordinates to plot them and measure ...
1
vote
1answer
63 views

Discerning dwelling types in QGIS? [closed]

In QGIS, I want to discern between a number of building types, based on topology. I have data on buildings, parcels and addresses. I'm having a hard time to discern between row/terrace, end-of-...
1
vote
1answer
249 views

Loading vector only for specific zoom using OpenLayers?

I have a map with 4-5 vectors. At the beginning, the loading of the web application is very very slow, but was fine before I've added a new one vector, which is used only for little zooms. Is it ...
0
votes
0answers
30 views

Splitting one vector file with multiple polygons into individual files using QGIS? [duplicate]

I download the administrative divisions of a country from gadm.org as a kmz vector file. I imported it into QGIS Desktop. How do I split the polygons from this file and then export them as ...
3
votes
1answer
312 views

Digitize objects in a LiDAR point cloud?

I am working with LiDAR point cloud data of road networks. The goal is to digitize all visible objects like hydrants, streets, sidewalks. My input data is available in LAS or ASCII format. My first ...
1
vote
0answers
76 views

Cluster spatial - cannot allocate vector

I'm trying use this code for create cluster spatial in R, I get from @ssanch: # example data from the thread x <- c(-22.83982, -23.49961, -27.08745, -22.98890, -19.92278) y <- c(-47.20671, -46....
1
vote
1answer
168 views

pyqgis 3 setup vector labeling not working

I have a standalone pyqgis3.2.1 (Bonn) application that can display maps (vectors, rasters). I tried to setup labeling of vector layers using the following codes, but it only works for point layers, ...
1
vote
0answers
26 views

Create a path in mapping software and export as vector?

Is it possible to map a route in any mapping software (OpenStreetMaps, Google Maps/Earth, QGIS, etc. preferably Open Source or free) and export this route as a vector (PDF, AI, SVG etc.)? I'm only ...
5
votes
1answer
501 views

How to suppress polygon boundaries shared by objects of same type in QGIS?

Given polygons - like landcover in OpenStreetMap or street areas in cadastre - how can one suppress those polygon boundaries which are shared by objects (features) of same type in QGIS (see figure ...
2
votes
2answers
2k views

Convert Raster to vector - create polygons based on each pixel

I want to convert a raster file (100x100m pixel size) which contains population counts as pixel values. I need a vector based file of the 100x100m grids and the population as attributes. I tried ...
1
vote
1answer
61 views

How do I create a line with fixed size from a single point in QGIS?

My question pretty much sums up my problem. Basically, I have a layer containing points: And I need to convert them into lines with fixed size (25 meters). I don't care if the point will be taken as ...
0
votes
0answers
19 views

QGIS Error while Reprojecting a ATLAS BNA file (.bna vector format) from WGS84 to UTM Zone

In QGIS, I want to reproject a ATLAS BNA (.bna vector format) from WGS84(EPSG:4326) to UTM zone 37S(EPSG:32737). I have tried all the options in GDAL/OGR Toolbox, GRASS GIS, SAGA GIS and QGIS ...
5
votes
1answer
274 views

LiDAR returns over water bodies?

I have obtained LiDAR data from my environmental agency in order to obtain the relative heights of each watercourse station. A far as I know, LiDAR signals do not get returned over water bodies. ...
0
votes
1answer
55 views

Count how many times an attribute in a polyline intersects a polygon in QGIS

I am trying to count how many times a polyline with a specific attribute intersects a polygon in QGIS. For example, I have a polyline with a feature class called "size", this contains a text value i.e....
8
votes
1answer
696 views

Split up shapefile into little shapefiles

I have a very large shapefile (all the roads in RI). I need to split it up into chunks so that I can process the file with multiple worker threads in Python. So far I have created a grid in QGIS that ...
2
votes
2answers
181 views

Clip Raster by Attribute values

I have a raster which I want to do a clip with a vector layer (polygon) using its atttribute values. What I have done so far is the folliwing: from qgis.core import * from qgis.gui import * import ...
2
votes
1answer
532 views

Distance to Nearest Hub QGIS not working when 'hub' is a line?

QGIS 2.18.20 working in CRS: WGS 84/UTM Zone 35S (EPSG:32735 OTF), with shapefiles of map features (roads, river, point water sources) reprojected from WGS84 EPSG:4326. All shapefiles have been ...
2
votes
1answer
80 views

Read a Raster Band Value inside of a VectorLayer in QGIS [closed]

How to read pixel values in RasterLayer that intersects line features of VectorLayer, applying Python in QGIS?
8
votes
3answers
3k views

Making QGIS attribute table field automatic?

I'm working in a way to make hydrologic projects using QGIS and an Excel worksheet that I have. To do this, I want to extract some information of the lines, included in a vector layer, which ...
0
votes
1answer
33 views

Openlayers 3.10 can't display features added manually

I'm trying to add features manually to vector layer but with no luck. This is my code: cords[0] = { [19.1820888104, 49.6835693017], [19.1819108957, 49.6850423191], [19.1846518426, 49.6853635871], [19....
1
vote
1answer
263 views

Attribute Error: 'unicode' object has no attribute 'extent'

I keep getting this error from this line. arcpy.CreateFishnet_management(os.path.join(Output_Folder, "Full_Grid.shp"), str(NAR_U9.extent.XMin) + " " + str(NAR_U9.extent.YMin), str(NAR_U9.extent.XMin)...
13
votes
1answer
8k views

How to remove a vector QgsVectorLayer from QGis python plugin

I managed to add QgsVectorLayer in QGIS through a python plugin, for example: vl = self.iface.addVectorLayer(uri.uri(), layerName, self.dbConn.getProviderName()) But how can I remove it?
0
votes
0answers
32 views

Polygon interpolation neighbour average?

I am trying to estimate empty values based on a polygon layer we received from another study. Is there a way to calculate an average value for polygon A based on neighbours B,C, etc that border it? I ...
1
vote
2answers
1k views

Converting from ECEF to geodetic coordinates

I am trying to convert an ECEF coordinate to a geodetic coordinate using this procedure, but I don't fully understand the process. It is prefaced by stating the geodetic parameters {a,b,e,e'} are ...
1
vote
0answers
48 views

QGIS: Fill shapefile vectors with grayscale based on elevation

I am very new to this and feel like this is probably an easy answer, but after days of searching this forum I still am unsuccessful. I have shapefile data with elevation and I want to create a raster ...
1
vote
1answer
284 views

How to create displacement vectors in QGIS using GPS points with different dates?

Is there a way to calculate and visualize displacement vectors in QGIS ? I have DGPS points taken at the same place (ground control points), but their position moved over time as they are located on a ...