Questions tagged [vector]

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

225 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
80 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
0answers
28 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 ...
1
vote
0answers
50 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
0answers
252 views

How to open memory data with ogr in rasterstats function?

I would like to reuse vector data created in memory in another function called rasterstats (source code, documentation): I have a function that creates vector data: def createPolygons: ...
1
vote
0answers
53 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
34 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 ...
1
vote
0answers
567 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 ...
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
0answers
54 views

Road Network Accessibility

I am working in qgis with 3 layers: one is road network and other is hospitals and locations of accidents , later two layers are as points, I want to figure out what accident location (points ) are ...
1
vote
0answers
56 views

Raster to vector, matching another vector in QGIS?

I have taken a pdf of a map and managed to import it into my map using the QGIS geolocator. Now I want to convert the resulting raster layer to a set of polygons that match up with the existing vector ...
1
vote
0answers
60 views

How to create least-cost path with PyQGIS that penalizes sharp edges and uses each line only once?

I would like to connect user-selected nodes via a line layer, in which each segment has a certain cost value. The lines should be connected via the least-cost path. So far, I am using the module ...
1
vote
0answers
149 views

Clip a raster by vector in QGIS while keep raster cells that do not touch the vector boundary

I am using QGIS 2.18.11 with the Semi - Automatic Classification Plugin (SCP). I use Sentinel 2a as well as Landsat 8 Scenes and run some Classifications with SCP. Inside my Sentinel 2a scene I have ...
1
vote
0answers
212 views

Create 3D polygon from 3D point map

I'm a new qGis user (just started yesterday) and I'm trying to find a solution to a problem. I need to generate a 3D polygon starting from a list of points located in space, with X and Y coordinates ...
1
vote
0answers
122 views

import OSM to GRASS not a valid flag error

I've downloaded an OpenStreetMap data extract from geofabrik.de. I installed the v.in.osm extension. When I run v.in.osm -l input=country-latest.osm.pbf it works well enough to identify the ...
1
vote
0answers
21 views

Include polygons that don't contain line segments in Summarize

I would like to get a summary of road lengths per township, but also include townships that have no roads. Using the first answer from this question Calculate line distances inside of polygons using ...
1
vote
0answers
65 views

Extracting Roads and Trails from SPOT Imagery

Is it possible to extract Roads and Trails vectors from SPOT Raster Tiff Image? Actually I have tried SPRING software to extract road vectors from this raster. Yes, It gives good result, But ...
1
vote
0answers
155 views

Difference tool QGIS

I am trying to use difference tool in QGIS to get a mask out the ice coverage from a base vector map. The number of features in ice coverage is around 2000 while my base map has 237 features. I am ...
1
vote
0answers
201 views

Least Cost Path point & polygon QGIS

I am trying to calculate the least cost path between a point and a polygon using the tool "least cost path" from SAGA. This tool works fine with the exception that it calculates the least cost path ...
1
vote
0answers
115 views

Merge Symmetrical Difference and Intersection Line

I tried to merge these two types of lines I have from using the geometric tools "Intersection & Symmetrical difference". They end up being part of the same line and I want to join them together ...
1
vote
0answers
456 views

Getting vector layers to appear in map rendering?

I am using QGIS 2.18.7 on Windows 7. I am attempting to write a pyqgis script that will create a map rendering and save it, using a raster layer, a polygon layer, a line layer and a point layer. The ...
1
vote
0answers
180 views

Intersection of two vector shapefiles?

I have a shapefile of the 8830 election precincts in Texas as of the 2016 election. I also have shapefiles of the Texas US House districts and the Texas Senate and House districts. I want to ...
1
vote
0answers
34 views

Creating minumum polygon coverage from set of lines in ArcGIS Desktop?

Does anyone know of a tool or methodology I could use to create a polygon layer enveloping the end nodes of the line layer using ArcMap? I need a coverage layer for the lines below, I was hoping to ...
1
vote
0answers
149 views

Combine vector and raster tiles

I have raster tiles in mbtiles format. I also have vector tiles in GeoJson format. My goal is to combine both tiles so they will overlap each other, the vector tiles will be on top of the raster tiles....
1
vote
0answers
53 views

Problem with style with svg file for linear layer

I have a problem with styling line with svg file. Line should be style with image like below: but on layer it looks like this: My style is: <?xml version="1.0" encoding="UTF-8"?> <...
1
vote
0answers
225 views

Calculating normal vector distance between two surfaces using ArcGIS Desktop?

I have two surfaces mapped out from seismic data, imported as x,y,z datasets in ArcMap and then converted to rasters using the point to raster tool. These surfaces are rugose (seafloor and an ...
1
vote
0answers
742 views

Clipping raster layer using vector polygon as mask in qgis

I wish to clip an area out of a raster layer for further processing based on a previously created vector polygon layer. Thus vector being the mask for the raster layer. I am on QGIS. I tried Raster>...
1
vote
0answers
281 views

QGIS: Raster to vector too large

I am working with a DTM of 5x5m for a large area (already clipped it). I calculated the slopes and want to maintain only the slopes above 2 degrees. I already used the raster calculator to set all ...
1
vote
0answers
43 views

Trouble when append values from attribute table of shapefile

I need to record the values for all fields of a shapefile in a dictionary. When I run a loop that for the first index of list picked up values from attribute table correctly. The problem for the ...
1
vote
0answers
559 views

QGIS: Python script to batch clip vector layers and set their CRS

Here below the sript I'm trying to run. clip_zone is a polygon and in my input_folder, I have a point layer and polyline layer. #Tell Python where you will get processing from sys.path.append('C:\...
1
vote
0answers
62 views

Codecing vectorial field qgis

I have vectorial data that I have loaded in qgis setting as UTF-8. I was checking if the values of field in atribute table is standartized. So I am creating a script to do it. However, when I print ...
1
vote
0answers
21 views

Matching vectors in separate layers in QGIS. Overlay Question?

I am not exactly sure how to phrase this question since I do not know the term I need to use for this. I am planning driving routes to cover an entire state's road system. I already have a driving ...
1
vote
0answers
71 views

Fixed buffers Nodebo as shape

I want to make different buffers with Nodebo, tool fixed buffers. e.g. 300m 500m from layer a 200 m and 300 m from layer b. etc. When I try to set the file direction, there is only the possibility to ...
1
vote
0answers
331 views

Shapefiles not editable anymore?

From this morning if I open a qgis project all the shapefiles are not editable anymore. I've tried different projects in both 2.14 and 2.16 qgis versions. Has anyone encountered the same problem?
1
vote
0answers
543 views

Add feature no longer working

I'm using QGIS 2.16 but this was happening on 2.14 as well and I hoped updating would fix it but no. I create a new shapefile, doesn't matter whether it's a point, line or polygon, toggle edit ...
1
vote
0answers
224 views

Cropping vector map into tiles with QGIS - how to get around shapefiles which have stray points on boundary of tiles?

I am trying to use QGIS to generate a set of tiles in Shapefile format from a vector coastline map. My script is correctly generating the 5x5 degree tiles I want, however a few tiles clearly have ...
1
vote
0answers
215 views

Problem with viewing DXF files in QGIS

The problem of getting from DXF format, to display in QGIS correctly. We have loaded it in and fixed the rotation and TTF font mapping problems. That is all great, however the objects are coming in ...
1
vote
0answers
53 views

Missing vector features when import from .sqlite to postgis?

I imported vector data from a .sqlite file to PostGIS but not all of my vector features imported. I haven't been able to determine a reason for most of the loss of features between the databases (...
1
vote
0answers
60 views

Clipping vector polygons by previous vector polygons in same layer in QGIS

I have extremely large datasets as vector polygons in single layers. The polygons are in an order. I want the previous ordered polygons to clip the later polygons. Therefore, once an area has been ...
1
vote
0answers
204 views

Importing geospatial PDFs with QGIS

I've been using GDAL to work with geospatial PDFs to make geotifs and have been running into some issues, so I started working with QGIS. A fine product I might add. When I select a directory ...
1
vote
0answers
230 views

Save shapefile as grouped/layered vector file

I want to get the 10m natural earth countries file into a Mercator projection and then into a vector file (SVG, ai, etc) where for each country, its main land and any of its islands are in a single ...
1
vote
0answers
40 views

How do I generate a sampling path by numbering points?

I need to number points from left to right and then the next row of points the numbering must continue from right to left, then again from left to right the row thereafter - and so on, and so on. ...
1
vote
0answers
55 views

Using arcpy to add several rasters

I need to do some raster/vector processing on some non-overlapping tiles. My python script needs to find the correct tiles and then extract the raster values and count them up. My script needs to be ...
1
vote
0answers
64 views

GRASS: strange classification output and reject map from “i.maxlik”

I am trying to perform a supervised classification with "i.maxlik". I have three bands: 1) elevation (a dem); 2) reflectance (derived from Landsat ETM+ band4); 3) cumulative solar radiation (derived ...
1
vote
0answers
48 views

I clip a raster with a vector mask in qgis, the result is correct but its a little bit of, why is this?

On one side the result is "bleeding" over the vector on the other side its more than one raster pixel from the vector on the inside. How to correct this? http://i.imgur.com/d0v6mqt.png http://i....
1
vote
0answers
519 views

Using MySQL vector with QGIS?

I have a problem with mysql vector; when I connect to the MySQL table (containing a geometry column), the attribute table is loaded correctly, the map is centered properly but the geometries are not ...
1
vote
0answers
112 views

pgr_nodeNetwork doesn't place new nodes properly

I wanted to use pgr_nodeNetwork tool to split lines where there's no vertex on intersection. The tool doesn't seem to work as expected, though. It doesn't place new nodes right where the two lines ...
1
vote
0answers
103 views

Data dependent override on colour and linewidth of line pattern fill not working after upgrade to QGIS 2.12

I have recently upgraded to QGIS 2.12 which has resulted in a problem with one of my projects, whereby the data dependent override of the line width and colour of a line pattern fill and SVG marker ...
1
vote
0answers
47 views

Accessing feature legend style name using QGIS?

I have a vector layer classified by some combination of field values. I want to add a field for each feature, filled with the legend style name of the element. How can I do this? via Function Editor?...
1
vote
0answers
62 views

How does qgis render vector layer on screen ? How can I do the same in a mobile device

Can you please tell me how does qgis software render the vector layers on the screen. I have a geojson file and I need to map its contents on the screen just like qgis does but without using base map ...
1
vote
0answers
696 views

Distance Analysis from single point to multiple points on vector layers

Is it possible to do the following in QGIS: Create a text file that plots the distance from a single point (stored in one layer) and multiple points (stored in another layer). I have tried to use ...