0
votes
0answers
23 views

Polygonize only pixel values of 1 from a raster

I have a raster mask that I have created in QGIS (2.2.0) that consist of 0, 1 and nodata values. I would like to end up with a polygon dataset that consist of only the value of one pixels from this ...
0
votes
1answer
39 views

Raster and vector layer in the same CRS don't match

While adding multiple raster and vector layers (and setting them all in CRS WGS84) in QGIS 2.2, they don't seem to overlap. Interestingly enough, only raster files overlap between each other, the same ...
0
votes
1answer
28 views

Difference in vector / raster area measurements

I'm comparing raster and vector distance zones. So I created a line, calculated the Euclidean distance, and reclassified the raster to two zones: from 0-10m and 10-20m. To compare it with vector ...
0
votes
1answer
17 views

how can we convert vector data to raster data in geotools

In my project iam able to open and save shape file. I want to convert this vector data to image format as a tiffimage plese help me the procedure to do the same.
0
votes
0answers
36 views

rasterize table polygon postgis 2.1

I would like to rasterize a postgis 2.1 polygon table, but I don't undersand how to create the SQL function syntax for ST_AsRaster. My vector table has 3 fields: gid, recharge, and geom. The SQL ...
0
votes
0answers
26 views

The difference when querying raster and vector

Hi everyone I have two queries have the same meaning but different results. Why is there a difference?. Queries are true? query 1: query 2:
1
vote
0answers
29 views

MapServer: UV_ANGLE not calculated correctly?

I'm following this example given on the MapServer website. But the angle of the raster is incorrect: The data is my grib files is correct, and should not yield these perfect opposite directions. ...
0
votes
0answers
33 views

Assign a particular projection for un-projected raster/vector files in a folder/sub-folders

We are having 1000's of raster images/vector (shp,tab,dxf) files in a folder/sub folders. Is it possible to check the projection of those and if it is an un-projected one? WGS 1984 has to be ...
0
votes
0answers
30 views

How to raster vector- and shape-files correctly

does anybody know how to convert vector- and shape-files correctly? Doesn't work with tab Raster/convert/vector to shape files. The output always contains strange input-data (wrong and strange ...
2
votes
1answer
65 views

Why do layers appear in the wrong order in QGIS 2.2?

I have a problem with in which order my vector and raster layers appear in QGIS. I have raster that I want to be the background of my other layers (vector). I place the vector layers on top in the ...
1
vote
2answers
40 views

Creating Many Uneven Buffers

Qgis 2.2, Windows 7 I am looking to create buffers around city lights (the raster). Currently, I have simple polygon buffers around the point layer (oecdminusa), but this is not accurately capturing ...
1
vote
0answers
30 views

Calculating Percent Overlap Between Distribution Maps

Hello there, I am currently trying to calculate the percent overlap (basically the total amount of overlap where these two species come into contact) between Lithobates catesbeiana (first image) ...
4
votes
1answer
168 views

How to add tree height values to raster / vector data?

I am new to working with raster data and I am trying to teach myself a few things. I have what I think is a simple problem but I can't seem to figure this one out after a few hours of searching Arc ...
0
votes
0answers
55 views

Turn vector layer in raster layer based on cost

Hy, I am trying to rasterize some vector layers into raster layers and I know this is possible with QGIS by using the rasterize function in the raster menu but I don't know how to do the following ...
1
vote
1answer
65 views

QGIS combine Vectorlayer and Rasterlayer to one shapefile

I have to create some Thematic Maps, especially Choropleth Maps on Matlab. Therefore i've found a shapefile which I can use, but need to draw some lines there. I've imported my shapefile as a Vector ...
1
vote
0answers
35 views

Is there any GRASS command to measure the distance between a point in rastermap and another in vector map?

I have a question about WinGRASS 6.4.3. Is there any GRASS script command to measure the distance between a point in rastermap and another in vector map? I have a raster map and a vector map. Raster ...
0
votes
0answers
24 views

What information, Open Attribute table of stream segment shows?

I have delineated the watershed from DEM data. I have converted the stream segment(raster) to vector lines. In the attribute table of this vector lines, there are 3 columns, CAT, VALUE, LABEL, what ...
0
votes
0answers
37 views

Zonal statistics won't work after re-projecting vector layer

I have qgis 2.0. I want to analyze raster information within a buffer of 30 miles around a vector layer of cities across the world. However, both the raster and the vector are in WGS84. I have no ...
0
votes
1answer
99 views

Polygonize(raster to vector) [closed]

I have been install QGIS 2.0.1.when I use Polygonize (Raster to vector)for convert jpg to shp I get error message such as: C:\windows\123.exe is not recognized as an internal or external ...
0
votes
1answer
34 views

QGIS problems getting layers to line up correctly.

I am trying to add a raster layer and a vector layer to qgis. I have set both of their CSR to NAD83 Oklahoma North State Plane. It doesn't seem to work even with all the files set to those CSR. ...
1
vote
0answers
113 views

How to best intersect vector data with raster data?

I have Open Street Map [OSM] data imported so that I can access the geometry of buildings. I have also loaded SRTM digital height data from NASA from a GeoTIFF raster. I have projected the raster into ...
1
vote
1answer
63 views

Analyzing Raster Data From Vector Layer Buffer

I am using QGIS 2.0. I have satellite images of night-time lights all over earth. I also have a vector shapefile of country boundaries including the largest cities on earth. I want to use buffers to ...
4
votes
1answer
57 views

Simple way to compare ranges and distributions of species, looking for correlation and differences between ranges

As a biology student just beginning with GIS, wondered if someone could give me an idea of what tools to go about using to compare the range of 3 species that have trophic effects on one another. I ...
0
votes
0answers
53 views

GRASS v.to.rast.attr returning null values

I am having a problem converting vectors to rasters in QGIS. As there is no tool where you can directly set the pixel size (instead of the height and width of the new file) in QGIS 1.8 (the version I ...
4
votes
2answers
142 views

Problem overlapping shapefile and vector in R

I want to plot a shapefile over a raster file in R but I can't make them overlap perfectly: the raster appears to be rotated of few degrees counter-clockwise. Is it a problem with the projection? ...
3
votes
0answers
338 views

GDAL polygonize lines

I have a raster file containing roads (left image). I polygonize the raster file with GDAL (see the script below). In the end I like to have vector lines. However GDAL only gives me something like ...
0
votes
0answers
136 views

How to convert Raster to points in MapInfo?

I wanted to convert Raster data to point data in MapInfo.Does there any tool to convert? can anyone help me?
1
vote
1answer
74 views

Raster Data to Polygon [closed]

I need to "translate" raster information to a set of polygons. The raster to polygon tool will not work. I created a fishnet with the same resolution of the raster and converted it to polygons. I now ...
2
votes
1answer
85 views

How to change layer transparency without changing border lines?

I have a raster image of elevations. I have added a vector shapefile that contains local political divisions. I want to keep the elevation colors, but I want to keep the black lines representing the ...
0
votes
0answers
60 views

Using Raster Data in a Vector Layer's table in QGIS 2.01

I have a vector layer containing point data representing floor levels. The attribute table contains: Easting Northing Floor Level I also have several water surface levels representing the ...
0
votes
1answer
697 views

Convert vector data with irregular points (no grid) to raster with QGIS?

I am aware that how to convert a vector layer to a raster layer is a quite frequent problem and that there are many questions and answers dealing with it. However, none was helpful concerning my ...
0
votes
2answers
61 views

v.what.rast trouble in GRASS GIS 6.4.2

I'm facing a problem using the v.what.rast comand. I'm trying to update the vector "canali" which represents some streams, with the slope value for every single point of the lines. The slope values ...
0
votes
2answers
147 views

In grass v.drape works with points but not lines

I got an elevation raster map which I interpolate from a point cloud with v.surf.bspline. Then I digitize a couple of points in a new vector layer. With v.drape I'm able to get a height from the ...
-1
votes
2answers
87 views

Counting raster points within boundaries in another layer?

I know this question is similar to some out there, but I have tried all the 'solutions' and none of them are working for me. I am using the latest version of Qgis. I have a raster layer with ...
0
votes
0answers
69 views

Vector/Raster Intersection - Speedup and replacement for ST_Centroid

I have some raster data which is the altitude above sea level and also some vector data which represents building outlines. What I want to do is grab some buildings outlines and fetch all the raster ...
2
votes
0answers
163 views

How to render a transparent raster layer on top of one or more vector layers with PyQgis?

I been trying to render a map with a 3 vector layers and one raster layer. The idea is that the raster layer should be on top of the other 3 vector layers. The problem is that even when I add the ...
2
votes
2answers
157 views

Convert ASCII Grid Colorized to Raster

I have an ASCII Grid file + .prj file and can visualize this in qGIS. I can colorize it by going to properties and using a Pseudocolor Ramp. However, I want to export this now as a TIFF / Raster. ...
1
vote
0answers
102 views

convert vector with multiple attributes to multiple rasters

I have a vector polygon feature with multiple attributes/fields. Ultimately, I want to convert it to a raster 'stack,' whereby each of the attributes/fields will be a different band of the raster ...
1
vote
1answer
57 views

Area surface doesn't match

I have three municipalities with a total surface of 178 sq km. I want to analyze land cover of those municipalities using both LANDSAT images with a pixel size of 30 x 30 meters and SPOT with a pixel ...
1
vote
0answers
44 views

Align OpenLayer raster with OS Mapping Vector

I have an OS Vector map of a town in Ireland. When I load the Google Satellite Raster from the Open Layers plugin, the results are slightly off, by about 2m, probably due to ariel persepective. I'm ...
0
votes
1answer
99 views

show dwg,as background not as vector

I have some dwg files that i need to show as background on my map, but the DWG is not need to be vector layers, i need only to show them with out the need of using. if i am trying to convert it to ...
3
votes
1answer
56 views

Speeding up raster to point set function

I have written the following function that takes a raster (always non-skewed) and returns a set of points. As I'm executing it millions of times in my queries, I'd like for it to be super-optimized ...
0
votes
1answer
155 views

How to draw a custom map on top of base layer

I'm looking for the easiest way to draw a custom layer and export it as a tile cache. Basically what I would like to be able to do is load a base layer, and then draw objects and annotations on top ...
4
votes
1answer
218 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 ...
3
votes
1answer
231 views

Visualizing Spatial Query

I'm new to GIS applications and trying to figure out what options I have for visualizing spatial query results that combine raster and vector data using OpenLayers/GeoExt/GeoServer/PostGIS. A ...
6
votes
1answer
186 views

Assigning costs to a road network : use raster or vector?

I have a road network in a PostGis database (db_routing). In another database (db_environment), I have some spatial features of the surrounding environment (trees as points and water bodies as ...
3
votes
1answer
20k views

What is the difference between Vector and Raster data models? [duplicate]

From: http://support.esri.com/en/knowledgebase/GISDictionary/term/vector%20data%20model vector data model: [data models] A representation of the world using points, lines, and polygons. Vector ...
1
vote
1answer
372 views

How to invert polygons (or other options for exterior styling)?

I have a shapefile containing many polygons that I want to use to mask a raster. I have tried gdalwarp -cutline <shapefile> -crop_to_cutline -srcnodata -9999 -dstnodata -9999 ...
3
votes
2answers
385 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)
1
vote
1answer
223 views

How to convert a shapefile polygon to raster in C#

Does anybody know a way to convert a polygon (vector) in a shapefile to raster data WITHOUT using ArcGIS Explorer Desktop? Is there a way to do this 'progmatically' in C# (WPF with ArcGIS runtime ...