Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Raster is a data format consisting of regular grids of values, usually stored in an image-like format.
22
votes
Accepted
Changing color of raster images based on their data values - gdal
EDIT
gdaldem seems to be the right tool for your task:
Take a raster of your choice (like SRTM as an example)
Create the following text file named col.txt:
0 black
100 blue
200 yellow
300 orange
400 …
13
votes
Accepted
How to reproject a raster file in QGIS with datum transformation?
Gdalwarp is the tool to reproject, you find it in Qgis under Raster->Projektionen->Transformieren
or standalone in OSGEO4W. …
13
votes
Accepted
Transforming geostationary satellite image to lon/lat
Your attempt is designed to fail. If you look at the image, you see the data arranged as a circle, with black triangles in the corners of the square, where the satellite view goes right into orbit. In …
11
votes
Accepted
How to convert raster to point in QGIS
See this tutorial:
http://www.slideshare.net/shencoop/qgis-raster-to-point
If you want a less densified point file, try this tutorial:
http://www.gistutor.com/quantum-gis/19/54-how-to-sample-raster-datasets-using-points-in-quantum-gis-qgis.html …
10
votes
Looking for QGIS equivalent of ArcGIS "Shift" tool
The result is a virtual raster file, which you can edit with a text editor to adjust the parameters if needed. …
10
votes
Accepted
How to find out coordinate system to use pre-1940 Soviet map as raster
For a large-scale map, it does not really matter if the latlong coordinates are based on Pulkovo datum or WGS84. The longitudes seem to be based on Greenwich (not Ferro that was used before).
So you …
9
votes
Accepted
Changing projection of geotiff file (raster data) in QGIS?
Raster > Projections > Warp is dedicated for rasters. The reason behind are the many options you may need for reprojecting (and resampling) raster data. …
9
votes
Accepted
Open and split a 4 channel RGB picture
gdal_translate is able to extract single bands:
gdal_translate -b 1 in.tif out1.tif
gdal_translate -b 2 in.tif out2.tif
gdal_translate -b 3 in.tif out3.tif
gdal_translate -b 4 in.tif out4.tif
Raster - …
7
votes
Accepted
How to clip an Openlayers OSM Background to a Vector Boundary?
This way it works:
unselect your vector data, to show only the Openstreetmap background
File -> Save as Image
Load the image as raster, set EPSG:3857 as CRS
Delete the Openstreetmap background layer … in step 3
Raster -> Extraction -> Clipper check Mask layer with the vector data, and add the result to the canvas
Remove the unclipped raster layer from step 5
EDIT
If you want the clipping for all …
7
votes
Accepted
Re-project raster image from Mercator to Equirectangular
For the Mercator projection, the extent can not reach North and South pole for mathematical reasons.
The standard Google and Openstreetmap mercator projection is limited to 85.011° North and South to …
7
votes
Accepted
Making QGIS interpret coordinates as long-lat instead of lat-long?
I tried the 3b31 hdf file from mirador and found the same orientation as you encountered. So I created some GCP to perform a rotation anti-clockwise:
gdal_translate -of VRT HDF4_SDS:UNKNOWN:"3b31.hdf …
7
votes
How can I crop a raster layer to a hemisphere?
you can convert a WGS84 raster of bluemarble to an ortho projection with this command:
gdalwarp -overwrite -dstnodata 0 -ot Byte -s_srs "+proj=longlat +R=6371000" -t_srs "+proj=ortho +lat_0=30 +lon_0= …
6
votes
Accepted
Save Visible WMS layer to file
You can always save the current view as georeferenced image, and use that with gdal. Although it is only screen resolution and size, maybe not what you want.
Alternatively, you can input WMS data dir …
6
votes
Georeferencing a jpeg in QGIS but the scale is way off
You have to decide whether you want to enter coordinates in lat/lon, or from a background map with a projected CRS (e.g. in metres). For the first choice, you have to set the target CRS to WGS84 (EPSG …
6
votes
Accepted
QGIS Georeferencer plugin TIF format problems
Raster -> Conversion -> PCT to RGB is one way to do that inside QGIS.
gdal_translate -expand rgb is another. …