Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
159 views

check the “quality” for (poly-)lines (density of vertices)

I want to check the quality of digitized tracks. I suppose, that a track with a lot of regular vertices has got a good quality. And a track with less regular vertices has got a poor quality. Maybe, I ...
1
vote
0answers
329 views

How to create contours from an IDW raster

I'm new to QGIS and am trying to create vector contours from this IDW raster. I followed Ujaval Gandhi's "Interpolating Point Data" tutorial step by step but am not getting the same results for step ...
1
vote
1answer
2k views

Openlayers - Vector Layer - Combining hide/show features using style property

I am trying to filter vector layer features according to their attributes. I have 4 check boxes: type_1, type_2, shape_1 and shape_2 Note that I am using Extjs for interface. at beginning I could ...
1
vote
2answers
1k views

Splitting discontiguous vector feature in QGIS

I'm a QGIS novice. I'm trying to correct a map of Europe in QGIS, and it's incorrectly assigned Corsica to Germany. I can't seem to split Corsica off of Germany because when I use "split features" to ...
1
vote
1answer
762 views

Calculating coverage of vector polygon over other polygons?

I have a shapefile file that contains a LiDAR footprint and I'm trying to figure out how much a county is covered by the LiDAR footprint. Two separate shapefiles. The attribute table for the county ...
1
vote
1answer
622 views

Sum of values within a buffer polygon

I need to do the following in QGIS and hope so much anyone could help. I have a vector layer with points. Each point represents a firm with the number of employees in the attribute table. I want to ...
1
vote
2answers
4k views

How to capture contour lines from OSM cycle map as vector?

In QGIS, there is a plugin to insert a OSM cycle map layer, that brings as an image from http. But I can't convert this OSM Plugin layer to a raster image. I can't even imagine how to get the contour ...
1
vote
0answers
571 views

Display a single country with OpenLayers

Can I display a single country using Openlayers? I'm not trying to restrict zoom levels or . I want only one single country to be displayed. The rest of the world cannot be displayed. My reasearch ...
1
vote
2answers
569 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
1answer
899 views

label vector line with multiple attributes in QGIS

I have a line with two 2 attributes. I would like to display both information along with the line in frequent interval, one info above the line and the other is below the line. I am working in QGIS 1....
1
vote
1answer
1k views

Clipping raster with an irregular shape?

How can I clip my DEM raster in a irregular shape in QGIS? I have used the clipping tool but it only does rectangles I believe.
1
vote
1answer
137 views

How to update new column with v.distance from GRASS GIS?

I would like to calculate the distance between two lines and update this value to the attribute table of one of the line layers.So the mean distance between the blue lines and each of the red line ...
1
vote
1answer
1k views

How to select a raster file that is under a polygon in a vector file?

I am using: v.db.select map=PHL_adm1 where=NAME_1='Bulacan' My vector map is over the raster map. I want to select the part of the raster map under the polygon(NAME_1='Bulacan') of a vector. Is it ...
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
2answers
1k views

Clipping shapefile with Python?

My problem is the following, I cannot find a reasonable method to clip 2 vector based shapefiles using python (without ArcPy or QGIS API). I tried using the geometry.intersections method, but that ...
1
vote
2answers
1k views

Hiding specific icons/markers on text generated vector layer

I'm displaying a vector layer with pois, generated from a text file: lat lon icon iconSize iconOffset title description 56.030325 14.4774116666667 http://www.medinsbiologi.se/hano/Foto....
1
vote
2answers
2k views

How to use Mapbox vector tiles as a vector source in OL3, so that labelling will not clip at tile boundaries

I have been able to load and display mapbox vector tiles in OL3 using a vectorTile source and a vectorTile layer. The problem with this approach is that labels will clip at the tile boundaries and ...
1
vote
2answers
1k views

Is it possible to catch ServiceException in OpenLayers?

I’m trying to catch exception in OpenLayers using vector layers in conjunction with the HTTP protocol, is it possible to intercept an ServiceException from GeoServer? ... it will be great to display ...
0
votes
2answers
2k views

Seeking Elevation Data for Scotland? [closed]

I have been searching for quality elevation data for the entire Scotland but I have not succeeded yet. Do you know where to get the data in Raster or Vector formats? Accuracy is very important as ...
0
votes
2answers
221 views

How to drag a point and then use savestrategy in OpenLayers

Im trying to use the wfs-t in openayers using the savestrategy. I have created a savestrategy and it works when I for example uses the DrawFeature Control to add a point. A new point is added to the ...
0
votes
1answer
456 views

get and change style property openlayers

i need to change the property of some style after its created, and i need to change it with knowing only the string of the property name. i am getting string like "fillColor" and value like "blue", ...
0
votes
2answers
4k views

How to scale/reduce my polygon without changing the central lat / long?

I am writing a VBA code to resize my polygon, I get a input as vector points (Shapefile). The code below resizes it as according to my scale factor but my central latitude and longitude are also ...
0
votes
2answers
898 views

Exporting layers from ArcGIS into PostGIS while preserving attributes such as color

I have managed to import/convert a KML into ArcGIS 10.0 (ArcMap) using the built-in conversion tools and now have a series of layers. Next, I export these layers to a PostGIS database using the ...
0
votes
1answer
408 views

ArcGIS Linear referencing tools duplicating records and erroneous measures

I am using LocateFeaturesAlongRoutes_lr, MakeRouteEventLayer_lr, and MakeRouteEventLayer_lr to combine three different overlays into one based on this question I asked month ago. The code is as follow:...
0
votes
1answer
298 views

Is QGIS Server working like this?

On CentOS 7 I have QGIS Server and QGIS Desktop installed. In QGIS Desktop I created a project with raster and vector data and saved it in a ".qgs" file. Then I copied the file in "/var/www/html/cgi-...
0
votes
1answer
77 views

Exporting as a vector image

I am trying to create a transit map with certain details such as landmarks and important centers for reference in it. I have mapped the lines and stops ion QGIS (2.16.2). The base map is Google ...
0
votes
0answers
126 views

Cropping elements from one layer to an element from another

I'm trying to make a hex map of a country (Russia, in this case). To do this, I've opened a map of Russia in QGIS (from Natural Earth), set up my projection, and created a hex grid with MMQGIS. So far,...
0
votes
1answer
94 views

Making two pen style in one vector file in QGIS?

I am working with QGIS and I have a vector file of the earth Latitude and longitude . I need to show the horizontal lines as a dash lines and the vertical as a solid line. I am sure that if I make to ...