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

learn more… | top users | synonyms (1)

20
votes
3answers
18k views

How to clip a raster with vector boundaries?

I am using QGIS. I would like to clip a raster precipitation layer using an admin boundary layer that is vector data. However the geoprocessing tools seem to be usable only for vector data. How can ...
9
votes
7answers
5k views

How to georeference a vector layer with control points?

I have a non-georeferenced vector layer that I need to be georeferenced. With raster layers the task is easy and straightforward, but I have no idea what should I do with my vector layer. I have a few ...
10
votes
3answers
13k views

How to convert a vector layer to raster?

In qgis in the raster menu there is an item "convert vector to raster". This behaves strangely - I do not understand how it is supposed to work. I can select a vector file, an attribute and an ...
6
votes
1answer
4k views

How to create a point along a line given distance

I have been given a non-spatial database which contains the names of lines which I have a shapefile for. The database also has names of points and the distance of each point from the origin along the ...
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 ...
19
votes
7answers
6k views

Nearest neighbor between a point layer and a line layer

I've asked this question several times on stackoverflow and irc between #qgis and #postgis and I also tried to code it or implement it my self in postgis with no real answer. Using programming (most ...
7
votes
4answers
3k views

How to split a vector in equal smaller parts in QGIS or similar?

i want to divide a shapefile with many tiles into a lot of smaller tiles. I am searching for a smart solution, because manual edits are out of questions Anyone can help or know a nice function?
29
votes
5answers
53k views

What are Raster and Vector data in GIS and when to use?

What are raster and vector data in the GIS context? In general terms what applications, processes, or analysis are each suited for? (And not suited for!) In answering someone's question today, I ...
18
votes
4answers
13k views

How do I load OSM vector data in QGIS 2.x?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS. This was great (give or take the ...
12
votes
5answers
4k views

Convert GeoPDF to a vector format

I want to convert a GeoPDF that has vectors entity in it to a vector format and preserve the real coordinates of these vectors. The GeoPDF has been exported from ArcMap and has layers in it. I have ...
6
votes
1answer
5k views

Openlayers wfs vector layer

I'm trying to add a vector layer with a wfs layer and it's not working.Can anyone point a solution? Openlayers code: var wfs = new OpenLayers.Layer.Vector( "Stavros Features", ...
11
votes
1answer
2k views

How to access feature classes in file geodatabases with Python and GDAL?

I am trying to access a vector dataset in a ESRI File Geodatabase using Python + GDAL. I have successfully compiled GDAL with the file geodatabase API. The FileGDB driver is working correctly since ...
3
votes
1answer
137 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 ...
4
votes
2answers
6k views

How to connect OpenLayers to PostGIS data?

I have read in OpenLayers how to load KML, GeoJSON etc. vector files in OpenLayers. But how can I connect to PostGIS data. If not, why should I upload my data to PostGIS then instead of directly ...
44
votes
8answers
8k views

How to create Vector Polygons at the same amazing speeds GISCloud is able to render them?

EDIT (outlining new bounty added): I have added the largest bounty possible to this question in hope of getting a very detailed answer. Your solution should outline a step-by-step guide utilizing open ...
2
votes
5answers
3k views

Is there any way to extract coordinates of a road segment using QGIS?

I add my own road vector data on top of Google map using open layers plugin with QGIS. The vector layer is generated using PostgreSQL DB. Is there any way to extract coordinates of a road segment ?
15
votes
2answers
6k views

How to Import SVG into GIS?

I have a PDF file, with a Map as a vector graphic. I want to get this into GIS. (I use ESRI's ArcGIS, but any FOSS solution is also fine). I know that it is not possible to directly get the PDF into ...
3
votes
2answers
897 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
3answers
5k 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 ...
1
vote
2answers
821 views

Is it required to use BBOX strategy with WFS protocol in OpenLayers?

is it a must to use BBOX strategy with WFS protocol in Vector layers ? I cannot display this layer without BBOX strategy: vLayer = new OpenLayers.Layer.Vector("Test", { styleMap: new ...
14
votes
3answers
2k views

Rubber sheeting in GRASS or QGIS

We are in the process of getting our property boundaries corrected and a side effect of this is that we need to move any assets that have been drawn relative to the property boundaries, so they are ...
7
votes
3answers
428 views

Create interactive map with no server

I have managed to build a great web mapping application using tiles created from GeoWebCache and a custom gridset, but I now need to add an overlay to the base maps. The only interactivity I need is a ...
49
votes
6answers
1k 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 ...
19
votes
3answers
587 views

How can we protect GIS data?

I have found a very interesting paper here related to this topic. I just want to have views/ideas from other professional about how we can protect GIS data using Cryptography or Digital Watermarking? ...
4
votes
3answers
2k views

How to calculate orientation of line segments using open source GIS?

I'd like to calculate the orientation of line segments relative to north direction using open source tools. Which tools or functions would you recommend?
4
votes
1answer
1k views

How to use a sld file with Openlayers using OSM data?

My app, made with openlayers, displays building data called from overpass api. var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
4
votes
3answers
3k views

Measuring the distance between lines and points in QGIS

Using QGIS - I have a vector of fault lines. I have point data in the form of a csv which I have also loaded into QGIS. I need to know how far each point is from the nearest fault line then enter ...
9
votes
2answers
325 views

Creating an “average” polygon

I found this thread in the old ESRI forums with the same type of problem I am facing today. The solution to the problem is explained in little detail and since I am not an expert, I was wondering if ...
6
votes
3answers
5k views

Finding nearest raster cell value based on vector point?

I have two layers in ArcGIS: One is a vector point and the other is a raster layer. I want to append the value of the raster data grid to the vector point. The problem is the vector point is away from ...
6
votes
4answers
3k views

How to calculate polygon length and width using open source GIS?

How can I calculate the length and with of polygons using open source tools? By "polygon length" I mean the length of the longest line within the polygon (update: to be correct, I just need the ...
3
votes
1answer
736 views

Why does QGIS hang when I try to create a vector grid?

I am working in open layers plugin.i need to project the satellite data with respect to vector data shape file i am having .for that Andre Joost suggested to create vector grid with vector data ...
11
votes
3answers
5k 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.
5
votes
3answers
3k views

Creating a raster surface of overlaps from vector polygon shapefiles?

Basically what I'm trying to do (in ArcGIS 10) is to compare three vector files in order to create a 'comparison' raster layer. I tried using Data Comparison (under Data Management tools) but it ...
1
vote
2answers
73 views

How to convert Direction Of Travel OSM vectors from a “system” to another?

I have a painful doubt according Direction of Travel (DOT) vectors in OSM data. I'm using ArcGIS10, and a OSM data shapefile. I have a OSM road layer, that has many "Both ways" vectors and many "One ...
7
votes
1answer
184 views

Finding largest number of observations within a given radius

I have the following problem: Given the location of insured properties (say houses with fire insurance), i have to find the largest sum of insured values which fit into a 300m radius. Now, my first ...
3
votes
3answers
202 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 ...
0
votes
1answer
1k views

openlayers- WFS- Cross-domain problem

I got the typical cross-domain problem when access to WFS layer by using openlayers, XMLHttpRequest cannot load http://XXXX/geoserver/ows?service=WFS. Origin http://XXXX is not allowed by ...
14
votes
1answer
18k views

Programmatically creating a vector feature in OpenLayers

I want to create a vector feature, programmatically, on my map. It's supposed to be in the A4-paperformat, for showing a sort of print preview. I've created a control for handling this, but now I'm ...
15
votes
3answers
1k views

What is the wire format for Google's new vector map tiles?

Google recently released new vector cartography for their mobile maps. I'm curious if anyone here has any insight into the wire format they use for transmission? I've experimented with a few formats ...
14
votes
2answers
336 views

Toward a protocol for encoding vector data as image

This is a follow up to this question: How to create Vector Polygons at the same amazing speeds GISCloud is able to render them? In his answer, Yagi outlines a rationale for encoding geographic ...
11
votes
2answers
1k views

Tiling Vector data without losing geometrical and topological information

I am trying to figure out a way to sub-divide a vector based map into smaller blocks. I can tile the map based on different strategies such as q-tree. However, it is unavoidable to cut some polylines ...
6
votes
3answers
1k views

30,000 data points… can this be reasonably served using openlayers?

I'm trying to tackle a web GIS problem and need to figure out the best strategy. I have a map with 30,000 cells on it forming a grid for the province of Alberta. I have a list of data points for ...
10
votes
1answer
389 views

What is the best way to represent bridges using a point vector layer in QGIS?

I'm working on a hiking/biking maps of trails in the woods which sometimes have bridges that need to be shown on the map. I'm trying to figure out the best way to capture and represent them using QGIS ...
4
votes
1answer
263 views

Raster to vector with gaps in Landsat ETM

I need to find size of water area from a raster (jpg) using QGIS 1.8.0-Lisboa. The raster is a Landsat image with gaps of data in it. I used Polygonize, but the output file shows wrong polygon size ...
1
vote
1answer
3k views

Openlayers get coordinates of a circle vector after draw

I have made a openlayers map. I have made two features on the map. Navigate DRAW POLYGON I have made 40 sides to my polygon which turns out to be a circle. After I have drawn my circle I want to ...
10
votes
3answers
14k views

Extract Raster Value into Polygon Attribute

I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of ...
6
votes
4answers
10k views

Customizing Popups in Openlayers

Is it possible to customize the shape of popups in OpenLayers? For example, I am creating a pop-up using the following approach: var popup = new OpenLayers.Popup.FramedCloud( "popup", ...
5
votes
1answer
175 views

Merging and joining two line feature classes while maintaining attributes from both using ArcGIS for Desktop?

I created an event layer using the MAKE ROUTE EVENT LAYER tool based on anticipated scheduled events. The road layer which is the base layer is intact. What I would like to achieve is combine layer ...
2
votes
2answers
592 views

Styling OS Vectormap Local in QGIS?

I am attempting to style Ordnance Survey Vectormap Local on QGIS 1.8.0 by using the styling sheets suplied by Ordnance Survey. The styling sheets are available from the OS website ...
5
votes
1answer
289 views

Help with grid creation in QGIS

I have 235 raster tile 20km x 20km. I need to create a grid to overlay across them...ie the grid itself will be 20km x 20km, with the lines of the grid on the boundaries of the tiles. I am assuming ...