Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
7 votes
1 answer
530 views

When moving a feature in QGIS, is there a way to nudge it rather than use the mouse?

I need to move a lot of features (polygons) in QGIS to fit a newly Georeferenced scanned map that is slightly asymmetrically distorted. This is fine as it is just to provide a print copy. I end up ...
Martin Hügi's user avatar
  • 3,532
7 votes
1 answer
3k views

QGIS Vector Toolbar Has No Tools

I am trying to use the Table Manager to rename a field in an attribute table. However, the Vector Toolbar in my install of QGIS 2.14.0-Essen 64-bit Windows shows a toolbar with no tools in it. The ...
Charlie White's user avatar
7 votes
2 answers
7k views

OpenLayers - Get features inside a polygon

In my OpenLayers map I allow users to draw an ad-hoc polygon vector. Then I need to get all the features from a WFS vector layer that fall within the ad-hoc polygon. Here is the code I have that ...
Todd Krueger's user avatar
7 votes
2 answers
9k views

Creating raster from point values

I have a raster whose pixel values are 0 or 1 (b/w areas in the image below) and data type is Float32. I made a point layer from each individual pixel's center. Then I made some calculation for all ...
Kadir Şahbaz's user avatar
7 votes
2 answers
1k views

OpenLayers how to maintain layer ordering while using SelectFeature control

I'd like my map to display a few layers in a particular order. Some of these layers are Vectors, others are XYZs, and some of my Vector layers display attribution. Initial layer ordering works fine ...
sfletche's user avatar
  • 1,186
7 votes
2 answers
1k views

How to remove long linear strips from polygons?

I have a polygon layer representing impervious land cover. This was taken from a land cover raster dataset. The impervious data represents all impervious surface that is not buildings or roads. I ...
Brian's user avatar
  • 4,199
6 votes
4 answers
7k views

Checking if polygon fits inside another polygon using ArcGIS Desktop?

How do I check if one polygon fits inside another polygon? Furthermore how do I automatically check if one polygon fits in other polygons of my shapefile? I have a shapefile with thousands of ...
GeoDH's user avatar
  • 71
6 votes
1 answer
1k views

How to determine optimal windmill placement to maximize production?

How can I add automatically the maximum number of points (dots) with 6m diameter and 100m distance each point from other into an area. The dots will present the windmill base (6m) and I want the ...
Stelios's user avatar
  • 99
6 votes
3 answers
751 views

Calculating buffer distance for different groups of parallel lines in QGIS

I have a number of parallel lines (see here for the background: How to extend lines to Bounding Box in QGIS?). My final aim is to create the Centerline for each group of lines as illustrated here: ...
HansrajR's user avatar
  • 537
6 votes
2 answers
9k views

How to clear attribute columns from a Shapefile?

I want to clear all columns from a SHP. Only need geometry of features. I use QGIS and Sextante with grass and saga. Is there any tool for this job...
mete7's user avatar
  • 607
6 votes
2 answers
2k views

Spatial query of raster data using QGIS

I have population distribution data as a raster layer and exposure contours as vector (polygon) layers. What I'd like to do is use the vector layer to estimate the population indicated from the raster ...
Dan's user avatar
  • 681
6 votes
1 answer
3k views

Seeking European City boundary data?

Does anyone know any sources for free European city boundary data?
Brian Landes's user avatar
6 votes
2 answers
6k views

Converting points to lines with Python GDAL

I have a dictionary with points. The points are derived from a raster (see image below). The points are not sorted and are not in order. The dictionary looks for example like this: pointDict = {0: (...
ustroetz's user avatar
  • 7,904
6 votes
2 answers
1k views

Does an openlayers vector layer work across browsers?

I was under the impression that it was. Here is my example: <html lang='en'> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>GeoRSS</...
glw's user avatar
  • 155
6 votes
2 answers
879 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 ...
Jon McLaughlin's user avatar
6 votes
2 answers
539 views

Showing nested polygons in QGIS?

I am working with QGIS and in particular with river basins. If you see my picture below, each label shows a particular basin but actually only the biggest is shown (because I think its area covers ...
2801001's user avatar
  • 183
6 votes
2 answers
3k views

How/Where can I find vector data for building footprints in Texas?

I've done a lot of research on this topic over the past 8 or 9 months, but I'm a GIS newb, so I may have overlooked some possibilities for finding/extracting this data. A short list of resources I ...
tex's user avatar
  • 163
6 votes
2 answers
470 views

Merging layers of certain geometry type only in QGIS

I have nearly a thousand layers of geospatial data consisting only of Point layers and Line Layers and I just want to make it so that I only have one layer for each type. Is there a way to filter to ...
user2552108's user avatar
6 votes
1 answer
515 views

Splitting vector layer in R

Is there a way to replicate the Split Vector Layer function from QGIS in R? I have a Shapefile containing around 20 polygons that I'd like to split into 20 separate files. I guess since it's in ...
Cowcross's user avatar
6 votes
2 answers
1k views

Splitting polygon using another polygon in QGIS?

I have two polygon layers (yellow and orange in the attached image). I am wondering if there is a way to get a count of the number of isolated areas that the orange polygon has divided the yellow ...
Evan's user avatar
  • 173
6 votes
2 answers
566 views

Finding format/type of the vector geometry

Does anybody know what format is the following element? 01000000804AE9B78F8F0D416258AE25F8E45141 It looks like WKB or PostGIS geometry/geography but I didn't manage to convert it. It has to be point ...
Lyubomir Klyambarski's user avatar
6 votes
2 answers
25k views

How to edit an existing layer using leaflet?

I am used to working with OL3 and I wanted to try using leaflet and see if it is as powerful as OL. I loaded a map with some data from a GeoServer WFS layer using this tutorial from Georepublic. var ...
Hicham Zouarhi's user avatar
6 votes
1 answer
4k views

Automatically updating user-edited features in QGIS plugin

I am working on a plugin for QGIS (2.12). It uses data stored in an Spatialite database. When the user creates a new feature, the plugin should: update the feature attribute table (the popup form ...
Dr John A Stevenson's user avatar
6 votes
2 answers
5k views

Splitting lines at a specified distance

Does exist some plugin with it is possible to Splitting lines at a specified distance in Qgis?
Jan's user avatar
  • 81
6 votes
3 answers
2k views

Checking whether layer is vector or not in OpenLayers 2?

How do I dynamically check whether a layer object belongs to the OpenLayers.Layer.Vector class?
Simon's user avatar
  • 1,197
6 votes
3 answers
400 views

Calculating proportional area of polygon covered by circle [closed]

I have two layers here (ignore the green layer), blue polygons and black circles. I want to calculate for each circle, what percent of the each of the blue polygons does it cover. For example, the ...
Ben Hendel's user avatar
6 votes
1 answer
4k views

Vector layer does not appear with OpenLayers

When I import the vector it simply does not show in the map. I tried with a raster and it worked fine. I tried now with both KML and GeoJSON and the same thing happen, I can see that it loaded in the ...
leonardofmed's user avatar
6 votes
2 answers
1k views

Calculating average raster to point distances within census tracts

I have some experience using ArcGIS, but mostly with the field calculator in the attribute table/spatial joins, so I apologize if I say something that doesn't make sense. To provide a bit of ...
user3642531's user avatar
6 votes
1 answer
5k views

Creating new vector layer that fills space between other polygons in QGIS

I inherited a clipped (500m radius) land cover map containing vector layers of different land cover categories such as buildings, grass, roads, etc from a colleague. The empty (white) space in the ...
lhmv's user avatar
  • 135
6 votes
1 answer
408 views

Fast data representation on the vector layers

I have found an interesting article about how HTML5 supports representation on large datasets. Article can be found here. In the article it is said that HTML5 and feature simplification can ...
Dmitri's user avatar
  • 517
6 votes
3 answers
4k views

fTools-Error: "...invalid geometry..."

I want to intersect contours with polygon like in the image below. But I got this error: Warnings: GEOS geoprocessing error: One or more input features have invalid geometry. Some output geometries ...
MartinMap's user avatar
  • 8,137
6 votes
1 answer
113 views

Restricting the creation of lines for network creation in QGIS: start/end vertices must snap to existing vertices

My interest lies in network creation, however, knowing how to do that in general would be a plus. How is it possible to prevent a user from creating a line (line vector) without connecting it ...
Victor's user avatar
  • 1,852
6 votes
1 answer
3k views

Representing overlapping polylines in QGIS

I have several shapefiles representing bus lines with different colors for each segment, however, because the lines are exactly superposed, only the shapefile on top can be seen. Is there a way to ...
David Moy de Vitry's user avatar
6 votes
1 answer
2k 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. ...
Robert Buckley's user avatar
6 votes
2 answers
1k views

Density map of pedestrian paths and footways in QGIS

I need to identify public places within pedestrian areas in London, so I need to calculate the density of both pedestrian links and footways. I have classified my data according to the categorization ...
Pinutz's user avatar
  • 61
6 votes
1 answer
2k views

Zonal statistics per raster category in QGIS?

I have a raster layer of land use and a vector layer of areas of interest. I would like to calculate for each polygon (areas of interest) the proportion or number of cells of the raster, for each ...
Victor Cazalis's user avatar
6 votes
1 answer
3k views

How to compare two sets of points in QGIS?

I have two point layers with XYZ data; one set are points measured in the field and the second set is a Lidar data set. I want to check the accuracy of the Lidar in comparison to the measured data. ...
H.Wiener's user avatar
  • 999
6 votes
1 answer
11k views

QGIS to Illustrator: file cannot be opened because there is not enough RAM

I am having trouble getting my files to transfer or export to a vector file. When I open the file in Adobe illustrator there is a lot of information missing. I have tried to "save selection as a ...
Jeff Israel's user avatar
6 votes
1 answer
7k views

Sketch event in Openlayers 3 drawing interaction

For drawing Polygon in OpenLayers 2 we could use as follow: function drawEnd(){ ... } function putPoint(){ ... } function sketchModified(){ ... } function cancel(){ ... } var ...
Morteza Malvandi's user avatar
6 votes
1 answer
786 views

OpenLayers Only draw features in a vector layer within view

I am dealing with a kml that I am importing into openlayers as a vector layer. This kml has many features so it dramatically slows down the web app. I would like to make it so only the features within ...
Connor Southwell's user avatar
6 votes
1 answer
1k views

How to emulate a specific vector grid in QGIS?

I would like to analyze data included in a pdf file. The file contains information on characteristics of 16km grid cells for a specific study area. The file also includes a map displaying the grid. I ...
Alex's user avatar
  • 61
6 votes
1 answer
181 views

How to use FactoQGIS for Typological Analysis Principal Components Analysis (PCA) for vector features in QGIS?

How to use FactoQGIS for Typological Analysis Principal Components Analysis (PCA) for vector features in QGIS? I have a shapefile of polygons as in the following image: Both visually and as ...
HansrajR's user avatar
  • 537
6 votes
1 answer
100 views

Batch create multiple buffers with variable size around point

For a statistical analysis, I need to calculate some landscape properties in several (rectangular) sample areas, which vary in size (extent ranging from 10 by 10 to 500 by 500). These sample areas are ...
Steven Meeus's user avatar
6 votes
3 answers
265 views

Fixing self-connect polygon in QGIS

In QGIS 3.2 I'm trying to clip a soil map layer and am getting invalid geometry that affects my clip result. The problem appears to be a self-intersecting polygon. I've tried using the 'check ...
Werafa's user avatar
  • 138
6 votes
1 answer
2k views

Removing some bands or layers from a tiff using gdal

I have been working on a multiband raster image. It is a pix image. I need to just work on the 26 bands that are raster files and not the 4 bitmaps that are are also included in the pix image. I could ...
abhinav sharma's user avatar
6 votes
1 answer
372 views

Assigning costs to a road network : use raster or vector?

I have a road network in a PostGis database (db_routing). In another database (db_environment), I have some spatial features of the surrounding environment (trees as points and water bodies as ...
FredB's user avatar
  • 731
5 votes
3 answers
3k views

Is raster lossy and vector not lossy?

I am new to GIS, in school for it actually, but I come from a photography / graphic design background. So that said, I always thought that vector graphics were not lossy (scale up or down, doesn't ...
wardr's user avatar
  • 151
5 votes
1 answer
692 views

What is this UK coordinate system?

I received a dataset of Merseyside area (corresponding to the metropolitan area of Liverpool, United Kingdom, broadly defined) where the location coordinates are totally a mystery to me, and ...
user154682's user avatar
5 votes
2 answers
10k views

Reclass for vector data in ArcGIS Desktop?

I've got a vector dataset (in fact, OS MasterMap data) and I want to set the value of a certain field based on the value of another field. For example: Field1 Field2 Building 20 Grass ...
robintw's user avatar
  • 3,966
5 votes
8 answers
2k views

Any Good Map Rendering Engines for SqlGeometry/SqlGeography

Can anyone suggest good map rendering engines for MS SQL Server Spatial types (SqlGeometry/SqlGeography)? By rendering, I mean plot the geometries to a common image format such as png or jpeg with ...
user890's user avatar
  • 5,681

1 2 3
4
5
38