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

learn more… | top users | synonyms (1)

3
votes
2answers
370 views

Is it possible to add house numbers using the Mapbox Street Vector Tiles source in Tilemill2?

Title says it all. Does anyony know if the house number is included in Mapbox’ vector tiles, and if so how to access it for styling? Thanks for any advice!
3
votes
1answer
889 views

Creating a radius of influence around points

I have a vector file of points. What I need to do is create a circle with a radius of 12km round each point. Would it be possible to then find out what percentage of my total map is covered with ...
3
votes
2answers
1k views

Creating seperate layers out of one big polygon shape by using attributes

I try to explain may problem. I have a big polygon shape (> 200 fields). I have the owners of these fields in a column. I need the seperated shapes for each owner. Is there a tool to do that? Is it ...
3
votes
2answers
3k 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: ...
3
votes
2answers
127 views

Obtaining OS MasterMap time series data

I am trying to do a research project on changes in Land Cover in a London borough over time. I have access to OS MasterMap data through Digimap (the service that provides this data to universities in ...
3
votes
2answers
88 views

How to remove parts of raster layer with QGIS (equivalent of difference tool but for raster)?

I'm trying to get the difference between two raster layers the same way we can do it with the difference tool with vector layers. I'm using QGIS 2.14. Anyone has already done that and can tell me how ...
3
votes
2answers
253 views

Can't export customer's shapefile to latitude and longitude

I'm very new to this application so bear with me. I hope that I am missing something very elementary. I have a shapefile supplied by my customer. I need to get the latitude and longitude for each ...
3
votes
2answers
337 views

Merging raster and vector not working

I have 1 vector layer (counties) and 1 raster layer (population density). I have tried merging these two, so that I can examine population density within a county, but I have had no luck. It just ...
3
votes
2answers
120 views

vector layer, no more editing is allowed

I have a polygon vector layer with already 529 objects but without any attributes so far and now I get the message that shapefiles without attributes are treated as write protected. What can I do to ...
3
votes
2answers
590 views

How to set the color of a feature depending on attributes with PyQGIS?

I'm trying to set the color of a vectorlayer feature depending on the feature attributes with PyQGIS. How do you acces the attributes of a vectorlayer feature?
3
votes
1answer
290 views

Halo in OpenLayers (Line, Vector)

How to make a halo around the line of one pixel? For example, line (vector) hase blue color and its frame (one pixel) the black color. Thanks!
3
votes
1answer
7k views

Add feature manually to a vector layer in ol3

I'm trying to add a layer manually to a vector layer with javascript. I can't seem to determine why this is failing: http://jsfiddle.net/Kieveli/f4t6n6v1/4/ I've tried sane coordinates like 16,22, ...
3
votes
1answer
766 views

Save map in raster format from QGIS using compression

Is there a method to save a map in raster format from QGIS using compression? For exemple from "Export map" in ArcGIS there are many options to compress the images depending on the file type (tiff, ...
3
votes
2answers
292 views

Interpolation on set of points in QGIS

Is it possible to perform Interpolation in QGIS with input as a vector layer which has a set of points collected following a specified path?
3
votes
1answer
124 views

How to change the color of vector layer of QGIS in api?

I'm using QGIS-2.4.0 api to develop app in C++. When I add a vector layer to the app, the vector map's color would be random. I used QgsFeatureRendererV2 to get the geometry type of the layer, my ...
3
votes
1answer
136 views

Calculating distances from points to the centre of cells

I am using QGIS 1.8.0 (using older version because I need the Qmarxan plugin which is not available for 2.4.0). I have a study area that has a vector laying of "planning units", or cells over the top ...
3
votes
1answer
335 views

Show alternating contour lines

Is it possible to show only every other counture line? And how do you do that? (Im new to QGIS Lisboa 1.8.0, but even newer to QGIS Dufour 2.0.1, but have used ArcGIS a bit a while ago, and also ...
3
votes
4answers
1k views

High resolution and high detail vector GIS coastline product needed

What is the absolute best vector GIS coastline product available globally? I know of a great product for Africa (page 13 of this PDF ...
3
votes
1answer
227 views

Converting map image to GIS

I’m very new to GIS, and I’ve been reading a lot of manuals and information, but I thought I’d ask a couple of questions here. One of my major hobbies is drawing maps of a completely imaginary ...
3
votes
3answers
229 views

How can I draw squares in PostGIS layers at different angles?

I am trying to draw two squares on a 45-degree angle and then merge them using PostGIS to edit. QGIS can draw squares but only on a perpendicular plane (eg, 0, 90, 180), and I need to be able to draw ...
3
votes
1answer
445 views

MapServer Symbol with Two Colours

I'd like to symbolise a point dataset with a square (or circle) using two colours. This is useful for displaying values collected on both sides of a road (for example). I created two symbols, a ...
3
votes
1answer
590 views

Measurement units not returned in project CRS units

I am attempting to calculate area of country polygons using the field calculator. The layer in question is unprojected WGS84, but I have set the project CRS to World Equidistant Cylindrical ...
3
votes
3answers
834 views

How do I draw on a vector map in GRASS?

I have a vector map that has two lines. I want to have the two connected. Is there a way for me to draw a line to connect the two? I am using GRASS gis by the way. The two lines that I want to connect ...
3
votes
1answer
65 views

Why is QGIS only one label rendering at a time?

I'm new to QGIS, but I'm experiencing what I think is a bug. When I load the qgis_sample_data landcover raster and lakes vector layers, then enable labels for NAMES on that layer, I can only ever ...
3
votes
1answer
340 views

How to reproject all the vector files in a folder to a particular projection using ogr2ogr?

We have a folder with all sorts of vector files like tab,shp,dxf. Many of the files are in different projection. I would like to convert all the files to EPSG: 4326 and eventually the non-shapefiles ...
3
votes
1answer
336 views

D3 missing zoom Choropleth + Raster

Following this example and Choropleth from Mike's site I am trying to get: image + vector + choropleth = my map As you can see I lost the zoom capability on the vector layer. I have been trying ...
3
votes
3answers
190 views

Plotting Geo Points with “by arc centered at” Instructions

A recent Supreme Court decision redefined the legal boundaries of California along the Pacific Ocean: http://www.theverge.com/tldr/2014/12/15/7397085/supreme-court-california-boundaries-map I am ...
3
votes
2answers
137 views

Pyqgis How to merge all the active layers? or layers in the registry?

I was wondering if there is a way to merge multiple layers. I actually would like to merge all layers in the registry programmatically, all of them are point layers and have the same fields. I have ...
3
votes
1answer
356 views

Where to get the modern Constellations as a vector File?

Does anyone know where I can get a vector version (shapefile/TAB) of the modern star constellations for the entire sky? Wikipedia has a SVG - ...
3
votes
1answer
160 views

Add more info in the attribute table after executing “Line intersection” in QGIS

I have executed the "Line intersection" tool on a road shapefile. This is under Vector > Analysis Tools > Line intersections. I get an output with attribute table having just two columns: type_1 ...
3
votes
1answer
652 views

Openlayers vector layer don't draw well on chrome (single tile)

I have singleTiled layer in OL (using chrome). The layer don't draw completely unless I pan the map slowly to the south (here is example how the layer keep drawing itself each time I pan) : ...
3
votes
2answers
634 views

How to calculate distances between addresses and cities and coast line?

I am totally new to GIS, and so I apologize if my question is not clear enough. My basic problem is the following: I have about 160,000 Danish addresses with longitude and latitude for each address. ...
3
votes
1answer
214 views

How to calculate the percentage of a Line through Polygons?

I have a straight line which runs through a bunch of polygons, which don't have spacing between them (border to border). Is there an easy way with QGIS to calculate which polygons it passes and by ...
3
votes
1answer
1k views

adding polygon to database in openlayers

I want to add a polygon to the database. I used the following code. The problem is that I am to able to save in database. Whatever polygon I draw on map it gets save temporary and as soon as I reload ...
3
votes
2answers
228 views

Dissolve column based on attribute in another column

I have 3 columns within a polygon layer I'm working with. Column 1 = Landowner, 3 different values Column 2 = Parcel, N different values Column 3 = Management type, 5 different values I would like ...
3
votes
1answer
504 views

How to access the icon of a feature retrieved from text in a vector-layer?

I`m using OpenLayers to show POIs on a map. These POIs are loaded from a textfile and I`m using a Vector Layer to get it onto the map - works great. Now I want to use the cluster strategy to have ...
3
votes
2answers
2k views

How to query which features of all vector layers intersect with a given bounds?

I am writing a Openlayers map app, and wondering whether there's a better practice to query which features of which vector layers intersect with a given bounds.. It's certainly not a good idea to ...
3
votes
1answer
964 views

Why is Openlayers KML-layer undefined when using permalink

I am working on Openlayers to dynamically load KML tracks on map. I want it to load filtered KML everytime map is moved or zoomed based on viewport and zoom level. I got it working with code below, ...
3
votes
2answers
545 views

Assigning RouteIDs to polyline feature class in ArcGIS Linear referencing?

I have a Linear Referencing Route System in ArcGIS Geodatabase format (polylines with M values) and a separate polyline feature class of short segments (called TMC) that do not have RouteIds ...
3
votes
1answer
1k views

Openlayers Add features performance for 3000 lines

We would like to implement the function of Addfeature in openlayers to draw lines and push them onto a vector layer, and overlay this layer onto open street map or google map. Those lines are draw ...
3
votes
1answer
4k views

Reproject a vector layer (EPSG:27700) using WFS onto a googlemaps background (EPSG:900913)

I have the following HTML-javascript code and i have problems reprojecting the vector layer (WFS) from EPSG:27700 (British National Grid) to EPSG:900913 (googlemaps). I managed to project the WMS ...
3
votes
3answers
41 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 ...
3
votes
1answer
51 views

Polygon made by colour difference

I need to analyze differences (historical) in coverage of some species (seagrass Posidonia). Although its a marine species, subject area is very shallow and even from common satellite and aerial ...
3
votes
2answers
44 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 ...
3
votes
1answer
45 views

Land use change detection with large amount of vector files

Im doing a project where I'm creating a map that shows how land use changed from 1990-2000 for the city of Minneapolis. I have three files, one of the cities boundaries, one with the land use of the ...
3
votes
2answers
56 views

How to make a line shapefile converted from a gpx track file display over basemaps such as OpenStreetMap?

I have created a line shapefile from a Garmin gpx track file using QGIS 1.12.3 Lyon. Resultant vector file displays properly with other vector shapefiles. Problem is that created vector file (line ...
3
votes
1answer
34 views

How to combine 2 vector shapes created from raster files

In Qgis 2.12 Lyon, using windows 10 I downloaded 2 raster files from an area of my interest. The rasters were on information about precipitation and evapotranspiration. Each cell had a value. I ...
3
votes
1answer
50 views

Vector differencing fails in QGIS (due to geometric errors)

I was trying to correct the country shapefile of Uzbekistan for Gas flares: Input layer (the UZB_adm1) differenced by this layer. In QGIS the result was that the overlapping regions - where the ...
3
votes
1answer
101 views

How to ‘invert’ or ‘reverse’ a vector cutline when gdalwarp'ing a raster?

I have a raster of North America and I'd like to remove the larger lakes from it, replacing them with the same no-data value as the original raster. So I downloaded Natural Earth's 10 meter lakes ...
3
votes
1answer
117 views

Why can't I clip my Shapefile?

I've tried all of these solutions (How to clip a line layer based on polygons with QGIS?) and still cant clip a shp file. I'm trying to create a coastal shp file for one region (NW France) from a ...