Questions tagged [vector]

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

Filter by
Sorted by
Tagged with
5
votes
1answer
428 views

Creating a shapefile for footprint of raster's valid data areas with GDAL [duplicate]

I would like to show the borders of the areas of a given ASCII DTM file for which there is data. This problem has been discussed here previously but the recommended solution, the Image Boundary plugin ...
5
votes
1answer
1k 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 ...
5
votes
1answer
541 views

Convert Graphics to Vector in QGIS

I am wondering if there is a way to convert a graphic produced from symbology in QGIS to a vector layer (ie: shapefile). I have a point layer with bearing direction in the attribute table. Following ...
5
votes
1answer
2k views

How to export 2D vector graphic from ArcScene to Illustrator?

I need to know how to export 2d vector graphic from ArcScene so I can edit it with Adobe Illustrator. I've tried changing the options when I export 2D scene as AI file or PDF file, but they always ...
5
votes
1answer
2k views

Vector Building Footprint Resources - Tokyo

I typically know where to look for this data in the United States, but I'm at a loss when looking for building footprint shapefiles abroad. I thought I could find what I was looking for with Open ...
5
votes
2answers
10k views

Easy way to Create Vector Grid polygons?

We're currently using MapInfo & MapBasic to analyze daily tests results for planning purposes.For each test,exported result may contain empty values (say 999,we know Mapinfo has no NULL values),so ...
5
votes
1answer
2k views

How to draw or edit curved lines in free GIS?

I'm searching informations about drawing simple curved arrow lines into free GIS like QGIS, in this problem data geometry is CIRCULARSTRING ( a type which exists in latest postgis version) It seems ...
5
votes
0answers
54 views

Referencing an output in an expression in process modeler

In the process modeler, I'd like to reference an output of a previous step as one of the parameters of an algorithm. In this case, the previous step was clipping a large raster and I want to use the ...
5
votes
0answers
78 views

Assigning geometry to existing features in QGIS? [duplicate]

I have a point-shape-layer with existing features and an attribute table. But none of these features have a geometry yet(i.e. no points that are shown). How can I now add a point to each feature? ...
5
votes
1answer
3k views

Getting result in metric from QGIS Distance Matrix tool in QGIS? [closed]

I'm trying to calculate the distance between points in layer with distance matrix tool. And keep getting strange results no matter what. Like this MASTER ------------SLAVE ---------------- DISTANCE ...
5
votes
0answers
54 views

How are the edges of a polygon defined? [duplicate]

Possible Duplicate: Are long lines in shapefiles to be considered geodesics or straight lines in the 2D latlong space? In various representations, such as shapefiles and kml, polygons are defined ...
4
votes
1answer
493 views

How to make a vector layer with Hebrew caption in Qgis?

I am working in Qgis and need to make layers with Hebrew caption. When I make a new layer and write a word in Hebrew, in this case on a point vector layer that I made, it looks just fine. However, ...
4
votes
5answers
4k views

Merging DEMs or other raster datasets and clipping Raster dataset to vector line?

I have two DEMs that I am going create a hillshade from, and ultimately want one hillshade clipped to a county boundary. I am running into a couple problems, though. When I try to merge the two ...
4
votes
2answers
1k views

QGIS Real-Time Vector Layer Creation?

QGIS is running on my Windows PC. I have a CSV file on my PC that is remotely updated with values of a raspberry pi's GPS position and some wifi-status readings. Is it possible to create a vector ...
4
votes
2answers
176 views

Vector Layer group by properties

I brought in a vector shapefile with around a total of 20 different pressures. I want to make this vector into two different shapefiles. One for the property "Pressure" of lines that have under 20 ...
4
votes
2answers
802 views

Leaflet Vector Layers Not Rendering During FlyTo Animation

In version 1.0 of Leaflet, when using the FlyTo function as per this JSFiddle, is it possible to force vectors to render/ draw as the animation is happening? My current issue is when using the marker....
4
votes
3answers
200 views

Can you recycle shp and shx files in shapefile fishnet (vector grid) where only dbf data changes?

I'm periodically getting data from an external partner that is bound to a very large fishnet (vector grid) in shapefile format. The fishnet itself sits at around 400~ megabytes, but the only data that ...
4
votes
4answers
4k views

How to get vector data from OSM to use in QGIS? [duplicate]

How do I get data from OpenStreetMap which I can then edit in QGIS layer by layer? What is the best OSM output and what / how do I get to a suitable input for QGIS? OR...is there another approach to ...
4
votes
1answer
1k views

Create point and lines in QGIS 2.18?

I'm trying to do something very simple, to create points and lines in a new vector layer. With the 'Add Feature' button I can create polygons, but I can't find any tool to create points and/or lines. ...
4
votes
2answers
124 views

Getting 8 digit watersheds for USA

Is there an alternative source for 8-digit (vector shapefiles) US watersheds? The USDA link is down and they are not responsive to my query for getting the data: https://gdg.sc.egov.usda.gov/
4
votes
4answers
1k views

QGIS classifying vector data

I am trying to classify a shapefile based on rule set, following this tutorial. This is the result: What I want to ask is: 1. How to insert the classification result (water, land etc) into the ...
4
votes
5answers
4k views

How to sum raster image values with vector overlay

I'm new to this and haven't been able to figure out how to do this on my own. I have two files: a raster image of land use data and a vector-based shapefile of my territories. The raster image has ...
4
votes
5answers
993 views

How to save a raster and vector into a single PNG file in GRASS?

I am trying to save a raster and vector into a PNG file. The vector is overlayed on top of the raster map. I was only able to save the raster file into a png using r.out.png but without the vector.
4
votes
1answer
5k views

How to get all Vector layers from OpenLayers map?

OpenLayers.Map object exposes a method call getLayersByClass. How do I use this method to retrieve all of the Vector layers from the map? I tried map.getLayersByClass("Vector") but this returned an ...
4
votes
2answers
1k views

How to get the command line of QGIS algorithm “Merge vector layers”?

To insert this function to my program I want to know what is command line executed by the algorithm "Merge vector layers" using QGIS GUI.
4
votes
2answers
3k views

Drawing pie charts with vectors with OpenLayers?

Has any one got any examples of drawing pie charts with vectors as markers with OpenLayers?
4
votes
2answers
4k views

How to subtract Geometry Point Polygons in OpenLayers?

I have two json arrays, one for background polygon and one for other polygon. And from them, I got two polygon layers. backgroundLayer = new OpenLayers.Layer.Vector("Background Layer", {styleMap: ...
4
votes
1answer
71 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. ...
4
votes
2answers
495 views

Label rotation values in DXF imported into QGIS

When loading a dxf in QGIS, the line type files load in ok, however all text rotation values are lost when loaded into QGIS. This is most obvious when you load in OStext.dxf (please see grab_Mar.22....
4
votes
1answer
2k 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 ...
4
votes
2answers
5k views

How to unselect features in ONLY the current layer in QGIS?

How does one unselect features only from a certain layer? I know there's the Deselect features from ALL layers button. But that's extreme. Is there a simple way to unselect features ONLY from (say) ...
4
votes
1answer
1k views

How to find mean coordinates of a cluster of points from a point layer in QGIS?

I have a set of coordinate points. The points are distributed in such a way that some points are clustered around a specific area. There is an option to find out mean coordinates(s) of the whole point ...
4
votes
1answer
2k views

Why do layers appear in the wrong order in QGIS 2.2?

I have a problem with in which order my vector and raster layers appear in QGIS. I have raster that I want to be the background of my other layers (vector). I place the vector layers on top in the TOC,...
4
votes
2answers
1k views

Is there a vector affine transformation tool in QGIS2?

In QGIS 1.8, I can transform my point layer with the plugin "Affine transformation". So, this plugin don't exist in QGIS 2.0. Do you know a method to simply translate (i.e : X -> X+30000) in QGIS 2 ? ...
4
votes
3answers
1k views

How to subset X number of features from shapefile in QGIS

I'm looking for a means to take a rather large shapefile and split it out into separate, smaller shapefiles based on number of features. So for example, if I have a file with 1 million features, ...
4
votes
3answers
2k views

DXF to georeferenced SHP

I know how to set projection and georeference bounds of scanned TIFF file, by using gdal, but I don't know how to do the same for vector file. For example I georeferenced TIFF file by using this ...
4
votes
3answers
69 views

Counting number of polygons inside zone using QGIS?

I've seen a lot of questions about counting the number of points within a polygon but my question is I have 1 vector layer with polygons showing past landslides that have occurred and another 206 ...
4
votes
2answers
228 views

Creating building shadows in QGIS?

Can anyone think of a simple way to create a polygon to represent building shadows? I have a shapefile with height information for the buildings and I want to create a simple plan looking like the ...
4
votes
1answer
1k views

How to change layer symbology in QGIS 3 with QgsFeatureRendererV2?

I am updating a QGIS plugin from QGIS 2 to 3 and I am struggling with changing the layer symbology (a single symbol type for a line layer). I would like to have all lines in my layer to have the same ...
4
votes
1answer
173 views

Summing attributes of different shapes into another (height of contours + height of buildings)

I'm using QGIS 2.18. I need to calculate the height of the rooftop of each building in a neighborhood. I have a vector shape of the buildings, with the building height attribute (from the ground to ...
4
votes
1answer
93 views

Is it possible to export styled vector data as tif in QGIS without losing transparency?

I have vector point data which I have styled using svg images, see below with the globe in the background: And without: I want to export the image without the globe as a tif with transparency. The ...
4
votes
1answer
424 views

QGIS's “Points in Polygon” counts zero in every census tract

I am mapping the location of incidents of asthma using QGIS. I would like to count how many points are in census tracts to better understand the areas where asthma occurs most frequently. My map ...
4
votes
1answer
484 views

Simple way to compare ranges and distributions of species, looking for correlation and differences between ranges

As a biology student just beginning with GIS, wondered if someone could give me an idea of what tools to go about using to compare the range of 3 species that have trophic effects on one another. I ...
4
votes
5answers
20k views

Looking for annotated vector map of world?

I'm looking for an annotated vectorial (PS/SVG/...) map of the world (+countries). Wikipedia contains many vectorial maps (e.g: http://commons.wikimedia.org/wiki/Category:Blank_SVG_maps_of_the_world )...
4
votes
2answers
1k views

Stylized map workflow: Illustrator to Google Maps / OpenLayers

The aim My current aim is to create a series of (heavily) stylized diagrams and maps. I'm not very familiar with any GIS software, so my weapon of choice would be to use illustrator for creating the ...
4
votes
1answer
876 views

How to know contents of column names in GRASS?

I am using GRASS to extract a specific area from a vector map. Here is the script that I am running: v.extract PHL_map out=makati where="AREA_NAME = 'Makati" The problem is, I don't know what are ...
4
votes
2answers
1k views

Calculating spacing of polylines along transects using ArcPy?

I have a shapefile with a number of roughly parallel lines in it, and I want to calculate the spacing between these lines using a number of transects across the map. How should I go about this? I ...
4
votes
3answers
337 views

Enlarge/roughen the Vector Size of Tiles

I'm currently running a GeoServer service and my task is to make the vectors rougher than they are right now. I really don't know where and how GeoServer processes the data from the database and how ...
4
votes
1answer
51 views

Split 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 ...
4
votes
1answer
373 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 ...