Tag Info

Hot answers tagged

4

You could use the raster Calculator something like (raster1>raster2>raster3)*1 OR (raster1>raster3>raster2)*1 OR (raster2>raster3>raster1)*2 OR (raster2>raster1>raster3)*2 OR (raster3>raster2>raster1)*3 OR (raster3>raster1>raster2)*3


2

Thanks for your feedback. I solved this by creating a second polygon around the entire raster extent, to which I assigned a value of zero. Previously, the shapefile only contained a single polygon, hence the cells outside of it had no value. Thus, the new shapefile and raster contain a value of 7.5 at the polygon and 0 elsewhere. (PS I am relatively new to ...


2

I would use a Con() statement in Raster Calculator. Something such as: Con("raster2" / "raster1" > 0.1, 1, 0) This will generate a new raster where values of 1 represent areas where raster2 is > 10% of raster1, and values of 0 is <10%


1

Your QGIS version (precisely the GDAL version it uses) was probably built without HDF5 support. QGIS automatically lists all subdatasets in a HDF5 and lets you chose which one you want to open when you import/open a HDF5 container. You can view all supported formats of your specific install by importing a Raster dataset (add Raster Layer) and using the ...


1

How big is your dataset? You could create a fishnet grid in postgis See here Then you could interpolate your raster with your grid with various tools (gdal/qgis): see here Dont forget to index your grid to optimize speed. Good luck


1

Using the WMS tile service from http://lasigpublic.nerc-lancaster.ac.uk/arcgis/services/LandCoverMap/LCM2007_GB_25m_V2/MapServer/WMSServer can load the Landcover tiles in with QGIS You can save out for local files or create vector file from raster using the grass tools (r.to.vect)


1

The CEH data is a single band greyscale Tiff that has an Esri .lyr file associated with it to style it with the appropriate colours. This is not the most straightforward option for this dataset but it is consistent with other datasets that have multiple colour schemes. Digimap now provide a QML file along with the Layer file to make the data more ...


1

There are a couple of ways to make your contours smoother. Looking at the contours, I suspect it's because the IDW raster is low resolution. Did you use the default size (300x300) when creating this? Resize your IDW raster Probably the easiest way :- take your existing IDW raster and make it bigger with gdal warp (Raster > Projections > Warp). ...


1

If raster fields are not supported for use in an update cursor (see parameter 2 'field_names') you could consider using the Calculate Field (Data Management) tool on your mosaic dataset via arcpy? I just tested on a custom field and it worked as expected.



Only top voted, non community-wiki answers of a minimum length are eligible