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

learn more… | top users | synonyms (1)

3
votes
2answers
174 views

restrict quantity of features displayed with OpenLayers

I have 14000 point vector features in the map. Displaying them all is very slow (renders at like 1 fps in chrome). How can I tell Openlayers to only display a subset of them, for example features ...
3
votes
1answer
199 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
512 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
1answer
2k 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 ...
3
votes
2answers
114 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
1answer
85 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 ...
3
votes
2answers
86 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
192 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
3answers
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. Here's what I want to do ... I have two files: a raster image of land use data and a vector-based shapefile of my ...
3
votes
2answers
104 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
1answer
223 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
2answers
2k 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
109 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
44 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
79 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
2answers
557 views

Split Lines at Intersection of Other Lines

I have two line layers (roads and contours in this example) and I would like to split the roads layer every time it crosses/intersects a feature on the contour layer. I can't seem to find a tool that ...
3
votes
1answer
233 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
314 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
175 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
2answers
562 views

Overlay Vector Layer on Raster Layer

How can I overlay a Vector Layer on a Raster Layer and assign NoData Values on the Raster where the Vector Layer does not cover the Raster Layer? (preferable with ArcGIS)
3
votes
1answer
1k views

How to convert shapefile to vector emf?

I want to convert a shapefile to an EMF file. The EMF file must be a vector image, not a raster image. Please suggest to me some good packages or tools. Thanks in advance.
3
votes
3answers
704 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 ...
3
votes
3answers
207 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
385 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
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 ...
3
votes
3answers
706 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
2answers
1k views

Working With Vector Product Format (VPF) - APIs, etc

I've been looking around the Internet for information about Vector Product Format. I want to put together a project that can read Digital Nautical Chart (http://msi.nga.mil/NGAPortal/DNC.portal), ...
3
votes
1answer
57 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
1answer
77 views

Comparison of vector file formats

Does anyone know of a chart or table that would explain the benefits / shortcomings of the different vector file formats, eg. .shp, .gml, .kml, .gdb. It seems that ESRI shape is still quite prolific, ...
3
votes
1answer
153 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
99 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
143 views

How to horizontally align irregularly shaped point symbol to vector layer in QGIS?

Fairly new to QGIS and searching a method to graphically align my point symbols in the direction of the vector. The symbol represents a water valve in an irregular shape in close proximity to a vector ...
3
votes
2answers
351 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
160 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
813 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
1answer
309 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
2answers
169 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
412 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
1answer
865 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
460 views

Linear referencing: Assigning RouteIds to polyline feature class

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
3k 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
106 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
1answer
66 views

One vector data layer with different styles in QGIS

I have one layer of vector data that I would like to show in two different styles. Is there a way of accomplishing this in QGIS? I've solved it now by duplicating the the vector layer and add ...
3
votes
2answers
60 views

How to clip vector data from raster data?

I have two files: National land cover data (raster) HUC 8 (vector files of watersheds) Both are national scale but the HUC 8 takes up a larger geographic region than the raster set so I want ...
3
votes
1answer
151 views

Memory Vector Layer Corrupted?

I was working with a large data set that had data for roads, rivers, railways, etc. all together so I decided to break the different data out so I could label it differently on the map and check each ...
3
votes
1answer
382 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
1answer
860 views

Split vector layer by field name

I have a vector layer of 108374 lines I want to split the vector layer into field names of the layer, which is 17. Now, I want to create a new vector layer containing one of the field names e.g. ...
3
votes
1answer
1k views

How to get attributes of overlaying polygon layers by a spatial query?

I am new to QGIS and would like to merge selected data/attributes out of the attribute tables from overlaying vector objects on different vector layers without creating new additional layers. Is ...
3
votes
1answer
986 views

How to remove a vector QgsVectorLayer from QGis python plugin

I managed to add QgsVectorLayer in QGIS through a python plugin, for example: vl = self.iface.addVectorLayer(uri.uri(), layerName, self.dbConn.getProviderName()) But how can I remove it?