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

learn more… | top users | synonyms (1)

4
votes
0answers
31 views

Projecting polygon when calculating its area? [duplicate]

I have a broad range of polygons (in vector format and in SpatialPolygonsDataFrame class), some going east-west, others going south-north, while even others span polar regions or very large ranges as ...
3
votes
2answers
1k views

How to find the middle point of a line in QGIS

I am trying to locate the coordinates of the middle point of a line feature in QGIS. I tried searching online but can't seem to find an easy way to do this.
3
votes
2answers
187 views

Is there a shortcut in GRASS for importing vector files?

Is there a keyboard or command shortcut in GRASS for importing vector files? If you know link where I can find maybe whole list of shortcuts for GRASS, that would be awesome. Thank you.
3
votes
5answers
2k views

Export shp spatial data to Corel

Hi I need an printable administration map of a country. I would like to use it in Corel Draw for some colour manipulations and poster printing. I have found the map on http://www.diva-gis.org/ but it ...
3
votes
1answer
2k views

How do I find vector line bearing in QGIS or GRASS?

How can one extract the bearings from a set of lines in a vector file? I'm trying to find the bearings of several straight vector line segments (simplified contour lines, actually) and can't figure ...
3
votes
4answers
3k views

Scriptable way to merge polylines that join in ArcGIS

I have a number of polylines (around 9000), a number of which have one or both ends touching another polyline. I would like to merge these ones together into one polyline - thus reducing the number of ...
3
votes
2answers
195 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
2answers
233 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
288 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
604 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
118 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
77 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
1answer
145 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
130 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
301 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 ? ...
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
106 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
235 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
145 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
59 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
98 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
259 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
483 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
186 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
652 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
2k 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
746 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
214 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
434 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
4answers
7k views

Calculating the minimum distance between points and polygons in QGIS

I have two vector layers: one point and one polygon and I want to calculate the minimum distance of each point from the polygons (ie the distance from the closest point of the closest polygon). Is ...
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
750 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
3answers
127 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
136 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
101 views

What is the fastest way to digitize features on a map?

I'm currently using QGIS basically to trace a bunch of polygons to show individual ponds from google maps. Some of the geometries can be pretty oddly shaped and using the nodal digitizing tool gets ...
3
votes
1answer
185 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
115 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
2answers
417 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
2answers
473 views

Georeference vector linework

I'm new to GIS and a lot of searching didn't answer my specific question so far, so I hope someone can help me here. What I want to do is creating a small web application to visualize election ...
3
votes
1answer
166 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
852 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
340 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
189 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
433 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
900 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
481 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 ...