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

how to map/drape polygon layers over raster in QGIS?

I want to "map" or "drape" a 2D vector (polygon) over a raster. Obtaining a 3D vector with z-values according to the raster it's draped over. Most of my internet findings point towards v.drape. ...
1
vote
0answers
508 views

QGIS 3 missing vector tab mac [duplicate]

I installed QGIS 3 as instructed and the Vector processing tab is missing. I did uninstall all previous versions and Python.
1
vote
2answers
92 views

Calculate perimeter of a large polygon using geodesic calculations

How do I calculate perimeter of a large vector polygon (polygon set) which spans almost half the globe? I guess regular calculations do not produce accurate results in this case.
1
vote
0answers
52 views

Vector-Viewing Properties on Multipoint Geometric Correction in Erdas Imagine 2014?

I am following some old instructions that are not up to date with my latest version of Erdas Imagine. Where can I find the Vector viewing properties within the Multipoint Geometric Viewer? The ...
1
vote
0answers
33 views

Color Fluctuation when moving vector data over raster background in ArcMap

My ArcMap view has a raster background. When moving vector polygons, there is a colour fluctuation inside the polygon. If I change the polygon's symbology to hollow, the effect disappears and there is ...
2
votes
1answer
182 views

How to add time in geoserver layer with gsconfig

Find below the code I use to add a raster to geoserver through python3 with gsconfig-py3 (1.0.7) What I do from geoserver import catalog from geoserver.util import shapefile_and_friends from ...
1
vote
2answers
439 views

Joining raster and vector layer using QGIS?

I have a raster layer (DTM of central Scotland) and a vector layer that shows the location of archaeological sites. I want to know how to join the layers so that I can figure out what height each ...
3
votes
1answer
417 views

r - sf::st_within output is sparse geometry binary predicament format. How to convert to character or logical vector

The same question is asked here: https://stackoverflow.com/questions/49294933/r-convert-output-from-sfst-within-to-vector but I thought this might be a more suitable place for GIS related questions. ...
3
votes
2answers
182 views

Disable saving vector layer in QGIS, especially in DXF and KML file?

Can you help me on how to disable the exportation of vector layers especially in AutoCAD DXF, DBF File and ESRI Shapefile?
6
votes
1answer
272 views

Accessing “Save Vector Layer As” algorithm in QGIS Processing Model?

I'm building a Processing Model in QGIS that ultimately exports a points shapefile (vector layer) as a CSV in a different coordinate system than the shapefile. I ordinarily accomplish this in the "...
0
votes
1answer
45 views

Where can I find the viewing properties on ERDAS?

The instructions state to click on vector and then viewing properties yet I cannot find the viewing properties. When I click on vector in the main menu there is no option for viewing properties.
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 ...
1
vote
0answers
527 views

clip vector by polygons in python script

I have a big shapefile, and I want to divide in x by y tiles. For testing purposes let's say just 2 by 1. I take the bounds of the big shapefile, create a polygon with smaller dimensions, and try to ...
0
votes
1answer
147 views

Keeping polygon's field when generating random points within overlapping polygons

I have a shapefile with a lot of polygons, representing events occuring for a given year. Every area can be covered several times, for every year it occured on the same coverage. Each polygon is ...
5
votes
2answers
2k views

Empty vector menu in QGIS 3.0.0

I installed QGIS 3.0.0 on a PC with French as default language. After changing the language of QGIS to English, the 'Vector' menu is empty and there is a French 'Vecteur' menu. Any ideas how to fix ...
1
vote
2answers
513 views

Clipping raster using a vector 's extent in GDAL

I am trying to take a raster (landsat_tm.img) and clip it to the spatial extent of the vector (clip.shp). My problem is that the band 1 values are being copied for all 7 bands. #import modules ...
6
votes
2answers
3k views

Clipping Error 1: Cutline polygon is invalid

I used the sample files located at this URL to learn QGIS: https://qgis.org/downloads/data/. I tried to clip SR_50M_alaska_nad.tif using a shapefile as a mask (alaska.shp). The problem is I ...
2
votes
1answer
39 views

Join from list with duplicates in list

I have a vector layer that i would like to join with a list. The problem is that my vactor layer does not hold any overlapping or dublicate objects, but my list does. The list does not have any ...
1
vote
1answer
2k views

Geoserver WMTS Service REST url

recently I have installed the Geoserver with vector tile layer extension, getting the data in pbf (Mapbox vector tile format) with this URL AND I think there is gzip problem too with this. http://...
8
votes
1answer
90 views

Visualising most likely direction of migration given points with ages using R?

I have a question about how best to visualise the predicted direction of migration given a set of points with estimated ages. Imagine I have a set of geo coordinates, representing communities. For ...
3
votes
1answer
288 views

Where can I get British Agricultural Field Boundaries as Vector Data?

I am looking for vector data outlining the agricultural field boundaries in the UK (Specifically Scotland, England and Wales). I have tried all sources of open source data I can find and looked at ...
1
vote
1answer
91 views

Create a vector layer from a raster layer contour

I am using QGIS 2.18. I have several sheets (about 430 MrSid raster files) that represents a full map. Each sheet is already geo-referenced. I need to create a vector layer that represents the ...
3
votes
1answer
88 views

v.reclass no output

I want to reclassify a polygon vector and use v.reclass. Feature type: boundary Name of column: LBA Reclass Rule: I use a .txt with the following content: CASE WHEN LBA = 68 THEN 2 WHEN LBA = ...
1
vote
0answers
29 views

Reducing/merging vector features after QGIS Vectorize?

i have a high res raster layer. Each pixel has an attribute value between 0 - 10000. I would like to vectorize the layer and finally get a geojson object. But atm i get for each pixel an own vector ...
1
vote
3answers
5k views

Convert MultiLineString to LineString using QGIS

In QGIS, I've tried the following options to convert my GeoJSON file from MultiLineString to one or multiple LineStrings (translating the Danish version): Vector -> Geometry Tools -> Polygons to ...
1
vote
1answer
184 views

dxf rotation and georeference [duplicate]

I have a DXF (layout) which is to be spatially adjusted to a point shapefile that has correct X Y cords. When I add both as vector layers to Qgis, point shapefile is right on place but dxf shows a ...
1
vote
1answer
722 views

Calculate if day/night time for point dataset [closed]

I have a point dataset (crime data for Stockholm) with timestamps and I want to calculate for each point if the certain crime happened during day or night time. So connecting the timestamp to sunrise ...
4
votes
1answer
267 views

interpolate raster values to the extent of a bigger vector layer in QGIS 2.18.16

I have raster data (1km resolution) of nationwide multiannual precipitation. Unfortunately, the raster layer does not completely cover the extent of an underlying vector layer (see picture below). I ...
2
votes
0answers
127 views

Issues with geometry in QGIS but not ArcGIS? [closed]

I have found that shapefiles that function normally in ArcGIS will not work in QGIS due to geometry issues. For example, I have a species geographic range file that when I intersect with a buffer will ...
1
vote
2answers
156 views

reduce nodes in polygons

I have a shapefile with several contiguous polygons and I want to reduce their number of nodes. I was thinking of deleting nodes based on the angle that results from the 2 segments on either side of ...
1
vote
1answer
81 views

Transfer attribute and split line

I have two line dataset that represent the same roads: First one has very precise geometry Second one has an approximative geometry, but very interesting attribute. What I want to achieve is to have ...
0
votes
2answers
657 views

Getting feature coordinates from dynamically loaded layer using OpenLayers?

i want to load the coordinates of a point that is stored inside a vector layer and the vector layer is stored inside a layergroup. I do load the vector layers dynamically to the layergroup "Runs". So ...
0
votes
1answer
78 views

Administrative country boundaries over the years

I am using natural earth's Admin 0 Countries dataset and it works great, but need to plot some data going back to 1962. Any idea how I could handle the national border changes? (In fact, I only need ...
1
vote
1answer
168 views

QGIS Contour WAsP .map output file format

I want to create WAsP .map vector file in QGIS from a input ascii file. For this, I tried using Raster->Extraction->Contour and then set the option for 'Output file for Contour lines (vector)...
4
votes
1answer
3k views

Get feature from ol.interaction.Draw on drawend

My problem seems simple but I cannot find any questions that successfully solve it. I want to draw a circle using ol.interaction.Draw, and access the feature that is created immediately. My code as ...
2
votes
1answer
519 views

qgis-bin-exe-stopped-working No Shapefiles allowed

I'm using Windows 7 and I'm having the problem of QGIS 2.18.16 crashing with any shapefile. Rasters seem to be OK. I have tried uninstalling and reinstalling 2.18.15, 2.18.14 and one older version (2....
2
votes
2answers
3k views

Converting raster tif to point shapefile using Python?

I've been working on a data that is in .tif raster format. I need to convert that into a points shapefile (.shp) to proceed. I went through GDAL in Python but there's only gdal.Polygonize(). So how do ...
2
votes
1answer
139 views

Reprojection problem WGS 84 / UTM zone 21S - EPSG:32721

I'm working on a EPSG:32721 project that works just fine. I'm trying to add a new vector to this project, but I just can't find the way to align it with my others layers. What is very strange is ...
1
vote
1answer
83 views

Saving output from vector-tools as temporary file or straight into input layer?

In mapinfo it is possible to save an output without creating new shp. Either by saving into the input- layer or to a temporary file. For example if you want to ”union” two layers you may want to get ...
1
vote
1answer
376 views

QGIS: How to create a permanent vector layer

I am currently creating an vector layer like following: outLayer = QgsVectorLayer('Linestring?crs='+ crs, 'graph_with_azimuth_ogr' , 'memory') The outLayer is now stored in memory, which means it ...
3
votes
1answer
81 views

Split a vector into parallel grids [duplicate]

I have a piece of land (vector) with, for example, potatoes and I want to make a grid for spraying. That means i need a grid with size 45mx10m with different values per box. Important is that the grid ...
7
votes
1answer
956 views

Different layer styles at different scales in QGIS?

I would like to be able to show a basic style for a layer at a large scale, e.g. GB-wide, with all polygons the same, but for this to change at a smaller scale, e.g. 1:25K, to differentiate between ...
0
votes
1answer
162 views

Programmatically styling MapInfo Table without MapBasic?

I'm doing some research into how I can convert a GML file to MapInfo TAB and then style it using the same script. I have read about a column called MI_STYLE, however my understanding of this is that ...
2
votes
0answers
57 views

How to sum attributes from different vector grids?

I am using QGIS and have a vector grid covering part of South Europe. The grid is made of rectangles each with equal size 0.01 degree. So there are thousands of features defined by four values : left, ...
5
votes
1answer
974 views

QGIS Calculate angle between two lines

I am currently trying to calculate the angle between two lines or rather vectors (which are not touching) like in the picture shown below: In order to calculate the angle α, I think I will have to ...
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 ...
2
votes
1answer
52 views

Attributing stream segments based upon road intersections and stream confluences

I am currently working on attributing nodes along some stream polylines. The attribution is supposed to include: 1)length of the stream from it's reference point 2) the location of the node in ...
4
votes
1answer
340 views

Vector Tiles for NetCDF Data [closed]

I understand that the GeoServer can produce vector tiles in three formats: GeoJSON, TopoJSON, and MapBox Vector (MVT). Moreover vector tiles has many advantages in handling data such as reduced size ...
1
vote
0answers
38 views

Save Vector Layers in Group [duplicate]

I have a list of shapefiles stored in a group: pump I want to save all shapefiles as a new shapefile with a new CRS. For that, I wrote the following script: import os as os from qgis.core import * ...
0
votes
3answers
184 views

Vector lines as blockage for viewshed analysis in QGIS

I have a SRTM elevation model with a point from which I would like to calculate the aproximate visibility. Using the line-of-sight tool in QGIs, I can achieve that without any difficulty. However, I'd ...