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

learn more… | top users | synonyms (1)

2
votes
0answers
15 views

Finding vectors with wrong direction in river network

I have a shapefile containing network of rivers for the whole country. The description of the layer is saying that orientation of the vector should be the same as the river flow. This is true for most ...
4
votes
1answer
81 views

How to load multiple vector layers into QGIS' map canvas using python scripting?

I am trying to write a standalone script in python to create a QGIS map canvas. The vector layers I am attempting to load are Shapefiles. Currently, I am able to load each vector layer, add them to ...
0
votes
1answer
2k views

Draw order (zIndex) of OpenLayers polygons and points in the same layer

My question is similar but slightly different from this one: http://stackoverflow.com/questions/5003349/openlayers-vector-features-z-indexing I have an OpenLayers Vector layer which contains polygons ...
1
vote
0answers
127 views

Calculating vector area in QGIS? [closed]

I have calculated a viewshed (ZVI) in OpenWind and opened the raster in QGIS I have then converted the raster to a vector When I open the attribute table there are 4682 rows (features) and there is ...
4
votes
4answers
2k 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 ...
2
votes
1answer
68 views

How to convert raster (big size) to points?

I have a raster : population density of Ivory Coast. I need to convert it to points, but I met several problems because of the size I think. Here is what I tried : 1) GRASS GIS 7 command : r.to....
1
vote
0answers
17 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
1answer
29 views

Rasterize points in a map : result is not leasible. How to make the raster (points) bigger?

I have a vector layer (points) that I rasterized based on one attribute of the vector layer. I chose the GRASS GIS 7 command : v.to.rast.attribute. The raster layer appears in the map, but is not very ...
1
vote
1answer
29 views

Using nested geometric functions in ECQL queries in GeoServer

When doing a WFS Get Feature request, I am using the cql_filter option to do some more advanced spatial filtering/quering. I am looking for the centroids of the polygons in a database that intersect ...
1
vote
0answers
11 views

QGIS - snapping points onto lines [duplicate]

I have two layers, one is point layer and other one is a line layer. I want the point features to snap on to the lines, but the points are away from the lines. Is there any way to move the points onto ...
1
vote
1answer
13 views

Sum habitat type within region using MapInfo?

I have two layers; one shows admin regions and the other shows habitats within those regions with columns for specific attributes and the corresponding area in hectares. I need to work out the total ...
1
vote
0answers
25 views

QGIS Lost precision when converting raster to vector

I am after running ordinary kriging, converting raster to vector I lose decimal value and only get whole number. I have added first the raster then the vector image.
1
vote
1answer
75 views

How do I fill a Field Combo Box with vector layer fields in QGIS?

I am new to python and I am trying to write my first plugin for QGIS. Earlier I asked this question to find out how I could populate a combobox with point vector layers (and nothing else). I've been ...
1
vote
1answer
36 views

Move feature(s) causes points to be duplicated in QGIS 2.8.9

I have a point shapefile in QGIS where I am manually adjusting some of the points due to overlap. I am using Toggle editing --> Move feature(s) --> Save for all layers. Instead of moving the points ...
3
votes
2answers
10k views

How to clip a line layer based on polygons with QGIS?

I have a line layer and a polygon layer. Both files have the same SRS. I want in a new shape file only the lines covered by the polygons. I tried in QGIS the Vector -> Geoprocessing -> Clip ...
3
votes
2answers
63 views

Using Buffer tool in QGIS?

I am using the Buffer tool in QGIS to put a 30 Meter buffer around a number of points. When I do this the buffer ends up taking over the entire map. enter image description here
14
votes
4answers
11k views

How to move vectors to specified coordinates in QGIS?

I have a layer of vectors located around, say, (100, 100), and I want to move them to new coordinate like (1000, 1000). How should I do it? Preferably using QGIS.
3
votes
1answer
62 views

How do I fill a combobox in QGIS with only points vector layers?

I'm new to writing plugins in python for QGIS. I've been searching on internet for a while and wrote the code below. Even though it fills my combobox, all layers (rasters, vectors of all geometry ...
3
votes
2answers
1k views

Drawing pie charts with vectors on OpenLayers?

Is anyone got any examples of drawing pie charts with vectors as markers on OpenLayers ? Cheers,
1
vote
0answers
35 views

problem in veiwing 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 ...
2
votes
1answer
2k views

How to deactivate Vector Selection In OpenLayers wms features

This is my sample code and work fine :), But I have a little problem, I'm using multiple layers (WMS), when I zoom the layer will be shown or hidden. In my example bellow when OpenLayers level zoom ...
3
votes
0answers
15 views

Snapping vectors to vertices for ROI delineation?

I am trying to manually extract a set of ROIs in ENVI 5.0. However, I can't seem to successfully line up the vector to be flush with the boundary of the pixels, which means I don't have fine-tune ...
0
votes
1answer
316 views

Geomedia WebMap WFS to vector marker layer in Openlayers

Looking for minimal example/advice on getting a WFS service to show up as a vector layer with markers/icons in Openlayers map. I have created the WFS service in Geomedia WebMap 6.01.11.19 and the ...
1
vote
2answers
1k views

OpenLayers vector does not draw (or re-draw) on zoom level change or layerswitcher off/on

Here is the full code (i'll highlight the important parts after): jQuery(document).ready(function($) { // =============================================================================================...
0
votes
0answers
22 views

ESRI Javascript API 3.16 with vector mbtiles file

We have a working WMTS variant with TileStrata and MapProxy, but the new mbtiles are not supported (styling incorrect). Also we have klokantech/tileserver-gl server part running now with correct ...
1
vote
1answer
220 views

Vector Click Event is not working

Actually I figured out some problems and corrected it. I declared the overlay just outside the init function. So now I got the 'featureselected' event working properly. But 'featureunselected' event ...
0
votes
0answers
29 views

Generate points layer at line intersection

I have a line layer that is actually buffer polygons converted to a line layer. I would like to generate points at all places where 3 or more lines intersect. I would settle for places where 2 or more ...
1
vote
1answer
105 views

How can I add vector tiles to my tileserver?

I created my own tileserver under ubuntu 12.04 as described here: http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ now I want to serve the tiles as vectors, I found this: ...
4
votes
0answers
92 views

Import Vector data to QGIS from pdf and apply georeference

I am Using QGIS 2.14. I have a pdf created by Mapinfo, it contains multiple layers of vector data that I can open as separate vector layers in qgis. However no map projection data was saved to the pdf....
2
votes
0answers
111 views

Connect two contour lines with calculated line length

Is it possible to make a plugin for QGIS like PEGGER for arcview 3.2? Problem is, how to make path over contour lines with a gradient in percent? Formula is: K= e*100/G*M ; K=10*100/0.08*10000=1.25m ...
4
votes
4answers
1k views

Checking if polygon fits inside another polygon using ArcGIS or QGIS?

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 ...
1
vote
2answers
198 views

Where do I get Elevation Data for Scotland?

So I am new here and I arrived here because I have been searching for quality elevation data for the entire Scotland but I have not succeeded yet. Kindly help if you know where to get the data Raster ...
0
votes
1answer
120 views

OpenLayers 3: does not display all Features of Layer

I'm using openlayers 3 and geoserver. I want to get and display a wfs layer with openlayers. this is source of my layer: vectorSource = new ol.source.Vector({ format: new ol.format....
3
votes
1answer
62 views

How can I merge two adjacent polygons which borders are not touching each other

I want to merge adjacent single polygons which are apart from each other. Important note: I cannot use ArcGIS, I need to do this programatically, in any language (R, Python, Ruby, PostGIS) doesn't ...
1
vote
0answers
24 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
24 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 ...
3
votes
1answer
35 views

List group of line segments that are not connected to any other lines

In the image below, the system of lines includes 6 segments. This connectivity gives the appearance of an "island" as the internal segments are connected to each other and are not to the outside world....
0
votes
0answers
15 views

Loading Data into Vector Layer Polygon

My first layer is a map. My second layer consists of points: bars with GPS coordinates (.cvs file). My third layer consists polygons, creating different area's for the bars. So, the points of the ...
1
vote
2answers
29 views

How to export vector file in GrassGIS to QGIS

I am using GrassGIS to analyze watershed. I created a stream vector extracted from raster elevation data, how to extract the stream vector file so I can open it using QGIS?
1
vote
1answer
9 views

MapServer square symbol composed of 4 internal squares

I need to create simple square symbol composed of 4 internal squares. SYMBOL NAME 'SQUARE_TL' TYPE vector FILLED true POINTS 0 0 0 0.5 0.5 0.5 0.5 0 ...
58
votes
7answers
2k views

Are there any attempts to replace the shapefile?

Recently I've been spending a lot of time converting perfectly good field names like "Percent of citizens age 25 and over with a bachelor's degree or higher" into things like "edbchogtr" to meet the ...
0
votes
0answers
29 views

Create a grid over shapefile then save each section into GeoTIFF

I have a massive shapefile with 200,000+ building polygons. I've loaded these up in ArcGIS. I need to convert this into a usable raster (GeoTIFF) that can then be tiled using MapTiler. My current ...
3
votes
3answers
62 views

Projection offset between layers: OSM, GeoJSON

Don't know why there is an offset: The coordinates of the points that appear on the example were gotten through google's geocoder from some Rosario, Argentina directions. I have checked the lats and ...
2
votes
2answers
242 views

Is there anywhere that I can obtain global UV data in either raster or vector format?

I'm looking for some UV data (currently with no spatial or temporal resolutions in mind, but ideally split into UV-A and UV-B) for the whole earth. Can anyone recommend a source for data like this or ...
0
votes
2answers
161 views

QGIS 2.10, csv points to vector grid

I have a series of point data from a .csv file that I would like to display as a heatmap raster, the .csv data have various attributes with them and I would like to adjust the color ramp based on ...
0
votes
0answers
38 views

TrueType Font Mapping for Symbols in QGIS? [duplicate]

Point object layers include Letters (fonts) that should map to a TTF symbol from the attached TTF file.I need help to setting up the TTF mappings for symbology please. I know we can create new symbol ...
4
votes
3answers
11k views

Hover/Popup feature problem

im really having an issue here. I am trying to realise a map where i can hover over the features and they get highlighted (works), then i want to be able to click them (works) , i also want a div to ...
1
vote
1answer
16 views

QGIS, Calculate networks first, diameters second

I need to get the following task done: First, various points (stored in a shapefile, identified by a common attribute) need to be put into relation with each other (see graphical scheme, steps 1 and 2)...
3
votes
2answers
55 views

Cannot load vectorlayer PyQgis

I am having a hard time loading a vectorlayer from the console. Not from the Pythonconsole within QGIS, but from the console on my computer. I later want to write a standalone script! That is what I ...